diff --git a/.github/workflows/account-mailer-cd.yml b/.github/workflows/account-mailer-cd.yml index 4a050e23e6..8ff4cb3cc9 100644 --- a/.github/workflows/account-mailer-cd.yml +++ b/.github/workflows/account-mailer-cd.yml @@ -6,6 +6,7 @@ on: - main - feature* - hotfix* + - release* paths: - "queue_services/account-mailer/**" - "auth-api/src/auth_api/models/**" @@ -19,10 +20,17 @@ on: required: true type: choice options: - - dev - - test - - sandbox - - prod + - "dev" + - "test" + - "sandbox" + - "prod" + redeploy: + description: "Redeploy Application" + required: true + type: choice + options: + - "false" + - "true" jobs: account-mailer-cd: uses: bcgov/bcregistry-sre/.github/workflows/backend-cd.yaml@main @@ -30,6 +38,7 @@ jobs: target: ${{ inputs.target }} app_name: "account-mailer" working_directory: "./queue_services/account-mailer" + redeploy: ${{ inputs.redeploy }} secrets: WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }} GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} diff --git a/.github/workflows/auth-api-cd.yml b/.github/workflows/auth-api-cd.yml index 5e777bbcef..a8792a4e37 100644 --- a/.github/workflows/auth-api-cd.yml +++ b/.github/workflows/auth-api-cd.yml @@ -6,6 +6,7 @@ on: - main - feature* - hotfix* + - release* paths: - "auth-api/**" workflow_dispatch: @@ -15,10 +16,17 @@ on: required: true type: choice options: - - dev - - test - - sandbox - - prod + - "dev" + - "test" + - "sandbox" + - "prod" + redeploy: + description: "Redeploy Application" + required: true + type: choice + options: + - "false" + - "true" jobs: auth-api-cd: @@ -27,6 +35,7 @@ jobs: target: ${{ inputs.target }} app_name: "auth-api" working_directory: "./auth-api" + redeploy: ${{ inputs.redeploy }} secrets: WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }} GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} diff --git a/.github/workflows/auth-queue-cd.yml b/.github/workflows/auth-queue-cd.yml index 10354e24a7..506d9a27d0 100644 --- a/.github/workflows/auth-queue-cd.yml +++ b/.github/workflows/auth-queue-cd.yml @@ -6,6 +6,7 @@ on: - main - feature* - hotfix* + - release* paths: - "queue_services/auth-queue/**" - "auth-api/src/auth_api/models/**" @@ -19,10 +20,17 @@ on: required: true type: choice options: - - dev - - test - - sandbox - - prod + - "dev" + - "test" + - "sandbox" + - "prod" + redeploy: + description: "Redeploy Application" + required: true + type: choice + options: + - "false" + - "true" jobs: auth-queue-cd: @@ -31,6 +39,7 @@ jobs: target: ${{ inputs.target }} app_name: "auth-queue" working_directory: "./queue_services/auth-queue" + redeploy: ${{ inputs.redeploy }} secrets: WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }} GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} diff --git a/.github/workflows/auth-web-cd.yml b/.github/workflows/auth-web-cd.yml index 2d630103bf..08bea44a34 100644 --- a/.github/workflows/auth-web-cd.yml +++ b/.github/workflows/auth-web-cd.yml @@ -6,6 +6,7 @@ on: - main - feature* - hotfix* + - release* paths: - "auth-web/**" workflow_dispatch: @@ -15,10 +16,17 @@ on: required: true type: choice options: - - dev - - test - - sandbox - - prod + - "dev" + - "test" + - "sandbox" + - "prod" + redeploy: + description: "Redeploy Application" + required: true + type: choice + options: + - "false" + - "true" jobs: account-ui-cd: @@ -27,6 +35,7 @@ jobs: target: ${{ inputs.target }} app_name: "account-ui" working_directory: "./auth-web" + redeploy: ${{ inputs.redeploy }} secrets: WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }} GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}