Skip to content

Commit

Permalink
change inputs again
Browse files Browse the repository at this point in the history
  • Loading branch information
chasinandrew committed Oct 3, 2023
1 parent e4d04b6 commit 5df8471
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deployment-prod-canary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Canary Deployment to Cloud Run
on:
workflow_dispatch:
inputs:
Expand All @@ -20,7 +21,7 @@ on:
- 75
- 90
- 100
old_revision_percentage:
existing_revision_percentage:
type: choice
required: true
default: '90'
Expand All @@ -32,7 +33,7 @@ on:
- 75
- 90
- 100
old_revision_name:
existing_revision_name:
type: string
required: true
description: Old Cloud Run revision name.
Expand Down Expand Up @@ -72,8 +73,8 @@ jobs:
export HCA_PROJECT_ID="${{ vars.hca_project_id }}"
export TCO_ID="${{ vars.tco_id }}"
export ENVIRONMENT="${{ inputs.environment }}"
export NEW_REVISION_PERCENTAGE=${{ vars.service_name }}-${{ github.sha }}
export EXISTING_REVISION=${{ inputs.existing_revision }}
export NEW_REVISION_PERCENTAGE=${{ inputs.new_revision_percentage }}
export EXISTING_REVISION=${{ inputs.existing_revision_name }}
export EXISTING_REVISION_PERCENTAGE=${{ inputs.existing_revision_percentage }}
envsubst < ./service-yaml/container-canary.yaml > container-canary.yaml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deployment-prod-release.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Production Release to Cloud Run
on:
release:
types: [published]
Expand Down

0 comments on commit 5df8471

Please sign in to comment.