chat/.drone/drone-home.jsonnet

31 lines
596 B
Plaintext
Raw Normal View History

2020-08-19 22:23:00 +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';
2020-08-19 22:23:00 +00:00
[
register,
2020-08-19 22:23:00 +00:00
deploy(
'chat',
'/stack/',
[],
publicSecrets,
secretSecrets,
2020-08-19 22:23:00 +00:00
[
'REGISTRY_DOMAIN',
'REGISTRY_PORT',
2020-08-19 22:23:00 +00:00
'REGISTRY_PASSWORD',
],
) {
trigger +: {
event +: [
'promote',
],
target +: [
'production',
],
},
},
2020-08-19 22:23:00 +00:00
]