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

This commit is contained in:
Giles Bradshaw 2020-04-26 11:05:25 +01:00
parent 181ce05429
commit 93c24fb653
1 changed files with 2 additions and 2 deletions

View File

@ -11,12 +11,12 @@ def map(fn, l):
def secretToEnvironment(secret): def secretToEnvironment(secret):
return secret.replace("-", "_").upper() return secret.replace("-", "_").upper()
def echo(secret): def echo(secret):
return "export {environment}='${environment}' >> $$filename$$ # {secret}".format( return "echo 'export {environment}=${environment}' >> $$filename$$ # {secret}".format(
secret = secret, secret = secret,
environment = secret.replace("-", "_").upper(), environment = secret.replace("-", "_").upper(),
) )
def echoSecret(secret): def echoSecret(secret):
return "export {environment}=??? >> $$filename$$ # {secret}".format( return "echo 'export {environment}=???' >> $$filename$$ # {secret}".format(
secret = secret, secret = secret,
environment = secret.replace("-", "_").upper() environment = secret.replace("-", "_").upper()
) )