cd
This commit is contained in:
26
.woodpecker/deploy.yml
Normal file
26
.woodpecker/deploy.yml
Normal 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user