mirror of
https://github.com/yldio/copilot.git
synced 2024-11-15 07:40:07 +02:00
28 lines
413 B
Plaintext
28 lines
413 B
Plaintext
|
{
|
||
|
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
|
||
|
}
|
||
|
]
|
||
|
}
|