Skip to content

Commit

Permalink
Remove local container
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 151cf56 commit 6ed2e38
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/ci-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,33 +94,19 @@ jobs:
cluster_name: kind
config: ./kind/config.yaml

- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Load local images into cluster
run: |
docker pull ghcr.io/chronosphereio/calyptia-vivo@${{ needs.build-container-images.outputs.digest }}
kind load docker-image ghcr.io/chronosphereio/calyptia-vivo@${{ needs.build-container-images.outputs.digest }}
shell: bash

- name: Apply local service using image from this run
run: |
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 --timeout=2s; do
kubectl get all
kubectl describe deployment calyptia-vivo
sleep 2
done
echo
Expand Down

0 comments on commit 6ed2e38

Please sign in to comment.