Merge pull request #103 from svc-design/codex/fix-iac-pipeline-infrastructure-resources.yml

Fix baseline trigger configuration in infrastructure workflows
This commit is contained in:
shenlan 2025-09-29 23:30:02 +08:00 committed by GitHub
commit 842473ae70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 3 deletions

View File

@ -57,6 +57,12 @@ jobs:
config: config/vultr/
workflow: iac-pipeline-vultr-landingzone-baseline.yaml
action: output
uses: ./.github/workflows/${{ matrix.workflow }}
with:
deploy_action: ${{ matrix.action || inputs.deploy_action }}
deploy_dry_run: ${{ inputs.deploy_dry_run }}
config_path: ${{ matrix.config }}
secrets: inherit
verify-baseline-status:
if: inputs.deploy_action != 'destroy'
name: Verify Alicloud baseline readiness
@ -105,8 +111,6 @@ jobs:
secrets:
SSH_PUBLIC_KEY: ${{ secrets.SSH_PUBLIC_KEY }}
GCP_CREDENTIALS_JSON: ${{ secrets.GCP_CREDENTIALS_JSON }}
env:
STATE: "create"
setup-monitor-cluster:
name: Configure monitor exporters

View File

@ -30,15 +30,18 @@ jobs:
- provider: Alicloud
config: config/alicloud/
workflow: iac-pipeline-alicloud-landingzone-baseline.yaml
action: output
- provider: AWS
config: config/aws-global/
workflow: iac-pipeline-aws-landingzone-baseline.yaml
action: output
- provider: Vultr
config: config/vultr/
workflow: iac-pipeline-vultr-landingzone-baseline.yaml
action: output
uses: ./.github/workflows/${{ matrix.workflow }}
with:
deploy_action: ${{ inputs.deploy_action }}
deploy_action: ${{ matrix.action || inputs.deploy_action }}
deploy_dry_run: ${{ inputs.deploy_dry_run }}
config_path: ${{ matrix.config }}
secrets: inherit