From 33dfc49ba7fdff5174d94a2da15016fbdf473fb6 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Thu, 29 May 2025 16:15:42 +0200 Subject: [PATCH 1/6] :package: updated NuGet package definition --- .nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt b/.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt index ccf0ad0..efe67b9 100644 --- a/.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.SharedKernel/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 0.4.3 +Availability: .NET 9 and .NET 8 +  +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) +  Version: 0.4.2 Availability: .NET 9 and .NET 8   From 92223d8eb4bdb2d8e88f0b8f3c2a527e94df76e3 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Thu, 29 May 2025 16:16:04 +0200 Subject: [PATCH 2/6] :construction_worker: transitioned to reusable workflows --- .github/workflows/pipelines.yml | 95 ++++++++------------------------- 1 file changed, 22 insertions(+), 73 deletions(-) diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index 8729d0b..28ae644 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -23,92 +23,41 @@ permissions: jobs: build: - name: 🛠️ Build - runs-on: ubuntu-22.04 + name: call-build strategy: matrix: configuration: [Debug, Release] - framework: [net9.0,net8.0] - outputs: - version: ${{ steps.minver-calculate.outputs.version }} - steps: - - name: Checkout - uses: codebeltnet/git-checkout@v1 - - - name: Install .NET - uses: codebeltnet/install-dotnet@v1 - with: - includePreview: true - - - name: Install MinVer - uses: codebeltnet/dotnet-tool-install-minver@v1 - - - id: minver-calculate - name: Calculate Version - uses: codebeltnet/minver-calculate@v2 - - - name: Download sharedkernel.snk file - uses: codebeltnet/gcp-download-file@v1 - with: - serviceAccountKey: ${{ secrets.GCP_TOKEN }} - bucketName: ${{ secrets.GCP_BUCKETNAME }} - objectName: sharedkernel.snk - - - name: Restore Dependencies - uses: codebeltnet/dotnet-restore@v2 - - - name: Build for ${{ matrix.framework }} (${{ matrix.configuration }}) - uses: codebeltnet/dotnet-build@v2 - with: - configuration: ${{ matrix.configuration }} - framework: ${{ matrix.framework }} + uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v2 + with: + configuration: ${{ matrix.configuration }} + strong-name-key-filename: sharedkernel.snk + secrets: inherit pack: - name: 📦 Pack - runs-on: ubuntu-22.04 + name: call-pack + needs: [build] strategy: matrix: configuration: [Debug, Release] - needs: [build] - steps: - - name: Install .NET - uses: codebeltnet/install-dotnet@v1 - with: - includePreview: true - - - name: Pack for ${{ matrix.configuration }} - uses: codebeltnet/dotnet-pack@v2 - with: - configuration: ${{ matrix.configuration }} - uploadPackedArtifact: true - version: ${{ needs.build.outputs.version }} + uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v1 + with: + configuration: ${{ matrix.configuration }} + upload-packed-artifact: true + version: ${{ needs.build.outputs.version }} test: - name: 🧪 Test + name: call-test needs: [build] strategy: fail-fast: false matrix: - os: [ubuntu-22.04, windows-2022] + os: [ubuntu-24.04, windows-2022] configuration: [Debug, Release] - runs-on: ${{ matrix.os }} - steps: - - name: Checkout - uses: codebeltnet/git-checkout@v1 - - - name: Install .NET - uses: codebeltnet/install-dotnet@v1 - with: - includePreview: true - - - name: Install .NET Tool - Report Generator - uses: codebeltnet/dotnet-tool-install-reportgenerator@v1 - - - name: Test with ${{ matrix.configuration }} build - uses: codebeltnet/dotnet-test@v3 - with: - configuration: ${{ matrix.configuration }} - buildSwitches: -p:SkipSignAssembly=true + uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v1 + with: + configuration: ${{ matrix.configuration }} + runs-on: ${{ matrix.os }} + build-switches: -p:SkipSignAssembly=true sonarcloud: name: call-sonarcloud @@ -138,8 +87,8 @@ jobs: deploy: if: github.event_name != 'pull_request' name: call-nuget - needs: [build,pack,test,sonarcloud,codecov,codeql] - uses: codebeltnet/jobs-nuget/.github/workflows/default.yml@v1 + needs: [build, pack, test, sonarcloud, codecov, codeql] + uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v1 with: version: ${{ needs.build.outputs.version }} environment: Production From e165867aaf7486a9747cd2e02c3af4fcded4dcc6 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Thu, 29 May 2025 16:16:14 +0200 Subject: [PATCH 3/6] :speech_balloon: updated community health pages --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d449f8..5a385b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), For more details, please refer to `PackageReleaseNotes.txt` on a per assembly basis in the `.nuget` folder. +## [0.4.3] - 2025-05-29 + +This is a service update that focuses on package dependencies. + ## [0.4.2] - 2025-04-19 This is a service update that focuses on package dependencies. From 3bc4adc5b74388a662c8177e6d8f6526939eec45 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Thu, 29 May 2025 16:16:27 +0200 Subject: [PATCH 4/6] :arrow_up: bump dependencies --- .docfx/Dockerfile.docfx | 6 +++--- Directory.Packages.props | 14 +++++++------- testenvironments.json | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.docfx/Dockerfile.docfx b/.docfx/Dockerfile.docfx index 9c57bc7..b36d6cb 100644 --- a/.docfx/Dockerfile.docfx +++ b/.docfx/Dockerfile.docfx @@ -1,14 +1,14 @@ -FROM nginx:1.27.3-alpine AS base +FROM --platform=$BUILDPLATFORM nginx:1.27.5-alpine AS base RUN rm -rf /usr/share/nginx/html/* -FROM codebeltnet/docfx:2.77.0 AS build +FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.3 AS build ADD [".", "docfx"] RUN cd docfx; \ docfx build -FROM base AS final +FROM nginx:1.27.5-alpine AS final WORKDIR /usr/share/nginx/html COPY --from=build /build/docfx/wwwroot /usr/share/nginx/html diff --git a/Directory.Packages.props b/Directory.Packages.props index 4414339..c069c4c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,17 +3,17 @@ true - - - + + + - - - + + + - + \ No newline at end of file diff --git a/testenvironments.json b/testenvironments.json index 095d438..7092f35 100644 --- a/testenvironments.json +++ b/testenvironments.json @@ -9,7 +9,7 @@ { "name": "Docker-Ubuntu", "type": "docker", - "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.408-9.0.203" + "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.409-9.0.300" } ] } From 5403b413295d50f272039dd1418c87fde9f69db1 Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Thu, 29 May 2025 19:03:29 +0200 Subject: [PATCH 5/6] pack v2 --- .github/workflows/pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index 28ae644..1a7d822 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -39,10 +39,9 @@ jobs: strategy: matrix: configuration: [Debug, Release] - uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v1 + uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v2 with: configuration: ${{ matrix.configuration }} - upload-packed-artifact: true version: ${{ needs.build.outputs.version }} test: From 52db0c12c1d749f579181c4e3f428f1ae51c900f Mon Sep 17 00:00:00 2001 From: Michael Mortensen Date: Thu, 29 May 2025 23:03:24 +0200 Subject: [PATCH 6/6] testv2 --- .github/workflows/pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index 1a7d822..7e17af8 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -52,7 +52,7 @@ jobs: matrix: os: [ubuntu-24.04, windows-2022] configuration: [Debug, Release] - uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v1 + uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v2 with: configuration: ${{ matrix.configuration }} runs-on: ${{ matrix.os }}