-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
38 lines (34 loc) · 1.07 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
machine:
node:
version: 0.10.43
dependencies:
cache_directories:
- "~/.meteor"
override:
# download if meteor isn't already installed in the cache
- METEOR_PRETTY_OUTPUT=0 meteor || curl https://install.meteor.com | /bin/sh
#- docker info
#- if [[ -e ~/docker/image.tar ]]; then docker load --input ~/docker/image.tar; fi
#TODO figure out how to pass tag in here
#- docker build -t medbook/case-book:$CIRCLE_TAG .
#- mkdir -p ~/docker; docker save medbook/case-book:$CIRCLE_TAG > ~/docker/image.tar
test:
override:
- echo "tests go here"
checkout:
post:
- git submodule sync
- git submodule update --init --recursive
deployment:
#hub:
# tag: /v[0-9]+(\.[0-9]+)*/
# commands:
# - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
# - docker push medbook/case-book:$CIRCLE_TAG
production:
branch: master
# The content of the METEOR_SESSION_FILE is generated with:
# 'METEOR_SESSION_FILE=deployment_token.json meteor login'
commands:
- ls
- sh ./config/robert/deploy_galaxy.sh