.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
93c24fb653
commit
846a46076d
|
@ -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 "echo '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 "echo 'export {environment}=???' >> $$filename$$ # {secret}".format(
|
return 'echo 'export {environment}=???' >> $$filename$$ # {secret}'.format(
|
||||||
secret = secret,
|
secret = secret,
|
||||||
environment = secret.replace("-", "_").upper()
|
environment = secret.replace("-", "_").upper()
|
||||||
)
|
)
|
||||||
|
|
Reference in New Issue