portainer/.drone/drone-home.jsonnet

32 lines
617 B
Plaintext
Raw Permalink Normal View History

2020-08-28 20:57:52 +00:00
local secretSecrets = import 'lib/secret-secrets.libsonnet';
local publicSecrets = import 'lib/public-secrets.libsonnet';
local deploy = import 'node_modules/@sigyl/jsonnet-drone/deploy.libsonnet';
local register = import 'node_modules/@sigyl/jsonnet-drone/register.libsonnet';
[
register,
deploy(
'portainer',
'/stack/',
[],
publicSecrets,
secretSecrets,
[
2020-10-06 20:18:21 +00:00
'DOMAIN',
2020-08-28 20:57:52 +00:00
'REGISTRY_DOMAIN',
'REGISTRY_PORT',
'REGISTRY_PASSWORD',
],
) {
trigger +: {
event +: [
'promote',
],
target +: [
'production',
],
},
},
]