This repository has been archived on 2020-08-11. You can view files and clone it, but cannot push or open issues or pull requests.
stack/drone-starlark/repos/echo.star

8 lines
258 B
Plaintext
Raw Normal View History

2020-04-26 13:34:46 +00:00
load("@this//:secret-to-environment.star", "secretToEnvironment")
def echo(secret):
2020-05-03 22:03:23 +00:00
return 'echo "export {environment}=\'${environment}\'" >> ***filename*** # {secret}'.format(
2020-04-26 13:34:46 +00:00
secret = secret,
2020-04-28 09:21:45 +00:00
environment = secretToEnvironment(secret),
2020-04-26 13:34:46 +00:00
)