From ed6ed66a37f932fe2bb3021cc6a0ac705317e39e Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 21 Nov 2025 11:37:39 +0100 Subject: [PATCH] namespace and config 3 --- .woodpecker.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 6afc8be..af01aa8 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,6 +4,7 @@ matrix: - api - abstraction - rules + - meta_app_deployment env: NAMESPACE: "homea2" @@ -22,6 +23,12 @@ steps: from_secret: container_registry_password dockerfile: apps/${APP}/Dockerfile when: + matrix: + APP: + - ui + - api + - abstraction + - rules event: [push, tag] ref: exclude: @@ -35,6 +42,9 @@ steps: commands: - kubectl create namespace ${NAMESPACE} || echo "Namespace ${NAMESPACE} already exists" when: + matrix: + APP: + - meta_app_deployment event: [tag] ref: exclude: @@ -52,8 +62,11 @@ steps: --from-file=layout=config/layout.yaml --from-file=rules=config/rules.yaml --from-file=scenes=config/scenes.yaml - --namespace=${NAMESPACE} + --namespace=$NAMESPACE --dry-run=client -o yaml | kubectl apply -f - when: + matrix: + APP: + - meta_app_deployment event: [tag]