joyent-portal/packages/portal-api/test/containerpilot.json5

28 lines
413 B
Plaintext
Raw Normal View History

{
consul: 'consul:8500',
jobs: [
{
name: 'setup-config',
exec: '/bin/prestart.sh'
},
{
name: 'tests',
exec: 'node node_modules/.bin/lab -c',
when: {
source: 'setup-config',
once: 'exitSuccess'
}
}
],
watches: [
{
name: 'rethinkdb',
interval: 5
},
{
name: 'docker-compose-api',
interval: 5
}
]
}