-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65365cc
commit a345c97
Showing
18 changed files
with
110 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,10 +26,8 @@ jobs: | |
env: | ||
DOCKER_BUILD_RECORD_UPLOAD: false | ||
with: | ||
load: true | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
tags: squidex-local | ||
|
||
test-containers: | ||
runs-on: ubuntu-latest | ||
|
@@ -38,13 +36,13 @@ jobs: | |
- name: Prepare - Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Prepare - Setup DotNet | ||
- name: Prepare - Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Test - TestContainers | ||
run: dotnet test backend/Squidex.sln --filter Category==TestContainers | ||
run: dotnet test backend/Squidex.sln --filter Category=TestContainers | ||
|
||
test-mongo: | ||
runs-on: ubuntu-latest | ||
|
@@ -56,7 +54,7 @@ jobs: | |
- name: Prepare - Setup Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Prepare - Setup DotNet | ||
- name: Prepare - Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
@@ -74,7 +72,7 @@ jobs: | |
with: | ||
load: true | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
cache-to: | ||
tags: squidex-local | ||
|
||
- name: Start Compose | ||
|
@@ -157,7 +155,7 @@ jobs: | |
- name: Prepare - Setup Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Prepare - Setup DotNet | ||
- name: Prepare - Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
@@ -175,7 +173,7 @@ jobs: | |
with: | ||
load: true | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
cache-to: | ||
tags: squidex-local | ||
|
||
- name: Start Compose | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,10 +21,8 @@ jobs: | |
env: | ||
DOCKER_BUILD_RECORD_UPLOAD: false | ||
with: | ||
load: true | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
tags: squidex-local | ||
|
||
test-containers: | ||
runs-on: ubuntu-latest | ||
|
@@ -33,13 +31,13 @@ jobs: | |
- name: Prepare - Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Prepare - Setup DotNet | ||
- name: Prepare - Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Test - TestContainers | ||
run: dotnet test backend/Squidex.sln --filter Category==TestContainers | ||
run: dotnet test backend/Squidex.sln --filter Category=TestContainers | ||
|
||
test-mongo: | ||
runs-on: ubuntu-latest | ||
|
@@ -51,7 +49,7 @@ jobs: | |
- name: Prepare - Setup Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Prepare - Setup DotNet | ||
- name: Prepare - Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
@@ -69,7 +67,7 @@ jobs: | |
with: | ||
load: true | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
cache-to: | ||
tags: squidex-local | ||
|
||
- name: Start Compose | ||
|
@@ -152,7 +150,7 @@ jobs: | |
- name: Prepare - Setup Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Prepare - Setup DotNet | ||
- name: Prepare - Setup dotnet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
@@ -170,7 +168,7 @@ jobs: | |
with: | ||
load: true | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
cache-to: | ||
tags: squidex-local | ||
|
||
- name: Start Compose | ||
|
@@ -253,8 +251,8 @@ jobs: | |
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
platforms: linux/amd64,linux/arm64 | ||
tags: squidex/squidex:${{ env.GITHUB_REF_SLUG }},squidex/squidex:${{ steps.version.outputs._0 }}${{env.STABLE_VERSION == 'true' && ',squidex/squidex:latest'}} | ||
push: true | ||
tags: squidex/squidex:${{ env.GITHUB_REF_SLUG }},squidex/squidex:${{ steps.version.outputs._0 }}${{env.STABLE_VERSION == 'true' && ',squidex/squidex:latest'}} | ||
|
||
- name: Release - Make directories | ||
run: sudo mkdir /build /release | ||
|
@@ -284,6 +282,7 @@ jobs: | |
artifacts: "/release/binaries.zip" | ||
body: ${{ steps.changelog_reader.outputs.changes }} | ||
name: ${{ env.GITHUB_REF_SLUG }} | ||
removeArtifacts: false | ||
replacesArtifacts: true | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'"> | ||
<DefineConstants>$(DefineConstants);INCLUDE_MAGICK;INCLUDE_KAFKA</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(DefineConstants.Contains(INCLUDE_MAGICK))'"> | ||
<IncludeMagick>true</IncludeMagick> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(DefineConstants.Contains(INCLUDE_KAFKA))'"> | ||
<IncludeKafka>true</IncludeKafka> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.