.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-04-24 14:26:44 +01:00
parent 4dc9e3793b
commit d3f6325b37
1 changed files with 2 additions and 1 deletions

View File

@ -8,12 +8,13 @@ def environment(env):
) )
def printSecrets(env): def printSecrets(env):
list envv = map(env, lambda: x: x)
return { return {
"name": "print secrets", "name": "print secrets",
"image": "appleboy/drone-ssh", "image": "appleboy/drone-ssh",
"environment": environment(env), "environment": environment(env),
"settings": { "settings": {
"envs": [x.replace("-", "_") for x in map(env, lambda: x: x) ], "envs": [x.replace("-", "_") for x in envv ],
"host": fromSecret("ssh-host"), "host": fromSecret("ssh-host"),
"port": fromSecret("ssh-port"), "port": fromSecret("ssh-port"),
"username": fromSecret("ssh-user"), "username": fromSecret("ssh-user"),