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/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index e43921e..147fd70 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -23,93 +23,45 @@ permissions: jobs: build: - name: 🛠️ Build - runs-on: ubuntu-24.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 bootstrapper.snk file - uses: codebeltnet/gcp-download-file@v1 - with: - serviceAccountKey: ${{ secrets.GCP_TOKEN }} - bucketName: ${{ secrets.GCP_BUCKETNAME }} - objectName: bootstrapper.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@v1 + with: + projects: src/**/*.csproj + configuration: ${{ matrix.configuration }} + strong-name-key-filename: bootstrapper.snk + secrets: + GCP_TOKEN: ${{ secrets.GCP_TOKEN }} + GCP_BUCKETNAME: ${{ secrets.GCP_BUCKETNAME }} pack: - name: 📦 Pack - runs-on: ubuntu-24.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-24.04, windows-2022] configuration: [Debug, Release] - runs-on: ${{ matrix.os }} - timeout-minutes: 15 - 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: + projects: test/**/*.csproj + configuration: ${{ matrix.configuration }} + runs-on: ${{ matrix.os }} + build-switches: -p:SkipSignAssembly=true sonarcloud: name: call-sonarcloud @@ -138,15 +90,14 @@ jobs: deploy: if: github.event_name != 'pull_request' - name: 🚀 Deploy v${{ needs.build.outputs.version }} - runs-on: ubuntu-22.04 + name: call-nuget needs: [build, pack, test, sonarcloud, codecov, codeql] - environment: Production + uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v1 + with: + version: ${{ needs.build.outputs.version }} + environment: Production + configuration: ${{ inputs.configuration == '' && 'Release' || inputs.configuration }} permissions: contents: write packages: write - steps: - - uses: codebeltnet/nuget-push@v1 - with: - token: ${{ secrets.NUGET_TOKEN }} - configuration: ${{ inputs.configuration == '' && 'Release' || inputs.configuration }} + secrets: inherit diff --git a/.nuget/Codebelt.Bootstrapper.Console/PackageReleaseNotes.txt b/.nuget/Codebelt.Bootstrapper.Console/PackageReleaseNotes.txt index 8d82edb..10249ae 100644 --- a/.nuget/Codebelt.Bootstrapper.Console/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Bootstrapper.Console/PackageReleaseNotes.txt @@ -1,4 +1,10 @@ -Version 4.0.0 +Version 4.0.1 +Availability: .NET 9 and .NET 8 +  +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) +  +Version 4.0.0 Availability: .NET 9 and .NET 8   # ALM diff --git a/.nuget/Codebelt.Bootstrapper.Web/PackageReleaseNotes.txt b/.nuget/Codebelt.Bootstrapper.Web/PackageReleaseNotes.txt index ded1826..9c1bbe7 100644 --- a/.nuget/Codebelt.Bootstrapper.Web/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Bootstrapper.Web/PackageReleaseNotes.txt @@ -1,4 +1,10 @@ -Version 4.0.0 +Version 4.0.1 +Availability: .NET 9 and .NET 8 +  +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) +  +Version 4.0.0 Availability: .NET 9 and .NET 8   # ALM diff --git a/.nuget/Codebelt.Bootstrapper.Worker/PackageReleaseNotes.txt b/.nuget/Codebelt.Bootstrapper.Worker/PackageReleaseNotes.txt index b63b882..a693c20 100644 --- a/.nuget/Codebelt.Bootstrapper.Worker/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Bootstrapper.Worker/PackageReleaseNotes.txt @@ -1,4 +1,10 @@ -Version 4.0.0 +Version 4.0.1 +Availability: .NET 9 and .NET 8 +  +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) +  +Version 4.0.0 Availability: .NET 9 and .NET 8   # ALM diff --git a/.nuget/Codebelt.Bootstrapper/PackageReleaseNotes.txt b/.nuget/Codebelt.Bootstrapper/PackageReleaseNotes.txt index 266b80e..c2c36aa 100644 --- a/.nuget/Codebelt.Bootstrapper/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Bootstrapper/PackageReleaseNotes.txt @@ -1,4 +1,10 @@ -Version 4.0.0 +Version 4.0.1 +Availability: .NET 9 and .NET 8 +  +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) +  +Version 4.0.0 Availability: .NET 9 and .NET 8   # ALM diff --git a/CHANGELOG.md b/CHANGELOG.md index 813554e..1e860c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ 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. + +## [4.0.1] - 2025-05-25 + +This is a service update that focuses on package dependencies. + ## [4.0.0] - 2025-04-12 This major release revisits and refines some of the earlier design decisions to offer a more consistent and flexible API. It also brings forward improvements to reliability and maintainability. diff --git a/Directory.Packages.props b/Directory.Packages.props index c916437..c00a220 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,27 +3,27 @@ true - - - - - + + + + + - + - - - - - + + + + + - - + + 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" } ] }