Skip to content

Commit

Permalink
Wait for apply
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Stephens <[email protected]>
  • Loading branch information
patrick-stephens committed Feb 26, 2024
1 parent 3e9fec1 commit 5083475
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
build-args: "vivo_base_path=/vivo"
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
push: true
load: false
target: production
Expand Down Expand Up @@ -112,14 +112,15 @@ jobs:
sed -i 's|image: calyptia/vivo|image: ghcr.io/chronosphereio/calyptia-vivo@${{ needs.build-container-images.outputs.digest }}|g' ./vivo-deployment.yaml
cat ./vivo-deployment.yaml
kubectl apply -f ./vivo-deployment.yaml
sleep 5
shell: bash

- name: Check it is running ok
timeout-minutes: 5
run: |
echo "Waiting for deployment to complete..."
until kubectl rollout status deployment calyptia-vivo; do
echo -n "."
kubectl get all
sleep 2
done
echo
Expand Down

0 comments on commit 5083475

Please sign in to comment.