Skip to content

Commit

Permalink
ci: Auto upgrade Operator & Agent in staging
Browse files Browse the repository at this point in the history
  • Loading branch information
flemzord committed Dec 22, 2023
1 parent 207fbbb commit c8a3b50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ jobs:
- run: kubectl config use-context arn:aws:eks:eu-west-1:955332203423:cluster/staging-eu-west-1-hosting
- name: Deploy in staging
run: |
kubectl patch deployment -n formance-system operator -p "{\"spec\":{\"template\": {\"spec\": {\"containers\": [{\"image\": \"ghcr.io/formancehq/operator:${GITHUB_SHA}\", \"name\": \"operator\" }]}}}}" --type=merge
kubectl patch deployment -n formance-system agent -p "{\"spec\":{\"template\": {\"spec\": {\"containers\": [{\"image\": \"ghcr.io/formancehq/agent:${GITHUB_SHA}\", \"name\": \"agent\" }]}}}}" --type=merge
kubectl patch Versions default -p "{\"spec\":{\"ledger\": \"${GITHUB_SHA}\"}}" --type=merge
kubectl patch Versions default -p "{\"spec\":{\"payments\": \"${GITHUB_SHA}\"}}" --type=merge
kubectl patch Versions default -p "{\"spec\":{\"auth\": \"${GITHUB_SHA}\"}}" --type=merge
Expand Down

0 comments on commit c8a3b50

Please sign in to comment.