Skip to content

Commit

Permalink
Add rollout phase for discord bot
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeluigi committed Aug 23, 2024
1 parent c58b0d0 commit a52d27e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,11 @@ jobs:
working-directory: ${{ steps.migration-artifacts.outputs.download-path }}
run: |
export KUBECONFIG=spellbookkubeconfig.yaml
kubectl rollout restart deployment/spellbook-api -n spellbook
timeout ${KUBECTL_TIMEOUT} kubectl rollout status deployment/spellbook-api -n spellbook
declare -a deployments=("spellbook-api" "spellbook-discord-bot")
for deployment in "${deployments[@]}"; do
kubectl rollout restart deployment/$deployment -n spellbook
timeout ${KUBECTL_TIMEOUT} kubectl rollout status deployment/$deployment -n spellbook
done
open-api:
Expand Down

0 comments on commit a52d27e

Please sign in to comment.