Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .docfx/Dockerfile.docfx
Original file line number Diff line number Diff line change
@@ -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

Expand Down
109 changes: 30 additions & 79 deletions .github/workflows/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
8 changes: 7 additions & 1 deletion .nuget/Codebelt.Bootstrapper.Console/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Codebelt.Bootstrapper.Web/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Codebelt.Bootstrapper.Worker/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Codebelt.Bootstrapper/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -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)

Comment on lines +1 to +6
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Add release notes for version 4.0.1
The new entry correctly sits above 4.0.0 and documents the dependency upgrade.
The leading BOM () on line 1 may interfere with some text processors—consider removing it to ensure clean UTF-8.
Please verify that the Worker package release notes have also been updated to 4.0.1.


🏁 Script executed:

#!/bin/bash
# Verify Worker package release notes contains version 4.0.1 entry.
if ! grep -R "Version 4.0.1" .nuget/Codebelt.Bootstrapper.Worker/PackageReleaseNotes.txt; then
  echo "Error: Missing 4.0.1 entry in Worker package release notes"
  exit 1
fi
echo "Worker package release notes are up to date"

Length of output: 197


Release notes for v4.0.1 are in place and Worker package updated
The new entry sits correctly above 4.0.0 and documents the dependency upgrade. Worker package release notes also include the 4.0.1 entry.

Please remove the leading BOM from line 1 of .nuget/Codebelt.Bootstrapper/PackageReleaseNotes.txt to ensure clean UTF-8.

Locations to update:

  • .nuget/Codebelt.Bootstrapper/PackageReleaseNotes.txt: remove BOM on line 1
🤖 Prompt for AI Agents
In .nuget/Codebelt.Bootstrapper/PackageReleaseNotes.txt at lines 1 to 6, remove
the leading Byte Order Mark (BOM) character from line 1 to ensure the file is
clean UTF-8 and compatible with all text processors. Open the file in a text
editor that can display hidden characters and delete the BOM before the "Version
4.0.1" text, then save the file without BOM encoding.

Version 4.0.0
Availability: .NET 9 and .NET 8

# ALM
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
26 changes: 13 additions & 13 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Codebelt.Extensions.Swashbuckle.AspNetCore" Version="9.0.1" />
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.0" />
<PackageVersion Include="Cuemon.Core" Version="9.0.4" />
<PackageVersion Include="Cuemon.Extensions.Hosting" Version="9.0.4" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageVersion Include="Codebelt.Extensions.Swashbuckle.AspNetCore" Version="9.0.3" />
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="10.0.1" />
<PackageVersion Include="Cuemon.Core" Version="9.0.5" />
<PackageVersion Include="Cuemon.Extensions.Hosting" Version="9.0.5" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
<PackageVersion Include="MinVer" Version="6.0.0" />
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
<PackageVersion Include="coverlet.msbuild" Version="6.0.4" />
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.0" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net9'))">
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="9.0.4" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="9.0.4" />
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="9.0.4" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.4" />
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.4" />
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="9.0.5" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="9.0.5" />
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="9.0.5" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.5" />
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.5" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net8'))">
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="8.0.15" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.15" />
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="8.0.16" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.16" />
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
Expand Down
2 changes: 1 addition & 1 deletion testenvironments.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
Loading