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

This commit is contained in:
Giles Bradshaw 2020-04-28 10:21:45 +01:00
parent 30fcbd271d
commit b7e93331e4
6 changed files with 4 additions and 28 deletions

View File

@ -9,7 +9,7 @@ load("@this//:echo-secret.star", "echoSecret")
load("@this//:wait.star", "wait")
load("@this//:build.star", "build")
load("@this//:scp.star", "scp")
load("@this//stack/more:public-secrets.star", "publicSecrets")
load("@this//stack:public-secrets.star", "publicSecrets")
load("@this//stack:secret-secrets.star", "secretSecrets")
load("@this//:pull.star", "pull")
load("@this//:deploy.star", "deploy")

View File

@ -3,5 +3,5 @@ load("@this//:secret-to-environment.star", "secretToEnvironment")
def echoSecret(secret):
return 'echo "export {environment}=???" >> ***filename*** # {secret}'.format(
secret = secret,
environment = secretToEnvironment(secret), # .replace("-", "_").upper()
environment = secretToEnvironment(secret),
)

View File

@ -3,5 +3,5 @@ load("@this//:secret-to-environment.star", "secretToEnvironment")
def echo(secret):
return 'echo "export {environment}=${environment}" >> ***filename*** # {secret}'.format(
secret = secret,
environment = secretToEnvironment(secret), #secret.replace("-", "_").upper(),
environment = secretToEnvironment(secret),
)

View File

@ -2,5 +2,5 @@ load("@this//:secret-to-environment.star", "secretToEnvironment")
def export(secret):
return "export {toCaps}=${toCaps}".format(
toCaps = secretToEnvironment(secret), #secret.replace("-", "_").upper(),
toCaps = secretToEnvironment(secret),
)

View File

@ -20,10 +20,6 @@ def pipeline(
"name": "dockersock",
"path": "/var/run",
},
#{
# "name": "ca",
# "path": "/etc/docker/certs.d",
#},
] + dockerVolumes,
}
],
@ -32,11 +28,5 @@ def pipeline(
"name": "dockersock",
"temp": {},
},
#{
# "name": "ca",
# "host": {
# "path": "/home/giles/gitea-drone-stack/.ca",
# },
#},
] + volumes,
}

View File

@ -1,14 +0,0 @@
publicSecrets = [
"blog-domain",
"certbot-email",
"chat-domain",
"drone-domain",
"drone-gitea-client-id",
"drone-gitea-server",
"git-domain",
"local-docker-registry",
"remote-domain",
"ssh-user",
"guacamole-postgres-db",
"guacamole-postgres-user"
]