feat: added drone secrets
This commit is contained in:
parent
8286a17f17
commit
d38db6f40f
|
@ -9,7 +9,8 @@ function(
|
||||||
root,
|
root,
|
||||||
buildSecrets,
|
buildSecrets,
|
||||||
publicSecrets,
|
publicSecrets,
|
||||||
secretSecrets
|
secretSecrets,
|
||||||
|
droneSecrets
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
kind: 'pipeline',
|
kind: 'pipeline',
|
||||||
|
@ -70,7 +71,7 @@ function(
|
||||||
'%(root)s%(name)s' % { root: root, name: name }
|
'%(root)s%(name)s' % { root: root, name: name }
|
||||||
),
|
),
|
||||||
images.wait(15),
|
images.wait(15),
|
||||||
build(buildSecrets),
|
build(droneSecrets),
|
||||||
compose(
|
compose(
|
||||||
std.map(
|
std.map(
|
||||||
function(secret) environment.envSet(secret),
|
function(secret) environment.envSet(secret),
|
||||||
|
@ -86,7 +87,7 @@ function(
|
||||||
'export %(env)s=$${%(env)s}' % {
|
'export %(env)s=$${%(env)s}' % {
|
||||||
env: environment.environment(secret)
|
env: environment.environment(secret)
|
||||||
},
|
},
|
||||||
secretSecrets + publicSecrets + buildSecrets,
|
secretSecrets + publicSecrets + buildSecrets + droneSecrets,
|
||||||
) +
|
) +
|
||||||
[
|
[
|
||||||
'set -e',
|
'set -e',
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue