diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7d3d0e1d..d5d06f00 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -137,6 +137,7 @@ jobs: --set controllers.image.repository=$HARBOR_IMAGE --set proxy.image.repository=$HARBOR_IMAGE \ --set controllers.imagePullSecrets[0].name=harbor-secret --set proxy.image.imagePullSecrets[0].name=harbor-secret --debug kubectl wait pods -n kuik-system -l app.kubernetes.io/instance=kube-image-keeper --for condition=Ready --timeout=90s + helm history kube-image-keeper -n kuik-system - name: Run end-to-end tests run: | @@ -144,8 +145,10 @@ jobs: kubectl create deploy nginx --image=nginx:stable-alpine --replicas=2 kubectl rollout status deploy nginx kubectl wait deployment nginx --for condition=Available=True --timeout=30s - echo "kubectl get cachedimages" + echo "kubectl get cachedimage" kubectl get cachedimages + echo "kubectl get repository" + kubectl get repository if [ $(kubectl get cachedimages docker.io-library-nginx-stable-alpine -o json | jq ".status.isCached") ]; then if [ $(kubectl get cachedimages docker.io-library-nginx-stable-alpine -o json | jq ".status.usedBy.count") -eq 2 ]; @@ -264,6 +267,7 @@ jobs: kubectl rollout status ds kube-image-keeper-proxy -n kuik-system kubectl get po -n kuik-system kubectl wait pods -n kuik-system -l app.kubernetes.io/instance=kube-image-keeper --for condition=Ready --timeout=90s + helm history kube-image-keeper -n kuik-system - name: Run end-to-end tests run: | @@ -271,8 +275,10 @@ jobs: kubectl create deploy nginx --image=nginx:stable-alpine --replicas=2 kubectl rollout status deploy nginx kubectl wait deployment nginx --for condition=Available=True --timeout=30s - echo "kubectl get cachedimages" + echo "kubectl get cachedimage" kubectl get cachedimages + echo "kubectl get repository" + kubectl get repository if [ $(kubectl get cachedimages docker.io-library-nginx-stable-alpine -o json | jq ".status.isCached") ]; then if [ $(kubectl get cachedimages docker.io-library-nginx-stable-alpine -o json | jq ".status.usedBy.count") -eq 2 ];