.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-04-26 10:00:57 +01:00
parent c0f500b362
commit 79d90c85de
1 changed files with 6 additions and 5 deletions

View File

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