Skip to content

Commit

Permalink
feat(staging-deploy): delete pod for fetching new image
Browse files Browse the repository at this point in the history
  • Loading branch information
hugotiburtino committed Dec 14, 2023
1 parent 658413f commit 9039de4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,14 @@ jobs:
- run: gcloud auth configure-docker
- uses: google-github-actions/setup-gcloud@v2
- run: yarn deploy:images:staging
# TODO: delete pod
deploy-image:
runs-on: ubuntu-latest
needs: docker-image
steps:
- uses: google-github-actions/get-gke-credentials@v2
with:
cluster_name: serlo-staging-cluster
location: europe-west3-a
credentials: ${{ secrets.GCP_STAGING_SERVICE_ACCOUNT }}
- run: kubectl delete pod -l app=server
- run: kubectl delete pod -l app=swr-queue-worker

0 comments on commit 9039de4

Please sign in to comment.