Skip to content

Commit

Permalink
feat: Add e2esmoke and full regression to workflow (WIP) (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
fibble authored Sep 12, 2024
1 parent 51b0f09 commit e0090fa
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -295,15 +295,33 @@ jobs:
pull-requests: write
secrets: inherit

smoke-test:
name: Run Smoke Tests
needs: terraform-env-dev
uses: dvsa/vol-functional-tests/.github/workflows/e2eSmoke.yaml@main
with:
platform_env: dev
secrets: inherit

full-regression-test:
name: Run Full Regression Tests
needs: smoke-test
if: ${{ needs.smoke-test.result == 'success' }}
uses: dvsa/vol-functional-tests/.github/workflows/e2eFullRegression.yaml@main
with:
platform_env: dev
secrets: inherit

terraform-env-int:
name: Environment (int)
if: ${{ always() && !cancelled() && !failure() && needs.terraform-env-dev.result == 'success' }}
if: ${{ always() && !cancelled() && !failure() && needs.terraform-env-dev.result == 'success' && needs.full-regression-test.result == 'success' }}
concurrency:
group: terraform-environment-int
needs:
- get-version
- orchestrator
- terraform-env-dev
- full-regression-test
uses: ./.github/workflows/deploy-environment.yaml
with:
environment: int
Expand Down

0 comments on commit e0090fa

Please sign in to comment.