diff --git a/.ci/run_tests_minikube_linux.sh b/.ci/run_tests_minikube_linux.sh index 3f1e853dd..6da80cc60 100755 --- a/.ci/run_tests_minikube_linux.sh +++ b/.ci/run_tests_minikube_linux.sh @@ -30,7 +30,14 @@ helm install devfile-registry ./deploy/chart/devfile-registry --set global.ingre # Wait for the registry to become ready kubectl wait deploy/devfile-registry --for=condition=Available --timeout=600s if [ $? -ne 0 ]; then - kubectl get pods + # Return the logs of the 3 containers in case the condition is not met + echo "devfile-registry container logs:" + kubectl logs -l app=devfile-registry --container devfile-registry + echo "oci-registry container logs:" + kubectl logs -l app=devfile-registry --container oci-registry + echo "registry-viewer container logs:" + kubectl logs -l app=devfile-registry --container registry-viewer + # Return the description of every pod kubectl describe pods exit 1 fi diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 62415d8a9..ea91d058b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -129,13 +129,13 @@ jobs: with: go-version: 1.18 - name: Setup Minikube - uses: manusa/actions-setup-minikube@v2.7.1 + uses: manusa/actions-setup-minikube@3856c6fa039819f1c8e7e248b1fc5a8564e354c9 # v2.9.0 with: - minikube version: 'v1.21.0' + minikube version: 'v1.31.2' kubernetes version: 'v1.21.0' driver: 'docker' github token: ${{ secrets.GITHUB_TOKEN }} - start args: '--addons=ingress' + start args: '--addons=ingress --memory 4096 --cpus 2' - name: Run the devfile registry integration tests run: | export GOPATH=$(go env GOPATH)