composed envsets
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-07-28 17:45:30 +01:00
parent 649f6bac47
commit 03665f3a6a
1 changed files with 17 additions and 12 deletions

View File

@ -187,19 +187,24 @@ local images = {
), ),
util.compose( util.compose(
std.map( std.map(
util.compose([ util.compose(
function(s) util.envSet(s), std.map(
function(s) function(step) step { function(s) util.envSet(s),
settings +: { publicSecrets
script +: [ ) +
"export %(env)s='$${%(env)s}'" % { std.map(
env: util.environment(s), function(s) function(step) step {
}, settings +: {
], script +: [
"export %(env)s='$${%(env)s}'" % {
env: util.environment(s),
},
],
},
}, },
}, publicSecrets
]), )
publicSecrets, ),
) )
)( )(
images.ssh { images.ssh {