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

This commit is contained in:
Giles Bradshaw 2020-04-26 11:01:23 +01:00
parent a8117381b2
commit 181ce05429
1 changed files with 2 additions and 3 deletions

View File

@ -14,7 +14,6 @@ def echo(secret):
return "export {environment}='${environment}' >> $$filename$$ # {secret}".format(
secret = secret,
environment = secret.replace("-", "_").upper(),
filename = filename,
)
def echoSecret(secret):
return "export {environment}=??? >> $$filename$$ # {secret}".format(
@ -40,8 +39,8 @@ def printSecrets(filename, env, secretEnv):
"password": fromSecret("ssh-password"),
"script": [x.replace("$$filename$$", filename) for x in [
"rm -f env-stack",
] + map(echofilename, env)
+ mapSecret(echoSecret, secretEnv)]
] + map(echo, env)
+ map(echoSecret, secretEnv)]
}
}
def wait(delay, name):