mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 22:20:06 +02:00
32 lines
497 B
Plaintext
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
|
|
}
|
|
]
|
|
}
|