update checks

This commit is contained in:
Elio Bischof
2025-08-02 06:54:32 +02:00
parent 2d02c5c4bc
commit df6bda8941
2 changed files with 17 additions and 7 deletions

View File

@@ -59,6 +59,15 @@ jobs:
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Lint and Unit Test All JavaScript Code - name: Lint and Unit Test All JavaScript Code
run: npm run devcontainer:lint-unit run: npm run devcontainer:lint-unit
- name: Fix Failures
if: failure()
run: |
echo "Reproduce this check locally:"
echo "npm run devcontainer:lint-unit"
echo "If you have pnpm installed, most linting errors can be fixed automatically:"
echo "pnpm turbo lint:fix"
echo "In other cases, you can open the dev container called \"Turbo Lint and Unit Tests\"."
echo "You will have the same environment as the pipeline check as well as some guidance on how to fix the errors."
core: core:
name: core name: core

View File

@@ -21,17 +21,18 @@ jobs:
run: npm install -g @devcontainers/cli@0.80.0 run: npm install -g @devcontainers/cli@0.80.0
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Pull Login Build Image
run: docker pull ${{ inputs.login_build_image }}
- name: Run Integration Tests against the Login and a Mocked Zitadel API - name: Run Integration Tests against the Login and a Mocked Zitadel API
run: npm run devcontainer:integration:login:up run: npm run devcontainer:integration:login
env: env:
LOGIN_TAG: ${{ inputs.login_build_image }} LOGIN_TAG: ${{ inputs.login_build_image }}
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1
BUILDKIT_PROGRESS: plain - name: Fix Failures
# Add verbose logging if: failure()
COMPOSE_LOG_LEVEL: DEBUG run: |
DEVCONTAINER_LOG_LEVEL: trace echo "Reproduce this check locally:"
echo "LOGIN_TAG=${{ inputs.login_build_image }} npm run devcontainer:integration:login"
echo "To fix the failures, open the dev container called \"Login Integration Tests\"."
echo "You will have the same environment as the pipeline check as well as some guidance on how to fix the errors."
- name: Show Compose Status - name: Show Compose Status
if: failure() if: failure()
run: docker compose --file .devcontainer/base/docker-compose.yaml --file .devcontainer/login-integration-ci/docker-compose.yaml ps run: docker compose --file .devcontainer/base/docker-compose.yaml --file .devcontainer/login-integration-ci/docker-compose.yaml ps