.
continuous-integration/drone/push Build is passing Szczegóły

This commit is contained in:
Giles Bradshaw 2020-04-26 13:32:28 +01:00
rodzic 88133b0e82
commit ecbc7195e3
2 zmienionych plików z 7 dodań i 5 usunięć

Wyświetl plik

@ -0,0 +1,5 @@
load("@this//:from-secret.star", "fromSecret")
def environment(env):
return dict(
[(x.replace("-", "_").upper(), fromSecret(x)) for x in env]
)

Wyświetl plik

@ -1,10 +1,7 @@
load("@this//:map.star", "map")
load("@this//:from-secret.star", "fromSecret")
def environment(env):
return dict(
[(x.replace("-", "_").upper(), fromSecret(x)) for x in env]
)
load("@this//:environment", "environment")
def secretToEnvironment(secret):
return secret.replace("-", "_").upper()