From ca176d14ab9b3713871d57e223d434ce8b977bca Mon Sep 17 00:00:00 2001 From: yuenmichelle1 Date: Fri, 13 Dec 2024 14:01:59 -0600 Subject: [PATCH] test staging running ruby 2.7 built with Dockerfile-next (#386) --- .github/workflows/deploy_staging.yml | 7 ++++--- kubernetes/deployment-staging-canary.tmpl | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_staging.yml b/.github/workflows/deploy_staging.yml index 173dc3df..0e82f4dc 100644 --- a/.github/workflows/deploy_staging.yml +++ b/.github/workflows/deploy_staging.yml @@ -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: @@ -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 }} @@ -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 }} diff --git a/kubernetes/deployment-staging-canary.tmpl b/kubernetes/deployment-staging-canary.tmpl index 3ef5e2c5..45d7917e 100644 --- a/kubernetes/deployment-staging-canary.tmpl +++ b/kubernetes/deployment-staging-canary.tmpl @@ -5,7 +5,7 @@ metadata: labels: app: talk-staging-canary-app spec: - replicas: 1 + replicas: 0 selector: matchLabels: app: talk-staging-canary-app