From a49d20dc902aba71e55ffc51d40ef0b5582bc046 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Tue, 28 Jul 2020 16:38:12 +0100 Subject: [PATCH] composed secret printing --- .drone-home.jsonnet | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone-home.jsonnet b/.drone-home.jsonnet index b1403ce..a5bfae0 100644 --- a/.drone-home.jsonnet +++ b/.drone-home.jsonnet @@ -167,15 +167,17 @@ local images = { images.wait(15), util.compose( std.map( - function(secret) util.printEnv(secret, 'afile'), + function(secret) util.printEnv('afile', secret), secrets, ) )( images.ssh { name: 'will print ssh-host again', - settings +: [ + settings +: { + script +: [ 'rm afile' - ], + ], + }, }, ) ],