.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4dc9e3793b
commit
d3f6325b37
|
@ -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"),
|
||||||
|
|
Reference in New Issue