1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-15 15:50:06 +02:00
copilot/packages/portal-api/test/containerpilot.json5

32 lines
497 B
Plaintext
Raw Normal View History

{
consul: 'consul:8500',
jobs: [
{
name: 'setup-config',
2017-08-24 22:21:39 +03:00
exec: '/bin/prestart.sh',
when: {
source: 'watch.rethinkdb',
once: 'healthy'
}
},
{
name: 'tests',
2017-08-24 22:21:39 +03:00
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
}
2017-08-24 22:21:39 +03:00
]
}