.
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() return secret.replace("-", "_").upper()
def echo(filename): def echo(filename):
def mapped(secret): def mapped(secret):
return "export {environment}='${environment}' >> {filename} # {secret}".format( return 'hello'
secret = secret, #return "export {environment}='${environment}' >> {filename} # {secret}".format(
environment = secret.replace("-", "_").upper(), # secret = secret,
filename = filename, # environment = secret.replace("-", "_").upper(),
) # filename = filename,
# )
return mapped return mapped
def echoSecret(secret): def echoSecret(secret):
return "export {environment}=??? >> env-stack # {secret}".format( return "export {environment}=??? >> env-stack # {secret}".format(