1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00
copilot/packages/portal-api/test/containerpilot.json5
2017-09-15 22:36:31 +01:00

32 lines
497 B
Plaintext

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