Skip to content

Commit

Permalink
Merge pull request #9 from cash-track/feature/k8s-deploy
Browse files Browse the repository at this point in the history
Update deployment steps
  • Loading branch information
vokomarov authored Aug 8, 2022
2 parents 10847f4 + d25a9ad commit 3e41070
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ jobs:
IMAGE: ${{ env.REPO }}:${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
run: sed -i 's|${{ env.REPO }}:latest|'${IMAGE}'|' $GITHUB_WORKSPACE/deploy/services/mysql/statefulset.yml

- name: Verify declaration
run: cat $GITHUB_WORKSPACE/deploy/services/mysql/statefulset.yml
- name: Update definition
run: kubectl apply -f $GITHUB_WORKSPACE/deploy/services/mysql/

- name: Deploy
run: kubectl apply -f $GITHUB_WORKSPACE/deploy/services/mysql/
run: kubectl -n ${{ env.NAMESPACE }} delete pod mysql-0

- name: Verify deployment
run: kubectl -n ${{ env.NAMESPACE }} rollout status statefulset/mysql
Expand Down

0 comments on commit 3e41070

Please sign in to comment.