.
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Giles Bradshaw 2020-04-30 21:04:50 +01:00
parent 5dd9e24426
commit 1455b11a0c
2 changed files with 15 additions and 9 deletions

View File

@ -4,11 +4,12 @@ load("@this//:environment.star", "environment")
load("@this//:export.star", "export") load("@this//:export.star", "export")
def pull( def pull(
name,
images, images,
): ):
secrets = [ "local-docker-registry"] secrets = [ "local-docker-registry"]
return { return {
"name": "pull", "name": name,
"image": "appleboy/drone-ssh", "image": "appleboy/drone-ssh",
"environment": environment(secrets), "environment": environment(secrets),
"settings": { "settings": {

View File

@ -32,7 +32,9 @@ def drone(
[ [
wait(15, "wait"), wait(15, "wait"),
build("drone-starlark"), build("drone-starlark"),
pull([ pull(
"pull drone",
[
"drone-starlark", "drone-starlark",
]), ]),
rescale( rescale(
@ -64,13 +66,16 @@ def drone(
# "drone", # "drone",
#), #),
scp(base), scp(base),
pull([ pull(
"pull images",
[
"ghost", "ghost",
"ngrok-gitea", "ngrok-gitea",
"letsencrypt-git", "letsencrypt-git",
"letsencrypt-drone", "letsencrypt-drone",
"guacamole-postgresql", "guacamole-postgresql",
]), ],
),
deploy( deploy(
"docker-compose-home.yml", "docker-compose-home.yml",
name, name,