squid/.drone/drone-home.jsonnet

34 lines
634 B
Plaintext
Raw Normal View History

2020-08-19 23:28:42 +00:00
2020-08-05 07:30:16 +00:00
local secretSecrets = import 'lib/secret-secrets.libsonnet';
local publicSecrets = import 'lib/public-secrets.libsonnet';
2020-08-19 23:28:42 +00:00
local deploy = import 'node_modules/@sigyl/jsonnet-drone/deploy.libsonnet';
2020-08-28 21:10:05 +00:00
local register = import 'node_modules/@sigyl/jsonnet-drone/register.libsonnet';
2020-07-30 14:32:27 +00:00
[
2020-08-28 21:10:05 +00:00
register,
2020-08-19 23:28:42 +00:00
deploy(
'squid',
'/stack/',
2020-09-01 14:58:06 +00:00
[
'CA_CRT',
],
2020-08-28 21:10:05 +00:00
publicSecrets,
secretSecrets,
2020-08-19 23:28:42 +00:00
[
2020-08-28 21:10:05 +00:00
'DOMAIN',
'REGISTRY_DOMAIN',
'REGISTRY_PORT',
2020-08-19 23:28:42 +00:00
'REGISTRY_PASSWORD',
2020-07-30 14:32:27 +00:00
],
2020-08-28 21:10:05 +00:00
) {
trigger +: {
event +: [
'promote',
],
target +: [
'production',
],
},
},
2020-07-30 14:32:27 +00:00
]