ci: build jsonnet
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
c335b3f511
commit
100d10675c
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build
|
||||
name: deploy
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
|
@ -53,7 +53,7 @@ steps:
|
|||
from_secret: ssh-port
|
||||
source:
|
||||
- .
|
||||
target: /stack/guacamole
|
||||
target: "%(name)s"
|
||||
username:
|
||||
from_secret: ssh-user
|
||||
|
||||
|
@ -66,10 +66,10 @@ steps:
|
|||
image: docker:dind
|
||||
commands:
|
||||
- set -e
|
||||
- sh login.sh
|
||||
- sh build.sh
|
||||
- sh push.sh
|
||||
- sh logout.sh
|
||||
- sh .drone/login.sh
|
||||
- sh .drone/build.sh
|
||||
- sh .drone/push.sh
|
||||
- sh .drone/logout.sh
|
||||
environment:
|
||||
LOCAL_DOCKER_REGISTRY:
|
||||
from_secret: local-docker-registry
|
||||
|
@ -106,10 +106,10 @@ steps:
|
|||
- export GUACAMOLE_POSTGRES_DB=$${GUACAMOLE_POSTGRES_DB}
|
||||
- export GUACAMOLE_POSTGRES_USER=$${GUACAMOLE_POSTGRES_USER}
|
||||
- set -e
|
||||
- cd /stack/guacamole
|
||||
- docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${REGISTRY_PASSWORD}"
|
||||
- sh pull.sh
|
||||
- sh deploy.sh
|
||||
- cd %(name)s
|
||||
- sh .drone/login.sh
|
||||
- sh .drone/pull.sh
|
||||
- sh .drone/deploy.sh
|
||||
username:
|
||||
from_secret: ssh-user
|
||||
environment:
|
||||
|
|
Loading…
Reference in New Issue