Skip to content

AT environments: f616e01c4f3dcd07fa1f9ab5c8bef9538e5b660a #1168

AT environments: f616e01c4f3dcd07fa1f9ab5c8bef9538e5b660a

AT environments: f616e01c4f3dcd07fa1f9ab5c8bef9538e5b660a #1168

Workflow file for this run

name: "Deploy: AT"
run-name: "AT environments: ${{ github.sha }}"
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
containerize:
name: "Containerize"
if: github.event_name != 'workflow_dispatch' || github.ref == 'refs/heads/main'
uses: "./.github/workflows/template-build-and-push-container.yml"
with:
tag: ${{ github.sha }}
deploy-main:
name: "Environment"
needs: containerize
strategy:
fail-fast: false
matrix:
environment: [AT22, AT23, AT24]
uses: "./.github/workflows/template-deploy-container.yml"
secrets: inherit
with:
environment: ${{ matrix.environment }}
tag: ${{ github.sha }}
sleep-before-tests:
name: Sleep for 180 seconds
runs-on: ubuntu-latest
needs: deploy-main
steps:
- run: sleep 180
playwright-e2e-tests:
name: "Playwright E2E-tests"
uses: "./.github/workflows/template-playwright.yml"
needs: [deploy-main, sleep-before-tests]
secrets: inherit
strategy:
fail-fast: false
matrix:
environment: [AT23]
project: [e2e-tests]
with:
environment: ${{ matrix.environment }}
project: ${{ matrix.project }}
# playwright-accessibility-tests:
# name: 'Playwright Accessibility-tests'
# secrets: inherit
# uses: './.github/workflows/template-playwright.yml'
# needs: [deploy-main, sleep-before-tests]
# strategy:
# fail-fast: false
# matrix:
# environment: [AT22]
# project: [accessibility-tests]
# with:
# environment: ${{ matrix.environment }}
# project: ${{ matrix.project }}