From 6ed2e38caf92b6f1cf4fb64a99735178e8413562 Mon Sep 17 00:00:00 2001 From: Patrick Stephens Date: Mon, 26 Feb 2024 16:15:49 +0000 Subject: [PATCH] Remove local container Signed-off-by: Patrick Stephens --- .github/workflows/ci-containers.yaml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/ci-containers.yaml b/.github/workflows/ci-containers.yaml index b787d87f..df62c905 100644 --- a/.github/workflows/ci-containers.yaml +++ b/.github/workflows/ci-containers.yaml @@ -94,25 +94,11 @@ 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 @@ -120,7 +106,7 @@ jobs: 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