1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-10 21:30:06 +02:00
copilot/circle.yml
2016-10-19 15:59:19 +01:00

38 lines
888 B
YAML

## Customize the test machine
machine:
post:
- pip install --upgrade docker-compose==1.8.0
- npm install -g triton
- echo '{"url":"https://eu-ams-1.api.joyent.com","account":"'$SDC_ACCOUNT'","keyId":"c3:30:35:9b:85:48:73:44:31:cc:4b:2e:6a:00:16:e2","name":"eu-ams-1","curr":true}' | triton profile create -f -
timezone:
Europe/London
services:
- docker
node:
version: 6.9.0
dependencies:
post:
- make install
test:
post:
- make test
deployment:
production: # just a label; label names are completely up to you
branch: master
commands:
- ./bin/setup.sh
- docker-compose pull
- docker-compose build
- docker-compose up -d
## Custom notifications
# notify:
# webhooks:
# # A list of hashes representing hooks. Only the url field is supported.
# - url: https://someurl.com/hooks/circle