-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Squidex/squidex
- Loading branch information
Showing
280 changed files
with
4,087 additions
and
1,487 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 |
---|---|---|
|
@@ -22,27 +22,26 @@ jobs: | |
uses: rlespinasse/[email protected] | ||
|
||
- name: Prepare - Setup QEMU | ||
uses: docker/setup-qemu-action@v3.0.0 | ||
uses: docker/setup-qemu-action@v3.2.0 | ||
|
||
- name: Prepare - Setup Docker Buildx | ||
uses: docker/setup-buildx-action@v3.3.0 | ||
uses: docker/setup-buildx-action@v3.6.1 | ||
|
||
- name: Prepare - Setup Node | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Build - BUILD | ||
uses: docker/build-push-action@v5.4.0 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
load: true | ||
build-args: "SQUIDEX__RUNTIME__VERSION=7.0.0-dev-${{ env.BUILD_NUMBER }}" | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
tags: squidex-local | ||
|
||
- name: Test - Start Compose | ||
run: docker-compose up -d | ||
run: docker compose up -d | ||
working-directory: tools/TestSuite | ||
|
||
- name: Test - RUN | ||
|
@@ -96,22 +95,22 @@ jobs: | |
working-directory: './tools/e2e' | ||
|
||
- name: Test - Run Playwright Tests | ||
run: npx playwright test | ||
run: npx playwright test --retries=3 | ||
working-directory: './tools/e2e' | ||
env: | ||
BASE__URL: http://localhost:8080 | ||
|
||
- name: Test - Upload Playwright Artifacts | ||
if: always() | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: playwright-report | ||
path: tools/e2e/playwright-report/ | ||
retention-days: 30 | ||
|
||
- name: Test - Upload Screenshots | ||
if: failure() | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
path: | | ||
tools/TestSuite/TestSuite.ApiTests/bin/Debug/net8.0/screenshots/ | ||
|
@@ -125,7 +124,7 @@ jobs: | |
|
||
- name: Test - Cleanup | ||
if: always() | ||
run: docker-compose down | ||
run: docker compose down | ||
working-directory: tools/TestSuite | ||
|
||
- name: Publish - Remove unnecessary files | ||
|
@@ -142,14 +141,14 @@ jobs: | |
- name: Publish - Login to Docker Hub | ||
if: github.event_name != 'pull_request' | ||
uses: docker/login-action@v3.2.0 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Publish - Build & Push for Multi-Platforms | ||
if: github.event_name != 'pull_request' | ||
uses: docker/build-push-action@v5.4.0 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
build-args: "SQUIDEX__RUNTIME__VERSION=7.0.0-dev-${{ env.BUILD_NUMBER }}" | ||
cache-from: type=gha | ||
|
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 |
---|---|---|
|
@@ -12,26 +12,26 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Prepare - Setup QEMU | ||
uses: docker/setup-qemu-action@v3.0.0 | ||
uses: docker/setup-qemu-action@v3.2.0 | ||
|
||
- name: Prepare - Setup Docker Buildx | ||
uses: docker/setup-buildx-action@v3.3.0 | ||
uses: docker/setup-buildx-action@v3.6.1 | ||
|
||
- name: Prepare - Setup Node | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Build - BUILD | ||
uses: docker/build-push-action@v5.4.0 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
load: true | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
tags: squidex-local | ||
|
||
- name: Test - Start Compose | ||
run: docker-compose up -d | ||
run: docker compose up -d | ||
working-directory: tools/TestSuite | ||
|
||
- name: Test - Install Playwright Dependencies | ||
|
@@ -50,7 +50,7 @@ jobs: | |
|
||
- name: Test - Upload Playwright Artifacts | ||
if: always() | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: snapshots | ||
path: tools/e2e/snapshots/ | ||
|
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 |
---|---|---|
|
@@ -17,18 +17,18 @@ jobs: | |
uses: rlespinasse/[email protected] | ||
|
||
- name: Prepare - Setup QEMU | ||
uses: docker/setup-qemu-action@v3.0.0 | ||
uses: docker/setup-qemu-action@v3.2.0 | ||
|
||
- name: Prepare - Setup Docker Buildx | ||
uses: docker/setup-buildx-action@v3.3.0 | ||
uses: docker/setup-buildx-action@v3.6.1 | ||
|
||
- name: Prepare - Setup Node | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Build - BUILD | ||
uses: docker/build-push-action@v5.4.0 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
load: true | ||
build-args: "SQUIDEX__BUILD__VERSION=${{ env.GITHUB_REF_SLUG }},SQUIDEX__RUNTIME__VERSION=${{ env.GITHUB_REF_SLUG }}" | ||
|
@@ -37,7 +37,7 @@ jobs: | |
tags: squidex-local | ||
|
||
- name: Test - Start Compose | ||
run: docker-compose up -d | ||
run: docker compose up -d | ||
working-directory: tools/TestSuite | ||
|
||
- name: Test - RUN | ||
|
@@ -91,14 +91,14 @@ jobs: | |
working-directory: './tools/e2e' | ||
|
||
- name: Test - Run Playwright Tests | ||
run: npx playwright test | ||
run: npx playwright test --retries=3 | ||
working-directory: './tools/e2e' | ||
env: | ||
BASE__URL: http://localhost:8080 | ||
|
||
- name: Test - Upload Playwright Artifacts | ||
if: always() | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: playwright-report | ||
path: tools/e2e/playwright-report/ | ||
|
@@ -113,7 +113,7 @@ jobs: | |
|
||
- name: Test - Cleanup | ||
if: always() | ||
run: docker-compose down | ||
run: docker compose down | ||
working-directory: tools/TestSuite | ||
|
||
- name: Publish - Remove unnecessary files | ||
|
@@ -136,19 +136,20 @@ jobs: | |
fi | ||
- name: Publish - Login to Docker Hub | ||
uses: docker/login-action@v3.2.0 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Publish - Build & Push for Multi-Platforms | ||
uses: docker/build-push-action@v5.3.0 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
build-args: "SQUIDEX__BUILD__VERSION=${{ env.GITHUB_REF_SLUG }},SQUIDEX__RUNTIME__VERSION=${{ env.GITHUB_REF_SLUG }}" | ||
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 | ||
|
||
- name: Release - Make directories | ||
run: sudo mkdir /build /release | ||
|
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.