Skip to content

Commit

Permalink
Update mc commands (#328)
Browse files Browse the repository at this point in the history
* Update mc commands

Signed-off-by: Victor Chang <[email protected]>

* Update dependencies

Signed-off-by: Victor Chang <[email protected]>

* Remove windows build

Signed-off-by: Victor Chang <[email protected]>

* Update minio client for testing

Signed-off-by: Victor Chang <[email protected]>

* Update dependency versions

Signed-off-by: Victor Chang <[email protected]>

* Update 3rd party licenses and copyright

Signed-off-by: Victor Chang <[email protected]>

* Update licenses

Signed-off-by: Victor Chang <[email protected]>

---------

Signed-off-by: Victor Chang <[email protected]>
  • Loading branch information
mocsharp authored Jun 12, 2024
1 parent 2361edd commit e11f5a3
Show file tree
Hide file tree
Showing 80 changed files with 354 additions and 328 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: © 2022 MONAI Consortium
# SPDX-FileCopyrightText: © 2022-2024 MONAI Consortium
# SPDX-License-Identifier: Apache License 2.0

name: ci
Expand Down Expand Up @@ -43,15 +43,15 @@ jobs:
dotnet-version: "8.0.x"

- name: Enable NuGet cache
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: csharp

Expand All @@ -64,7 +64,7 @@ jobs:
working-directory: ./src

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3

analyze:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
tools: licensefinder

- name: Enable NuGet cache
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
Expand All @@ -117,23 +117,23 @@ jobs:
run: license_finder -r

- name: Check License Header
uses: apache/skywalking-eyes@v0.5.0
uses: apache/skywalking-eyes@v0.6.0

unit-test:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'

- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"

- name: Enable NuGet cache
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
fail-fast: true

permissions:
Expand All @@ -226,7 +226,7 @@ jobs:
dotnet-version: "8.0.x"

- name: Enable NuGet cache
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
Expand Down Expand Up @@ -298,7 +298,7 @@ jobs:
needs: [build, unit-test]
if: ${{ ! ( github.event.inputs.nuget ) && ! ( contains(github.ref, 'refs/heads/main') ) }}
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
id: download

- name: List artifacts
Expand All @@ -323,7 +323,7 @@ jobs:
needs: [build, unit-test]
if: ${{ github.event.inputs.nuget }}
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
id: download

- name: List artifacts
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
with:
fetch-depth: 0

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
id: download

- name: List artifacts
Expand Down
2 changes: 2 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ header:
license:
spdx-id: Apache-2.0
copyright-owner: MONAI Consortium
copyright-year: '2021-2024'


paths:
- 'src'
Expand Down
58 changes: 29 additions & 29 deletions doc/dependency_decisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@
- :who: mocsharp
:why: Apache-2.0 (https://github.com/aws/aws-sdk-net/raw/master/License.txt)
:versions:
- 3.7.300.22
- 3.7.304.15
:when: 2022-08-29 18:11:12.923214877 Z
- - :approve
- AWSSDK.S3
- :who: mocsharp
:why: Apache-2.0 (https://github.com/aws/aws-sdk-net/raw/master/License.txt)
:versions:
- 3.7.304.11
- 3.7.309.3
:when: 2022-08-29 18:11:13.354973002 Z
- - :approve
- AWSSDK.SecurityToken
- :who: mocsharp
:why: Apache-2.0 (https://github.com/aws/aws-sdk-net/raw/master/License.txt)
:versions:
- 3.7.300.23
- 3.7.300.105
:when: 2022-08-16 18:11:13.781079769 Z
- - :approve
- Ardalis.GuardClauses
- :who: mocsharp
:why: MIT (https://github.com/ardalis/GuardClauses.Analyzers/raw/master/LICENSE)
:versions:
- 4.2.0
- 4.5.0
:when: 2022-08-16 18:11:14.642522140 Z
- - :approve
- Castle.Core
Expand Down Expand Up @@ -60,7 +60,7 @@
- :who: mocsharp
:why: MIT (https://github.com/microsoft/vstest/raw/v17.7.0/LICENSE)
:versions:
- 17.8.0
- 17.10.0
:when: 2022-08-16 18:11:17.245887971 Z
- - :approve
- Microsoft.Extensions.Configuration.Abstractions
Expand All @@ -74,14 +74,14 @@
- :who: mocsharp
:why: MIT (https://github.com/dotnet/runtime/raw/main/LICENSE.TXT)
:versions:
- 7.0.0
- 8.0.0
:when: 2022-08-16 18:11:22.090772006 Z
- - :approve
- Microsoft.Extensions.DependencyInjection.Abstractions
- :who: mocsharp
:why: MIT (https://github.com/dotnet/runtime/raw/main/LICENSE.TXT)
:versions:
- 8.0.0
- 8.0.1
:when: 2022-08-16 18:11:22.090772006 Z
- - :approve
- Microsoft.Extensions.Diagnostics.Abstractions
Expand All @@ -95,14 +95,14 @@
- :who: mocsharp
:why: MIT (https://github.com/dotnet/aspnetcore/raw/main/LICENSE.txt)
:versions:
- 8.0.0
- 8.0.6
:when: 2022-08-29 18:11:22.090772006 Z
- - :approve
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
- :who: mocsharp
:why: MIT (https://github.com/dotnet/aspnetcore/raw/main/LICENSE.txt)
:versions:
- 8.0.0
- 8.0.6
:when: 2022-08-29 18:11:22.090772006 Z
- - :approve
- Microsoft.Extensions.FileProviders.Abstractions
Expand Down Expand Up @@ -131,14 +131,14 @@
- :who: mocsharp
:why: MIT (https://github.com/dotnet/runtime/raw/main/LICENSE.TXT)
:versions:
- 8.0.0
- 8.0.1
:when: 2022-08-29 18:11:25.167886026 Z
- - :approve
- Microsoft.Extensions.Options
- :who: mocsharp
:why: MIT (https://github.com/dotnet/runtime/raw/main/LICENSE.TXT)
:versions:
- 8.0.0
- 8.0.2
:when: 2022-08-16 18:11:27.836230472 Z
- - :approve
- Microsoft.Extensions.Primitives
Expand All @@ -152,7 +152,7 @@
- :who: mocsharp
:why: MIT (https://github.com/microsoft/vstest/raw/v17.7.0/LICENSE)
:versions:
- 17.8.0
- 17.10.0
:when: 2022-08-16 18:11:29.155295778 Z
- - :approve
- Microsoft.NETCore.Platforms
Expand All @@ -173,14 +173,14 @@
- :who: mocsharp
:why: MIT (https://github.com/microsoft/vstest/raw/v17.7.0/LICENSE)
:versions:
- 17.8.0
- 17.10.0
:when: 2022-08-16 18:11:32.293966383 Z
- - :approve
- Microsoft.TestPlatform.TestHost
- :who: mocsharp
:why: MIT (https://github.com/microsoft/vstest/raw/v17.7.0/LICENSE)
:versions:
- 17.8.0
- 17.10.0
:when: 2022-08-16 18:11:33.162650175 Z
- - :approve
- Microsoft.Win32.Primitives
Expand All @@ -194,7 +194,7 @@
- :who: mocsharp
:why: Apache-2.0 (https://github.com/minio/minio-dotnet/raw/master/LICENSE)
:versions:
- 6.0.1
- 6.0.2
:when: 2022-08-16 18:11:34.443742604 Z
- - :approve
- Moq
Expand Down Expand Up @@ -335,14 +335,14 @@
- :who: samrooke
:why: MIT (https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
:versions:
- 20.0.4
- 21.0.2
:when: 2022-12-14 12:28:00.728481602 Z
- - :approve
- System.IO.Abstractions.TestingHelpers
- :who: samrooke
:why: MIT (https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
:versions:
- 20.0.4
- 21.0.2
:when: 2022-12-14 12:28:00.728481602 Z
- - :approve
- runtime.native.System.IO.Compression
Expand Down Expand Up @@ -377,7 +377,7 @@
- :who: mocsharp
:why: MIT (https://raw.githubusercontent.com/dotnet/runtime/main/LICENSE.TXT)
:versions:
- 7.0.0
- 8.0.0
:when: 2023-08-10 20:50:14.759818552 Z
- - :approve
- System.Linq
Expand Down Expand Up @@ -664,28 +664,28 @@
- :who: samrooke
:why: MIT (https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
:versions:
- 20.0.4
- 21.0.2
:when: 2022-12-14 12:28:00.728481602 Z
- - :approve
- TestableIO.System.IO.Abstractions.TestingHelpers
- :who: samrooke
:why: MIT (https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
:versions:
- 20.0.4
- 21.0.2
:when: 2022-12-14 12:28:00.728481602 Z
- - :approve
- TestableIO.System.IO.Abstractions.Wrappers
- :who: samrooke
:why: MIT (https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
:versions:
- 20.0.4
- 21.0.2
:when: 2022-12-14 12:28:00.728481602 Z
- - :approve
- coverlet.collector
- :who: mocsharp
:why: MIT (https://github.com/coverlet-coverage/coverlet/raw/master/LICENSE)
:versions:
- 6.0.0
- 6.0.2
:when: 2022-08-16 18:12:11.244463651 Z
- - :approve
- runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl
Expand Down Expand Up @@ -797,7 +797,7 @@
- :who: mocsharp
:why: Apache-2.0 ( https://raw.githubusercontent.com/xunit/xunit/master/license.txt)
:versions:
- 2.6.3
- 2.8.1
:when: 2022-08-16 21:40:29.166018542 Z
- - :approve
- xunit.abstractions
Expand All @@ -811,40 +811,40 @@
- :who: mocsharp
:why: Apache-2.0 ( https://raw.githubusercontent.com/xunit/xunit.analyzers/master/LICENSE)
:versions:
- 1.7.0
- 1.14.0
:when: 2022-08-16 21:40:30.047067134 Z
- - :approve
- xunit.assert
- :who: mocsharp
:why: Apache-2.0 ( https://raw.githubusercontent.com/xunit/xunit/master/license.txt)
:versions:
- 2.6.3
- 2.8.1
:when: 2022-08-16 21:40:30.526718458 Z
- - :approve
- xunit.core
- :who: mocsharp
:why: Apache-2.0 ( https://raw.githubusercontent.com/xunit/xunit/master/license.txt)
:versions:
- 2.6.3
- 2.8.1
:when: 2022-08-16 21:40:30.973515441 Z
- - :approve
- xunit.extensibility.core
- :who: mocsharp
:why: Apache-2.0 ( https://raw.githubusercontent.com/xunit/xunit/master/license.txt)
:versions:
- 2.6.3
- 2.8.1
:when: 2022-08-16 21:40:31.401607230 Z
- - :approve
- xunit.extensibility.execution
- :who: mocsharp
:why: Apache-2.0 ( https://raw.githubusercontent.com/xunit/xunit/master/license.txt)
:versions:
- 2.6.3
- 2.8.1
:when: 2022-08-16 21:40:31.845685693 Z
- - :approve
- xunit.runner.visualstudio
- :who: mocsharp
:why: MIT ( https://licenses.nuget.org/MIT)
:versions:
- 2.5.5
- 2.8.1
:when: 2022-08-16 21:40:32.294717110 Z
4 changes: 2 additions & 2 deletions src/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* Copyright 2022 MONAI Consortium
* Copyright 2021-2024 MONAI Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
4 changes: 2 additions & 2 deletions src/Plugins/AWSS3/AWS3StorageService.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* Copyright 2021-2022 MONAI Consortium
* Copyright 2021-2024 MONAI Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
Loading

0 comments on commit e11f5a3

Please sign in to comment.