Skip to content

CI: Infra

CI: Infra #23

Workflow file for this run

name: "CI: Infra"
on:
workflow_dispatch:
permissions:
id-token: write
contents: read
pull-requests: write
jobs:
hub:
name: Hub
secrets: inherit
uses: ./.github/workflows/_ci-infra-template.yml
with:
environment: prod
tf_state: hub.tfstate
working_dir: infra/deploy/hub
test:
name: Test
secrets: inherit
uses: ./.github/workflows/_ci-infra-template.yml
strategy:
matrix:
environment: [at21, at22, at23, at24, yt01]
with:
environment: ${{ matrix.environment }}
tf_state: spokes.tfstate
working_dir: infra/deploy/spoke
staging:
name: Staging
secrets: inherit
uses: ./.github/workflows/_ci-infra-template.yml
strategy:
matrix:
environment: [tt02]
with:
environment: ${{ matrix.environment }}
tf_state: spokes.tfstate
working_dir: infra/deploy/spoke
prod:
name: Prod
secrets: inherit
uses: ./.github/workflows/_ci-infra-template.yml
strategy:
matrix:
environment: [prod]
with:
environment: ${{ matrix.environment }}
tf_state: spokes.tfstate
working_dir: infra/deploy/spoke