feat: updated geospatial section #6350
This file contains hidden or 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 is the main workflow which will orchestrate the other workflows: | |
| name: main | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - docs/** | |
| pull_request: | |
| paths-ignore: | |
| - docs/** | |
| jobs: | |
| build-containers: | |
| name: Build containers | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-build-containers | |
| cancel-in-progress: true | |
| uses: ./.github/workflows/.build.yml | |
| secrets: inherit | |
| repo-analysis: | |
| name: Repository analysis | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-analysis | |
| cancel-in-progress: true | |
| uses: ./.github/workflows/.analysis.yml | |
| secrets: inherit | |
| analysis-results: | |
| name: Analysis Results | |
| needs: [repo-analysis] | |
| if: always() | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - if: contains(needs.*.result, 'failure') | |
| run: echo "At least one job has failed." && exit 1 | |
| - run: echo "Success!" | |
| test-admin: | |
| name: Run tests for admin app | |
| needs: build-containers | |
| uses: ./.github/workflows/.tests.yml | |
| with: | |
| app: admin | |
| secrets: inherit | |
| test-public: | |
| name: Run tests for public app | |
| needs: build-containers | |
| uses: ./.github/workflows/.tests.yml | |
| with: | |
| app: public | |
| secrets: inherit | |
| test-shared: | |
| name: Run shared tests | |
| needs: build-containers | |
| uses: ./.github/workflows/.shared.yml | |
| review-and-deploy-admin: | |
| if: github.ref_name == 'main' || github.head_ref == 'main' | |
| name: Review and deploy Admin app | |
| needs: [test-admin, test-public, test-shared] | |
| uses: ./.github/workflows/.review-and-deploy.yml | |
| with: | |
| app: admin | |
| tag: ${{ github.sha }} | |
| secrets: inherit | |
| review-and-deploy-public: | |
| if: github.ref_name == 'main' || github.head_ref == 'main' | |
| name: Review and deploy Public app | |
| needs: [test-admin, test-public, test-shared] | |
| uses: ./.github/workflows/.review-and-deploy.yml | |
| with: | |
| app: public | |
| tag: ${{ github.sha }} | |
| secrets: inherit | |
| # DNS (Route 53 child zones for dev/test + NS delegation in the prod parent zone) | |
| # is deployed by the standalone, gated .github/workflows/deploy-dns.yml workflow — | |
| # it runs only when the DNS Terraform changes on main or via manual dispatch, so it | |
| # is no longer applied on every merge to main from here. |