29 lines
570 B
Plaintext
29 lines
570 B
Plaintext
|
|
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(
|
|
'chat',
|
|
'/stack/',
|
|
[
|
|
'LOCAL_DOCKER_REGISTRY',
|
|
'REGISTRY_PASSWORD',
|
|
],
|
|
publicSecrets,
|
|
secretSecrets
|
|
) {
|
|
trigger +: {
|
|
event +: [
|
|
'promote',
|
|
],
|
|
target +: [
|
|
'production',
|
|
],
|
|
},
|
|
},
|
|
]
|