.
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
27
.drone.star
27
.drone.star
|
@ -147,12 +147,12 @@ def deploy():
|
|||
"script": [
|
||||
"set -e"
|
||||
] + map(export, secrets) + [
|
||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}letsencrypt-git",
|
||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}nginx-home1",
|
||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}letsencrypt-chat",
|
||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}letsencrypt-remote",
|
||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}letsencrypt-blog",
|
||||
"docker pull $${{LOCAL_DOCKER_REGISTRY}}letsencrypt-drone",
|
||||
"docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-git",
|
||||
"docker pull $${LOCAL_DOCKER_REGISTRY}nginx-home1",
|
||||
"docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-chat",
|
||||
"docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-remote",
|
||||
"docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-blog",
|
||||
"docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-drone",
|
||||
"docker network prune -f",
|
||||
"cd /home/$SSH_USER/gitea-drone-stack",
|
||||
"docker stack rm gitea",
|
||||
|
@ -173,10 +173,10 @@ def steps(name, dependsOn):
|
|||
"ssh-user",
|
||||
"ssh-port",
|
||||
]),
|
||||
wait(15, "wait"),
|
||||
# build("guacamole-postgresql"),
|
||||
# build("ngrok-gitea"),
|
||||
# build("letsencrypt-nginx"),
|
||||
#wait(15, "wait"),
|
||||
#build("guacamole-postgresql"),
|
||||
#build("ngrok-gitea"),
|
||||
#build("letsencrypt-nginx"),
|
||||
#buildHome(),
|
||||
#buildNginx("blog"),
|
||||
#buildNginx("drone"),
|
||||
|
@ -184,13 +184,6 @@ def steps(name, dependsOn):
|
|||
#buildNginx("remote"),
|
||||
#buildNginx("chat"),
|
||||
scp("~/gitea-drone-stack"),
|
||||
{
|
||||
"name": "build",
|
||||
"image": "alpine",
|
||||
"commands": [
|
||||
"echo hello 'star lark'",
|
||||
],
|
||||
},
|
||||
deploy(),
|
||||
],
|
||||
"services": [
|
||||
|
|
Reference in New Issue