Some checks failed
ci/woodpecker/push/predeploy Pipeline was successful
ci/woodpecker/tag/predeploy Pipeline failed
ci/woodpecker/tag/build/1 Pipeline was successful
ci/woodpecker/tag/build/4 Pipeline was successful
ci/woodpecker/push/build/1 Pipeline was successful
ci/woodpecker/push/build/2 Pipeline was successful
ci/woodpecker/tag/build/2 Pipeline was successful
ci/woodpecker/tag/build/3 Pipeline was successful
ci/woodpecker/tag/deploy/4 unknown status
ci/woodpecker/tag/deploy/3 unknown status
ci/woodpecker/tag/deploy/1 unknown status
ci/woodpecker/push/build/4 Pipeline was successful
ci/woodpecker/push/build/3 Pipeline was successful
ci/woodpecker/tag/deploy/2 unknown status
ci/woodpecker/push/deploy/1 Pipeline was successful
ci/woodpecker/push/deploy/2 Pipeline was successful
ci/woodpecker/push/deploy/3 Pipeline was successful
ci/woodpecker/push/deploy/4 Pipeline was successful
29 lines
626 B
YAML
29 lines
626 B
YAML
matrix:
|
|
APP:
|
|
- ui
|
|
- api
|
|
- abstraction
|
|
- rules
|
|
|
|
steps:
|
|
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}"
|
|
when:
|
|
event: [tag]
|
|
ref:
|
|
exclude:
|
|
- refs/tags/*-configchange
|
|
|
|
depends_on:
|
|
- build
|
|
- predeploy
|