...
the build was successful Details

This commit is contained in:
an 2018-02-24 10:19:30 +01:00
commit 7f1d4e2758
1 changed files with 4 additions and 6 deletions

View File

@ -1,10 +1,7 @@
pipeline: pipeline:
prebuild: prebuild:
image: golang:1.9 image: golang:1.9
secrets:
- FOO
commands: commands:
- echo "$FOO"
- IMAGE=dr.dnix.de/$DRONE_REPO_NAME - IMAGE=dr.dnix.de/$DRONE_REPO_NAME
- REV=$(git rev-list HEAD --count) - REV=$(git rev-list HEAD --count)
- BUILDDATE=$(date) - BUILDDATE=$(date)
@ -35,9 +32,9 @@
- latest - latest
deploy: deploy:
image: ubuntu:16.04 image: ubuntu:16.04
environment: secrets:
- K8S_SSH_PRIVATE_KEY=${K8S_SSH_PRIVATE_KEY} - K8S_SSH_PRIVATE_KEY
- K8S_SSH_PUBLIC_KEY=${K8S_SSH_PUBLIC_KEY} - K8S_SSH_PUBLIC_KEY
commands: commands:
- apt update - apt update
- apt -y upgrade - apt -y upgrade
@ -58,3 +55,4 @@
- ssh -oStrictHostKeyChecking=no root@master01 "kubectl rollout status deployment/mmflokati-flokati -n northbrigade" - ssh -oStrictHostKeyChecking=no root@master01 "kubectl rollout status deployment/mmflokati-flokati -n northbrigade"
- ssh -oStrictHostKeyChecking=no root@master01 "kubectl rollout status deployment/mmflokati-armleuchter -n northbrigade" - ssh -oStrictHostKeyChecking=no root@master01 "kubectl rollout status deployment/mmflokati-armleuchter -n northbrigade"