Skip to content

Commit

Permalink
docker image tag to point to 0.2b for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sirloon committed May 2, 2020
1 parent 3e1e6b1 commit f671196
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions tests/hubapi/mvcgi/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
all: test

pull:
docker pull biothings/biothings-studio:unstable
docker pull biothings/biothings-studio:0.2b

kill:
-docker kill test_studio
sleep 5
while docker ps | grep test_studio; do sleep 1; done

run: kill
docker run --rm --name test_studio -p 8080:8080 -p 7080:7080 -p 8000:8000 -d biothings/biothings-studio:unstable
docker run --rm --name test_studio -p 8080:8080 -p 7080:7080 -p 8000:8000 -d biothings/biothings-studio:0.2b

wait:
while ! curl localhost:7080; do echo waiting for hub api to run; sleep 5; done
Expand Down
4 changes: 2 additions & 2 deletions tests/webapp/studio4mychem/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
all: test

pull:
docker pull biothings/studio4mychem:unstable
docker pull biothings/studio4mychem:0.2b

kill:
-docker kill test_studio
sleep 5
while docker ps | grep test_studio; do sleep 1; done

run: kill pull
docker run --rm --name test_studio -p 8080:8080 -p 7080:7080 -p 8000:8000 -d biothings/studio4mychem:unstable
docker run --rm --name test_studio -p 8080:8080 -p 7080:7080 -p 8000:8000 -d biothings/studio4mychem:0.2b

wait:
while ! curl localhost:7080; do echo waiting for hub api to run; sleep 5; done
Expand Down
4 changes: 2 additions & 2 deletions tests/webapp/studio4mygene/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
all: test

pull:
docker pull biothings/studio4mygene:unstable
docker pull biothings/studio4mygene:0.2b

kill:
-docker kill test_studio
sleep 5
while docker ps | grep test_studio; do sleep 1; done

run: kill
docker run --rm --name test_studio -p 8080:8080 -p 7080:7080 -p 8000:8000 -d biothings/studio4mygene:unstable
docker run --rm --name test_studio -p 8080:8080 -p 7080:7080 -p 8000:8000 -d biothings/studio4mygene:0.2b

wait:
while ! curl localhost:7080; do echo waiting for hub api to run; sleep 5; done
Expand Down
4 changes: 2 additions & 2 deletions tests/webapp/studio4myvariant/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
all: test

pull:
docker pull biothings/studio4myvariant:unstable
docker pull biothings/studio4myvariant:0.2b

kill:
-docker kill test_studio
sleep 5
while docker ps | grep test_studio; do sleep 1; done

run: kill pull
docker run --rm --name test_studio -p 8080:8080 -p 7080:7080 -p 8000:8000 -d biothings/studio4myvariant:unstable
docker run --rm --name test_studio -p 8080:8080 -p 7080:7080 -p 8000:8000 -d biothings/studio4myvariant:0.2b

wait:
while ! curl localhost:7080; do echo waiting for hub api to run; sleep 5; done
Expand Down
4 changes: 2 additions & 2 deletions tests/webapp/tutorial/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
all: test

pull:
docker pull biothings/biothings-studio:unstable
docker pull biothings/biothings-studio:0.2b

kill:
-docker kill test_studio
sleep 5
while docker ps | grep test_studio; do sleep 1; done

run: kill
docker run --rm --name test_studio -p 8080:8080 -p 7080:7080 -p 8000:8000 -d biothings/biothings-studio:unstable
docker run --rm --name test_studio -p 8080:8080 -p 7080:7080 -p 8000:8000 -d biothings/biothings-studio:0.2b

wait:
while ! curl localhost:7080; do echo waiting for hub api to run; sleep 5; done
Expand Down

0 comments on commit f671196

Please sign in to comment.