Skip to content

Commit

Permalink
update deploy_staging template to build with Dockerfile-next set repl…
Browse files Browse the repository at this point in the history
…icas for canary to 0 (#381)
  • Loading branch information
yuenmichelle1 authored Nov 4, 2024
1 parent d44d192 commit bbad13c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
uses: zooniverse/ci-cd/.github/workflows/build_and_push_image.yaml@main
with:
repo_name: talk-api
commit_id: ${{ github.sha }}
commit_id: ${{ github.sha }}-next
file: Dockerfile.rails-next
latest: true

db_migration_staging:
Expand All @@ -22,7 +23,7 @@ jobs:
with:
app_name: talk-api
environment: staging
commit_id: ${{ github.sha }}
commit_id: ${{ github.sha }}-next
secrets:
creds: ${{ secrets.AZURE_AKS }}

Expand All @@ -33,7 +34,7 @@ jobs:
with:
app_name: talk-api
repo_name: talk-api
commit_id: ${{ github.sha }}
commit_id: ${{ github.sha }}-next
environment: staging
secrets:
creds: ${{ secrets.AZURE_AKS }}
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/deployment-staging-canary.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
app: talk-staging-canary-app
spec:
replicas: 1
replicas: 0
selector:
matchLabels:
app: talk-staging-canary-app
Expand Down

0 comments on commit bbad13c

Please sign in to comment.