Skip to content

Commit 1fc8b15

Browse files
authored
Release/0.2.11 (#134)
+semver: patch * Sync Main branch (#115) * Integration test for MinIO & API update for VerifyObject(s)ExistsAsync (#125) * Update packages (#133) Signed-off-by: Victor Chang <vicchang@nvidia.com> Signed-off-by: Victor Chang <vicchang@nvidia.com>
1 parent 6b6c4f3 commit 1fc8b15

35 files changed

+5034
-4114
lines changed

.github/workflows/ci.yml

Lines changed: 52 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,46 @@ env:
2525
TEST_RESULTS: "results/"
2626

2727
jobs:
28+
CodeQL-Analyze:
29+
runs-on: ubuntu-latest
30+
permissions:
31+
actions: read
32+
contents: read
33+
security-events: write
34+
35+
steps:
36+
- name: Checkout repository
37+
uses: actions/checkout@v3
38+
with:
39+
fetch-depth: 0
40+
41+
- uses: actions/setup-dotnet@v3
42+
with:
43+
dotnet-version: "6.0.x"
44+
45+
- name: Enable NuGet cache
46+
uses: actions/cache@v3.0.11
47+
with:
48+
path: ~/.nuget/packages
49+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
50+
restore-keys: |
51+
${{ runner.os }}-nuget
52+
53+
- name: Initialize CodeQL
54+
uses: github/codeql-action/init@v2
55+
with:
56+
languages: csharp
57+
58+
- name: Restore dependencies
59+
run: dotnet restore
60+
working-directory: ./src
61+
62+
- name: Build Solution
63+
run: dotnet build -c ${{ env.BUILD_CONFIG }} --nologo ${{ env.SOLUTION }}
64+
working-directory: ./src
65+
66+
- name: Perform CodeQL Analysis
67+
uses: github/codeql-action/analyze@v2
2868

2969
analyze:
3070
runs-on: ubuntu-latest
@@ -62,11 +102,6 @@ jobs:
62102
restore-keys: |
63103
${{ runner.os }}-nuget
64104
65-
- name: Initialize CodeQL
66-
uses: github/codeql-action/init@v2
67-
with:
68-
languages: ${{ matrix.language }}
69-
70105
- name: Restore dependencies
71106
run: dotnet restore
72107
working-directory: ./src
@@ -75,9 +110,6 @@ jobs:
75110
run: dotnet build -c ${{ env.BUILD_CONFIG }} --nologo ${{ env.SOLUTION }}
76111
working-directory: ./src
77112

78-
- name: Perform CodeQL Analysis
79-
uses: github/codeql-action/analyze@v2
80-
81113
- name: Secret detection
82114
uses: gitleaks/gitleaks-action@v1.6.0
83115

@@ -134,10 +166,11 @@ jobs:
134166
run: dotnet build -c ${{ env.BUILD_CONFIG }} --nologo "${{ env.SOLUTION }}"
135167
working-directory: ./src
136168

169+
- name: Start docker-compose
170+
run: docker compose up -d --wait
171+
working-directory: ./src/Plugins/MinIO/Tests
172+
137173
- name: Test
138-
env:
139-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
140-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
141174
run: find ~+ -type f -name "*.Test.csproj" | xargs -L1 dotnet test -c ${{ env.BUILD_CONFIG }} -v=minimal -r "${{ env.TEST_RESULTS }}" --collect:"XPlat Code Coverage" --settings coverlet.runsettings
142175
working-directory: ./src
143176

@@ -148,7 +181,14 @@ jobs:
148181
run: dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
149182
working-directory: ./src
150183

151-
- uses: codecov/codecov-action@v3
184+
- name: Stop docker-compose
185+
run: |
186+
docker compose down
187+
docker volume rm tests_minio_data
188+
docker volume rm tests_minio_config
189+
working-directory: ./src/Plugins/MinIO/Tests
190+
191+
- uses: codecov/codecov-action@v3.1.1
152192
with:
153193
token: ${{ secrets.CODECOV_TOKEN }}
154194
directory: "src/${{ env.TEST_RESULTS }}"

doc/dependency_decisions.yml

Lines changed: 52 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44
- :who: mocsharp
55
:why: Apache-2.0 (https://github.com/aws/aws-sdk-net/raw/master/License.txt)
66
:versions:
7-
- 3.7.100.6
7+
- 3.7.100.25
88
:when: 2022-08-29 18:11:12.923214877 Z
99
- - :approve
1010
- AWSSDK.S3
1111
- :who: mocsharp
1212
:why: Apache-2.0 (https://github.com/aws/aws-sdk-net/raw/master/License.txt)
1313
:versions:
14-
- 3.7.101.6
14+
- 3.7.101.25
1515
:when: 2022-08-29 18:11:13.354973002 Z
1616
- - :approve
1717
- AWSSDK.SecurityToken
1818
- :who: mocsharp
1919
:why: Apache-2.0 (https://github.com/aws/aws-sdk-net/raw/master/License.txt)
2020
:versions:
21-
- 3.7.100.6
21+
- 3.7.100.25
2222
:when: 2022-08-16 18:11:13.781079769 Z
2323
- - :approve
2424
- Ardalis.GuardClauses
@@ -65,9 +65,9 @@
6565
- - :approve
6666
- Microsoft.CodeCoverage
6767
- :who: mocsharp
68-
:why: MIT (https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
68+
:why: MIT (https://github.com/microsoft/vstest/raw/v17.4.0/LICENSE)
6969
:versions:
70-
- 17.3.2
70+
- 17.4.0
7171
:when: 2022-08-16 18:11:17.245887971 Z
7272
- - :approve
7373
- Microsoft.Extensions.Configuration
@@ -261,9 +261,9 @@
261261
- - :approve
262262
- Microsoft.NET.Test.Sdk
263263
- :who: mocsharp
264-
:why: MIT (https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
264+
:why: MIT (https://github.com/microsoft/vstest/raw/v17.4.0/LICENSE)
265265
:versions:
266-
- 17.3.2
266+
- 17.4.0
267267
:when: 2022-08-16 18:11:29.155295778 Z
268268
- - :approve
269269
- Microsoft.NETCore.Platforms
@@ -296,16 +296,16 @@
296296
- - :approve
297297
- Microsoft.TestPlatform.ObjectModel
298298
- :who: mocsharp
299-
:why: MIT (https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
299+
:why: MIT (https://github.com/microsoft/vstest/raw/v17.4.0/LICENSE)
300300
:versions:
301-
- 17.3.2
301+
- 17.4.0
302302
:when: 2022-08-16 18:11:32.293966383 Z
303303
- - :approve
304304
- Microsoft.TestPlatform.TestHost
305305
- :who: mocsharp
306-
:why: MIT (https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
306+
:why: MIT (https://github.com/microsoft/vstest/raw/v17.4.0/LICENSE)
307307
:versions:
308-
- 17.3.2
308+
- 17.4.0
309309
:when: 2022-08-16 18:11:33.162650175 Z
310310
- - :approve
311311
- Microsoft.Win32.Primitives
@@ -347,7 +347,7 @@
347347
- :who: mocsharp
348348
:why: MIT (https://github.com/JamesNK/Newtonsoft.Json/raw/master/LICENSE.md)
349349
:versions:
350-
- 13.0.1
350+
- 13.0.2
351351
:when: 2022-08-16 18:11:36.170116006 Z
352352
- - :approve
353353
- NuGet.Frameworks
@@ -469,25 +469,25 @@
469469
- 4.3.0
470470
:when: 2022-08-16 18:11:43.670153994 Z
471471
- - :approve
472-
- System.IO.Abstractions
472+
- TestableIO.System.IO.Abstractions
473473
- :who: mocsharp
474-
:why: MIT (https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
474+
:why: MIT ( https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
475475
:versions:
476-
- 17.0.18
477-
:when: 2022-08-16 18:11:44.109277793 Z
476+
- 18.0.1
477+
:when: 2022-08-16 18:11:44.550586685 Z
478478
- - :approve
479-
- System.IO.Abstractions
479+
- TestableIO.System.IO.Abstractions.TestingHelpers
480480
- :who: mocsharp
481481
:why: MIT ( https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
482482
:versions:
483-
- 17.2.3
484-
:when: 2022-08-16 18:11:44.550586685 Z
483+
- 18.0.1
484+
:when: 2022-08-16 18:11:44.984891276 Z
485485
- - :approve
486-
- System.IO.Abstractions.TestingHelpers
486+
- TestableIO.System.IO.Abstractions.Wrappers
487487
- :who: mocsharp
488488
:why: MIT ( https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
489489
:versions:
490-
- 17.2.3
490+
- 18.0.1
491491
:when: 2022-08-16 18:11:44.984891276 Z
492492
- - :approve
493493
- System.IO.Compression
@@ -1147,3 +1147,34 @@
11471147
:versions:
11481148
- 2.4.5
11491149
:when: 2022-08-16 18:12:27.491158618 Z
1150+
- - :approve
1151+
- Dangl.Xunit.Extensions.Ordering
1152+
- :who: mocsharp
1153+
:why: Apache-2.0 (https://github.com/GeorgDangl/Xunit.Extensions.Ordering/raw/develop/LICENSE)
1154+
:versions:
1155+
- 2.1.0
1156+
:when: 2022-11-28 18:12:27.491158618 Z
1157+
- - :approve
1158+
- FluentAssertions
1159+
- :who: mocsharp
1160+
:why: Apache-2.0 (https://github.com/fluentassertions/fluentassertions/raw/develop/LICENSE)
1161+
:versions:
1162+
- 6.8.0
1163+
:when: 2022-11-28 18:12:27.491158618 Z
1164+
- - :approve
1165+
- System.Configuration.ConfigurationManager
1166+
- :who: mocsharp
1167+
:why: MIT ( https://github.com/dotnet/corefx/raw/master/LICENSE.TXT)
1168+
:versions:
1169+
- 4.4.0
1170+
:when: 2022-08-16 23:06:43.335979768 Z
1171+
- - :approve
1172+
- System.Security.Cryptography.ProtectedData
1173+
- :who: mocsharp
1174+
:why: MIT (https://github.com/dotnet/corefx/raw/master/LICENSE.TXT)
1175+
:versions:
1176+
- 4.4.0
1177+
:when: 2022-08-16 23:07:14.759818552 Z
1178+
1179+
1180+

0 commit comments

Comments
 (0)