This commit is contained in:
2025-11-28 23:58:07 +01:00
parent 28bbff16aa
commit eddcd20d19
7 changed files with 26 additions and 1218 deletions

View File

@@ -5,27 +5,6 @@ matrix:
- abstraction
- rules
steps:
show:
image: quay.io/wollud1969/networktools:latest
environment:
forge_name:
from_secret: forge_name
container_registry:
from_secret: local_registry
container_registry_username:
from_secret: local_username
container_registry_password:
from_secret: local_password
commands:
- echo $${forge_name} | base64
- echo $${container_registry} | base64
- echo $${container_registry_username} | base64
- echo $${container_registry_password} | base64
build:
image: plugins/kaniko
settings:

26
.woodpecker/deploy.yml Normal file
View File

@@ -0,0 +1,26 @@
matrix:
APP:
- ui
- api
- abstraction
- rules
deploy:
image: quay.io/wollud1969/k8s-admin-helper:0.3.4
environment:
KUBE_CONFIG_CONTENT:
from_secret: kube_config
NAMESPACE: "homea2"
IMAGE: "${FORGE_NAME}/${CI_REPO}/${APP}:${CI_COMMIT_TAG}"
commands:
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
- export KUBECONFIG=/tmp/kubeconfig
- echo "Deploying application ${APP} (${IMAGE}) to namespace ${NAMESPACE}"
depends_on: [build, create_namespace, apply_configuration]
when:
event: [tag]
ref:
exclude:
- refs/tags/*-configchange