.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
a8117381b2
commit
181ce05429
|
@ -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):
|
||||
|
|
Reference in New Issue