...
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:
|
||||
prebuild:
|
||||
image: golang:1.9
|
||||
secrets:
|
||||
- FOO
|
||||
commands:
|
||||
- echo "$FOO"
|
||||
- IMAGE=dr.dnix.de/$DRONE_REPO_NAME
|
||||
- REV=$(git rev-list HEAD --count)
|
||||
- BUILDDATE=$(date)
|
||||
|
@ -35,9 +32,9 @@
|
|||
- latest
|
||||
deploy:
|
||||
image: ubuntu:16.04
|
||||
environment:
|
||||
- K8S_SSH_PRIVATE_KEY=${K8S_SSH_PRIVATE_KEY}
|
||||
- K8S_SSH_PUBLIC_KEY=${K8S_SSH_PUBLIC_KEY}
|
||||
secrets:
|
||||
- K8S_SSH_PRIVATE_KEY
|
||||
- K8S_SSH_PUBLIC_KEY
|
||||
commands:
|
||||
- apt update
|
||||
- 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-armleuchter -n northbrigade"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue