From afea79d33b59c3ceff13e557a4549297cee0ebe6 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Tue, 28 Jul 2020 15:35:58 +0100 Subject: [PATCH] wait step --- .drone-home.jsonnet | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.drone-home.jsonnet b/.drone-home.jsonnet index dae1907..fb589ab 100644 --- a/.drone-home.jsonnet +++ b/.drone-home.jsonnet @@ -26,6 +26,13 @@ local images = { ], }, }, + wait(delay): { + image: 'alpine', + name: 'wait', + commands: [ + 'sleep %s' % delay, + ], + } }; [ { @@ -70,7 +77,10 @@ local images = { }, ], steps:[ - images.scp('/stack/root'), + images.scp( + '/stack/root' + ), + images.wait(15), ], } ]