ssh nothing
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
afea79d33b
commit
39692236de
|
@ -1,3 +1,8 @@
|
|||
local util = {
|
||||
fromSecret(secret): {
|
||||
from_secret: secret,
|
||||
},
|
||||
};
|
||||
local images = {
|
||||
docker: {
|
||||
name: 'docker',
|
||||
|
@ -26,6 +31,16 @@ local images = {
|
|||
],
|
||||
},
|
||||
},
|
||||
ssh: {
|
||||
image: 'appleboy/drone-ssh',
|
||||
settings: {
|
||||
host: util.fromSecret("ssh-host"),
|
||||
port: util.fromSecret("ssh-port"),
|
||||
username: util.fromSecret("ssh-user"),
|
||||
password: util.fromSecret("ssh-password"),
|
||||
script: [],
|
||||
},
|
||||
},
|
||||
wait(delay): {
|
||||
image: 'alpine',
|
||||
name: 'wait',
|
||||
|
@ -81,6 +96,9 @@ local images = {
|
|||
'/stack/root'
|
||||
),
|
||||
images.wait(15),
|
||||
images.ssh {
|
||||
name: 'ssh nothing',
|
||||
},
|
||||
],
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue