diff --git a/.drone-home.jsonnet b/.drone-home.jsonnet index fb589ab..fdbc75c 100644 --- a/.drone-home.jsonnet +++ b/.drone-home.jsonnet @@ -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', + }, ], } ]