...
the build was successful
Details
the build was successful
Details
This commit is contained in:
commit
7f1d4e2758
10
.drone.yml
10
.drone.yml
|
@ -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"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue