diff --git a/.github/workflows/helm-test-pipelines.yml b/.github/workflows/helm-test-pipelines.yml index bf1ca43..175c615 100644 --- a/.github/workflows/helm-test-pipelines.yml +++ b/.github/workflows/helm-test-pipelines.yml @@ -49,5 +49,7 @@ jobs: - name: Verify pipelines run: | - kubectl apply -f pipelines.yaml - + kubectl create namespace test-namespace + kubectl apply --namespace test-namespace -f pipelines.yaml + PIPELINE_POD=$(kubectl get --namespace test-namespace pod -L app.kubernetes.io/component=pipelines -o jsonpath='{.items[*].metadata.name}') + kubectl wait --namespace test-namespace pod/${PIPELINE_POD} --for=condition=Ready --timeout=600s