diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index de1e599..306ebcf 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -54,12 +54,14 @@ jobs: run: | kubectl create namespace cert-manager kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.5/cert-manager.yaml + sleep 5 kubectl wait --for=condition=Ready --namespace cert-manager --all pods - name: Deploy New Relic k8s-agents-operator to minikube run: | helm repo add k8s-agents-operator https://newrelic.github.io/k8s-agents-operator helm upgrade --install k8s-agents-operator k8s-agents-operator/k8s-agents-operator --namespace k8s-agents-operator --create-namespace + sleep 5 kubectl wait --for=condition=Ready --namespace k8s-agents-operator --all pods - name: Build init container @@ -78,6 +80,7 @@ jobs: kubectl create secret generic newrelic-key-secret -n test-python --from-literal=new_relic_license_key=$NEW_RELIC_LICENSE_KEY kubectl apply -f tests/${{ env.INITCONTAINER_LANGUAGE }}/customresource.yaml -n test-${{ env.INITCONTAINER_LANGUAGE }} kubectl apply -f tests/${{ env.INITCONTAINER_LANGUAGE }}/test_app_deployment.yaml -n test-${{ env.INITCONTAINER_LANGUAGE }} + sleep 5 kubectl wait --for=condition=Ready --namespace test-${{ env.INITCONTAINER_LANGUAGE }} --all pods - name: Test