From fa720d635b04270ef6e3a97e8305b50fcca45653 Mon Sep 17 00:00:00 2001 From: Christian Nagel Date: Mon, 27 May 2024 18:39:27 +0200 Subject: [PATCH 1/5] rename globalusings.cs --- .../Codebreaker.Data.SqlServer/{Usings.cs => GlobalUsings.cs} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/services/gameapi/Codebreaker.Data.SqlServer/{Usings.cs => GlobalUsings.cs} (100%) diff --git a/src/services/gameapi/Codebreaker.Data.SqlServer/Usings.cs b/src/services/gameapi/Codebreaker.Data.SqlServer/GlobalUsings.cs similarity index 100% rename from src/services/gameapi/Codebreaker.Data.SqlServer/Usings.cs rename to src/services/gameapi/Codebreaker.Data.SqlServer/GlobalUsings.cs From e9a3a3431f10b8df6b8695a057d2c0de60f5e986 Mon Sep 17 00:00:00 2001 From: Christian Nagel Date: Mon, 27 May 2024 18:42:28 +0200 Subject: [PATCH 2/5] cosmos lib - rename globalusings --- .../Codebreaker.Data.Cosmos/{Usings.cs => GlobalUsings.cs} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/services/gameapi/Codebreaker.Data.Cosmos/{Usings.cs => GlobalUsings.cs} (100%) diff --git a/src/services/gameapi/Codebreaker.Data.Cosmos/Usings.cs b/src/services/gameapi/Codebreaker.Data.Cosmos/GlobalUsings.cs similarity index 100% rename from src/services/gameapi/Codebreaker.Data.Cosmos/Usings.cs rename to src/services/gameapi/Codebreaker.Data.Cosmos/GlobalUsings.cs From 64e9d606a0599c730d8d1ea0633b7abf51157ad0 Mon Sep 17 00:00:00 2001 From: Christian Nagel Date: Mon, 27 May 2024 18:43:57 +0200 Subject: [PATCH 3/5] cosmos - bump packages --- .../Codebreaker.Data.Cosmos/Codebreaker.Data.Cosmos.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/gameapi/Codebreaker.Data.Cosmos/Codebreaker.Data.Cosmos.csproj b/src/services/gameapi/Codebreaker.Data.Cosmos/Codebreaker.Data.Cosmos.csproj index 9aa06197..fc2f87cb 100644 --- a/src/services/gameapi/Codebreaker.Data.Cosmos/Codebreaker.Data.Cosmos.csproj +++ b/src/services/gameapi/Codebreaker.Data.Cosmos/Codebreaker.Data.Cosmos.csproj @@ -17,8 +17,8 @@ - - + + From 42fe52a85837baf615ded71056f3a1b07bbf5f32 Mon Sep 17 00:00:00 2001 From: Christian Nagel Date: Mon, 27 May 2024 18:44:25 +0200 Subject: [PATCH 4/5] sql bump packages --- .../Codebreaker.Data.SqlServer.Tests.csproj | 8 ++++---- .../Codebreaker.Data.SqlServer.csproj | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/services/gameapi/Codebreaker.Data.SqlServer.Tests/Codebreaker.Data.SqlServer.Tests.csproj b/src/services/gameapi/Codebreaker.Data.SqlServer.Tests/Codebreaker.Data.SqlServer.Tests.csproj index f20e1225..5d2411b5 100644 --- a/src/services/gameapi/Codebreaker.Data.SqlServer.Tests/Codebreaker.Data.SqlServer.Tests.csproj +++ b/src/services/gameapi/Codebreaker.Data.SqlServer.Tests/Codebreaker.Data.SqlServer.Tests.csproj @@ -10,13 +10,13 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/services/gameapi/Codebreaker.Data.SqlServer/Codebreaker.Data.SqlServer.csproj b/src/services/gameapi/Codebreaker.Data.SqlServer/Codebreaker.Data.SqlServer.csproj index 909a0a68..13ad4302 100644 --- a/src/services/gameapi/Codebreaker.Data.SqlServer/Codebreaker.Data.SqlServer.csproj +++ b/src/services/gameapi/Codebreaker.Data.SqlServer/Codebreaker.Data.SqlServer.csproj @@ -18,8 +18,8 @@ - - + + From 58cb6344206d7b88b293d00a65170f4430c06c6e Mon Sep 17 00:00:00 2001 From: Christian Nagel Date: Mon, 27 May 2024 18:50:48 +0200 Subject: [PATCH 5/5] sqlserver cosmos github actions --- .../codebreaker-lib-cosmos-stable.yml | 55 +++++++++++++++++++ .../codebreaker-lib-sqlserver-stable.yml | 55 +++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 .github/workflows/codebreaker-lib-cosmos-stable.yml create mode 100644 .github/workflows/codebreaker-lib-sqlserver-stable.yml diff --git a/.github/workflows/codebreaker-lib-cosmos-stable.yml b/.github/workflows/codebreaker-lib-cosmos-stable.yml new file mode 100644 index 00000000..8806f344 --- /dev/null +++ b/.github/workflows/codebreaker-lib-cosmos-stable.yml @@ -0,0 +1,55 @@ +name: Cosmos stable lib + +on: + + # Allow manually trigger + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + env: + solutionfile-path: src/Codebreaker.Backend.Cosmos.sln + projectfile-path: src/services/gameapi/Codebreaker.Data.Cosmos/Codebreaker.Data.Cosmos.csproj + artifact-name: codebreaker-cosmos-stable + + steps: + - name: Checkout to the branch + uses: actions/checkout@v4 + with: + ref: main + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + - name: Build the library + run: dotnet build -c Release ${{ env.solutionfile-path }} + + - name: Run the unit tests + run: dotnet test ${{ env.solutionfile-path }} + + - name: Create a Package + run: dotnet pack -c Release ${{ env.projectfile-path }} -o packages + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: ${{ env.artifact-name }} + path: packages/* + retention-days: 30 + + publishdevops: + uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-azuredevops.yml@main + needs: build + with: + artifact-name: codebreaker-cosmos-stable + secrets: inherit + + publishnuget: + uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-nugetserver.yml@main + needs: publishdevops + with: + artifact-name: codebreaker-cosmos-stable + secrets: inherit diff --git a/.github/workflows/codebreaker-lib-sqlserver-stable.yml b/.github/workflows/codebreaker-lib-sqlserver-stable.yml new file mode 100644 index 00000000..a9cbd76f --- /dev/null +++ b/.github/workflows/codebreaker-lib-sqlserver-stable.yml @@ -0,0 +1,55 @@ +name: SqlServer stable lib + +on: + + # Allow manually trigger + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + env: + solutionfile-path: src/Codebreaker.Backend.SqlServer.sln + projectfile-path: src/services/gameapi/Codebreaker.Data.SqlServer/Codebreaker.Data.SqlServer.csproj + artifact-name: codebreaker-sqlserver-stable + + steps: + - name: Checkout to the branch + uses: actions/checkout@v4 + with: + ref: main + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + - name: Build the library + run: dotnet build -c Release ${{ env.solutionfile-path }} + + - name: Run the unit tests + run: dotnet test ${{ env.solutionfile-path }} + + - name: Create a Package + run: dotnet pack -c Release ${{ env.projectfile-path }} -o packages + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: ${{ env.artifact-name }} + path: packages/* + retention-days: 30 + + publishdevops: + uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-azuredevops.yml@main + needs: build + with: + artifact-name: codebreaker-sqlserver-stable + secrets: inherit + + publishnuget: + uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-nugetserver.yml@main + needs: publishdevops + with: + artifact-name: codebreaker-sqlserver-stable + secrets: inherit