update staging canary kubernetes tmpl to turn on canary for 5.1 (#368) #28
Workflow file for this run
This file contains 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: Deploy to Production | |
on: | |
push: | |
tags: | |
- production-release | |
workflow_dispatch: | |
jobs: | |
db_migration_production: | |
name: Production DB Migration | |
uses: zooniverse/ci-cd/.github/workflows/db_migration.yaml@main | |
with: | |
app_name: talk | |
environment: production | |
commit_id: ${{ github.sha }} | |
secrets: | |
creds: ${{ secrets.AZURE_AKS }} | |
deploy_production: | |
name: Deploy to Production | |
uses: zooniverse/ci-cd/.github/workflows/deploy_app.yaml@main | |
needs: db_migration_production | |
with: | |
app_name: talk | |
repo_name: talk-api | |
commit_id: ${{ github.sha }} | |
environment: production | |
secrets: | |
creds: ${{ secrets.AZURE_AKS }} | |
slack_notification: | |
name: Slack notification | |
uses: zooniverse/ci-cd/.github/workflows/slack_notification.yaml@main | |
needs: deploy_production | |
if: always() | |
with: | |
commit_id: ${{ github.sha }} | |
job_name: Deploy to Production / deploy_app | |
status: ${{ needs.deploy_production.result }} | |
title: "Talk API Production deploy & migration complete" | |
title_link: "https://zooniverse.org/talk" | |
secrets: | |
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} |