ssh nothing
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-07-28 15:44:13 +01:00
parent afea79d33b
commit 39692236de
1 changed files with 18 additions and 0 deletions

View File

@ -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',
},
],
}
]