fix(ci): verify 'pipeline' chart installing on test-namespace

- with `workflow_dispatch:` (need to be removed)
This commit is contained in:
jyje 2025-01-06 16:10:33 +09:00
parent 35100e8c9b
commit 911da24970
No known key found for this signature in database
GPG Key ID: CFEECE847750DA12

View File

@ -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