[SELC-8409] feat: migrate selfcare-ms-party-registry-proxy infra #28
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
| name: Code Review - Onboarding MS Infra | |
| permissions: | |
| contents: read | |
| id-token: write | |
| pull-requests: write | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| - releases/* | |
| types: | |
| - opened | |
| - edited | |
| - synchronize | |
| - reopened | |
| - ready_for_review | |
| paths: | |
| - 'infra/resources/onboarding-ms/**' | |
| - '.github/workflows/pr_onboarding_infra_ms.yml' | |
| - '.github/workflows/call_code_review_infra.yml' | |
| jobs: | |
| code_review_dev_ar: | |
| uses: ./.github/workflows/call_code_review_infra.yml | |
| name: '[DEV-AR] Onboarding MS Infra Code Review' | |
| if: ${{ !startsWith(github.ref_name, 'releases/') }} | |
| secrets: inherit | |
| with: | |
| environment: dev | |
| dir: ./infra/resources/onboarding-ms/dev-ar | |
| tf_environment: dev-ar | |
| env_vars: | | |
| TF_VAR_image_tag=sha-$(git rev-parse --short ${{ github.sha }}) | |
| code_review_dev_pnpg: | |
| uses: ./.github/workflows/call_code_review_infra.yml | |
| name: '[DEV-PNPG] Resources Infra Code Review' | |
| if: ${{ !startsWith(github.ref_name, 'releases/') }} | |
| secrets: inherit | |
| with: | |
| environment: dev | |
| dir: ./infra/resources/onboarding-ms/dev-pnpg | |
| tf_environment: dev-pnpg | |
| env_vars: | | |
| TF_VAR_image_tag=sha-$(git rev-parse --short ${{ github.sha }}) | |
| code_review_uat_ar: | |
| uses: ./.github/workflows/call_code_review_infra.yml | |
| name: '[UAT-AR] Resources Infra Code Review' | |
| if: ${{ startsWith(github.ref_name, 'releases/') }} | |
| secrets: inherit | |
| with: | |
| environment: uat | |
| dir: ./infra/resources/onboarding-ms/uat-ar | |
| tf_environment: uat-ar | |
| env_vars: | | |
| TF_VAR_image_tag=sha-$(git rev-parse --short ${{ github.sha }}) | |
| code_review_uat_pnpg: | |
| uses: ./.github/workflows/call_code_review_infra.yml | |
| name: '[UAT-PNPG] Resources Infra Code Review' | |
| if: ${{ startsWith(github.ref_name, 'releases/') }} | |
| secrets: inherit | |
| with: | |
| environment: uat | |
| dir: ./infra/resources/onboarding-ms/uat-pnpg | |
| tf_environment: uat-pnpg | |
| env_vars: | | |
| TF_VAR_image_tag=sha-$(git rev-parse --short ${{ github.sha }}) | |
| code_review_prod_ar: | |
| uses: ./.github/workflows/call_code_review_infra.yml | |
| name: '[PROD-AR] Resources Infra Code Review' | |
| if: ${{ startsWith(github.ref_name, 'releases/') }} | |
| secrets: inherit | |
| with: | |
| environment: prod | |
| dir: ./infra/resources/onboarding-ms/prod-ar | |
| tf_environment: prod-ar | |
| env_vars: | | |
| TF_VAR_image_tag=sha-$(git rev-parse --short ${{ github.sha }}) | |
| code_review_prod_pnpg: | |
| uses: ./.github/workflows/call_code_review_infra.yml | |
| name: '[PROD-PNPG] Resources Infra Code Review' | |
| if: ${{ startsWith(github.ref_name, 'releases/') }} | |
| secrets: inherit | |
| with: | |
| environment: prod | |
| dir: ./infra/resources/onboarding-ms/prod-pnpg | |
| tf_environment: prod-pnpg | |
| env_vars: | | |
| TF_VAR_image_tag=sha-$(git rev-parse --short ${{ github.sha }}) |