From 911da2497028d14711f1ca730893dc3bc1d959f5 Mon Sep 17 00:00:00 2001 From: jyje Date: Mon, 6 Jan 2025 16:10:33 +0900 Subject: [PATCH] fix(ci): verify 'pipeline' chart installing on test-namespace - with `workflow_dispatch:` (need to be removed) --- .github/workflows/helm-test-pipelines.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helm-test-pipelines.yml b/.github/workflows/helm-test-pipelines.yml index bf1ca43..7f78dd7 100644 --- a/.github/workflows/helm-test-pipelines.yml +++ b/.github/workflows/helm-test-pipelines.yml @@ -1,6 +1,7 @@ name: Check Open WebUI Helm Charts (pipelines) on: + workflow_dispatch: pull_request: paths: - "charts/pipelines/**" @@ -49,5 +50,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