test deployment
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-01-31 15:27:22 +01:00
parent d308fd662a
commit d469a7cf2c
3 changed files with 32 additions and 3 deletions

View File

@ -14,6 +14,22 @@ steps:
when:
- event: [push, tag]
deploytest:
image: portainer/kubectl-shell:latest
secrets:
- source: kube_config
target: KUBE_CONFIG_CONTENT
- source: encryption_key
target: ENCRYPTION_KEY
- source: secrets_checksum
target: MD5_CHECKSUM
commands:
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
- export KUBECONFIG=/tmp/kubeconfig
- ./deployment/deploy.sh test
when:
- event: [push, tag]
deploy:
image: portainer/kubectl-shell:latest
secrets: