.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9e8b707593
commit
d76084a6df
21
.drone.star
21
.drone.star
|
@ -147,12 +147,12 @@ def deploy():
|
||||||
"script": [
|
"script": [
|
||||||
"set -e"
|
"set -e"
|
||||||
] + map(export, secrets) + [
|
] + map(export, secrets) + [
|
||||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}letsencrypt-git",
|
"docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-git",
|
||||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}nginx-home1",
|
"docker pull $${LOCAL_DOCKER_REGISTRY}nginx-home1",
|
||||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}letsencrypt-chat",
|
"docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-chat",
|
||||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}letsencrypt-remote",
|
"docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-remote",
|
||||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}letsencrypt-blog",
|
"docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-blog",
|
||||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}letsencrypt-drone",
|
"docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-drone",
|
||||||
"docker network prune -f",
|
"docker network prune -f",
|
||||||
"cd /home/$SSH_USER/gitea-drone-stack",
|
"cd /home/$SSH_USER/gitea-drone-stack",
|
||||||
"docker stack rm gitea",
|
"docker stack rm gitea",
|
||||||
|
@ -173,7 +173,7 @@ def steps(name, dependsOn):
|
||||||
"ssh-user",
|
"ssh-user",
|
||||||
"ssh-port",
|
"ssh-port",
|
||||||
]),
|
]),
|
||||||
wait(15, "wait"),
|
#wait(15, "wait"),
|
||||||
#build("guacamole-postgresql"),
|
#build("guacamole-postgresql"),
|
||||||
#build("ngrok-gitea"),
|
#build("ngrok-gitea"),
|
||||||
#build("letsencrypt-nginx"),
|
#build("letsencrypt-nginx"),
|
||||||
|
@ -184,13 +184,6 @@ def steps(name, dependsOn):
|
||||||
#buildNginx("remote"),
|
#buildNginx("remote"),
|
||||||
#buildNginx("chat"),
|
#buildNginx("chat"),
|
||||||
scp("~/gitea-drone-stack"),
|
scp("~/gitea-drone-stack"),
|
||||||
{
|
|
||||||
"name": "build",
|
|
||||||
"image": "alpine",
|
|
||||||
"commands": [
|
|
||||||
"echo hello 'star lark'",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
deploy(),
|
deploy(),
|
||||||
],
|
],
|
||||||
"services": [
|
"services": [
|
||||||
|
|
Reference in New Issue