From 649f6bac4734d9f48d8ffeb372f951214dd5b35d Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Tue, 28 Jul 2020 17:42:39 +0100 Subject: [PATCH] composed envsets --- .drone-home.jsonnet | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.drone-home.jsonnet b/.drone-home.jsonnet index d83b693..c0115d5 100644 --- a/.drone-home.jsonnet +++ b/.drone-home.jsonnet @@ -189,6 +189,15 @@ local images = { std.map( util.compose([ function(s) util.envSet(s), + function(s) function(step) step { + settings +: { + script +: [ + "export %(env)s='$${%(env)s}'" % { + env: util.environment(s), + }, + ], + }, + }, ]), publicSecrets, )