2017-06-19 23:30:04 +02:00
|
|
|
machine:
|
|
|
|
node:
|
2017-06-23 01:26:08 +02:00
|
|
|
version: 8
|
2017-06-23 00:19:18 +02:00
|
|
|
services:
|
|
|
|
- docker
|
2017-06-19 23:30:04 +02:00
|
|
|
|
2017-06-21 00:48:36 +02:00
|
|
|
deployment:
|
|
|
|
latest:
|
|
|
|
branch: master
|
|
|
|
commands:
|
2017-06-24 02:55:39 +02:00
|
|
|
- npm run predocker
|
2017-06-21 00:48:36 +02:00
|
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
2017-07-06 19:10:32 +02:00
|
|
|
- docker build -t mozilla/send:latest .
|
|
|
|
- docker push mozilla/send:latest
|
2017-06-22 21:56:07 +02:00
|
|
|
tags:
|
2017-06-24 03:54:59 +02:00
|
|
|
tag: /.*/
|
|
|
|
owner: mozilla
|
2017-06-22 21:56:07 +02:00
|
|
|
commands:
|
2017-06-24 02:55:39 +02:00
|
|
|
- npm run predocker
|
2017-06-22 21:56:07 +02:00
|
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
2017-07-06 19:10:32 +02:00
|
|
|
- docker build -t mozilla/send:$CIRCLE_TAG .
|
|
|
|
- docker push mozilla/send:$CIRCLE_TAG
|
2017-06-20 21:18:14 +02:00
|
|
|
|
|
|
|
test:
|
|
|
|
override:
|
|
|
|
- npm run lint
|
|
|
|
- npm test
|