drone/drone-starlark/repos/environment.star

6 lines
152 B
Plaintext
Raw Permalink Normal View History

2020-05-10 16:16:11 +00:00
load("@this//:from-secret.star", "fromSecret")
def environment(env):
return dict(
[(x.replace("-", "_").upper(), fromSecret(x)) for x in env]
)