feat: added drone secrets

This commit is contained in:
Giles Bradshaw 2020-08-27 21:11:22 +01:00
parent 8286a17f17
commit d38db6f40f
2 changed files with 4 additions and 3 deletions

View File

@ -9,7 +9,8 @@ function(
root,
buildSecrets,
publicSecrets,
secretSecrets
secretSecrets,
droneSecrets
)
{
kind: 'pipeline',
@ -70,7 +71,7 @@ function(
'%(root)s%(name)s' % { root: root, name: name }
),
images.wait(15),
build(buildSecrets),
build(droneSecrets),
compose(
std.map(
function(secret) environment.envSet(secret),
@ -86,7 +87,7 @@ function(
'export %(env)s=$${%(env)s}' % {
env: environment.environment(secret)
},
secretSecrets + publicSecrets + buildSecrets,
secretSecrets + publicSecrets + buildSecrets + droneSecrets,
) +
[
'set -e',

Binary file not shown.