From 2608e935b85bd1cee0aa9a6a4cb4cef8d8f6239f Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 21 Nov 2025 11:55:50 +0100 Subject: [PATCH] namespace and config 8 --- .woodpecker.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 43805f3..de57c49 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,6 +6,9 @@ matrix: - rules - meta_app_deployment +label: + app: ${APP} + env: NAMESPACE: "homea2" @@ -23,8 +26,11 @@ steps: from_secret: container_registry_password dockerfile: apps/${APP}/Dockerfile when: - matrix: - APP: [ "ui", "api", "abstraction", "rules" ] + app: + - ui + - api + - abstraction + - rules event: [push, tag] ref: exclude: @@ -38,8 +44,8 @@ steps: commands: - kubectl create namespace ${NAMESPACE} || echo "Namespace ${NAMESPACE} already exists" when: - matrix: - APP: [ "meta_app_deployment" ] + app: + - meta_app_deployment event: [tag] ref: exclude: @@ -60,7 +66,7 @@ steps: --namespace=$NAMESPACE --dry-run=client -o yaml | kubectl apply -f - when: - matrix: - APP: [ "meta_app_deployment" ] + app: + - meta_app_deployment event: [tag]