-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
44 lines (37 loc) · 1.06 KB
/
circle.yml
File metadata and controls
44 lines (37 loc) · 1.06 KB
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
39
40
41
42
#machine:
# services:
# - docker
#dependencies:
# override:
# - docker info
# - docker build -t quassinja/mytestpkg .
#test:
# override:
# - docker run --name mytestpkg -d -p 8787:8787 quassinja/mytestpkg ; sleep 10
# - curl --retry 10 --retry-delay 5 -v http://localhost:8787
#deployment:
# hub:
# branch: master
# commands:
# - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
# - docker push quassinja/mytestpkg
machine:
services:
- docker
dependencies:
override:
- docker info
# so we can use COPY, we send all of the repo, rather than just the dockerfile
- docker build -t quassinja/mytestpkg .
test:
override:
# see if we can start container...
- docker run --name mytestpkg -d -p 8787:8787 quassinja/mytestpkg ; sleep 10
# make RStudio server run in browser...
- curl --retry 10 --retry-delay 5 -v http://localhost:8787
deployment:
hub:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push quassinja/mytestpkg