Skip to content

Commit

Permalink
add 1.7
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
  • Loading branch information
vieux committed Aug 15, 2016
1 parent 4d72820 commit 8a6f1ec
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
redis:
image: redis

gocover:
build: ./server
links:
- redis:redis
command: -r redis:6379
ports:
- 8080:8080
4 changes: 2 additions & 2 deletions server/templates/cover.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<button class="btn btn-info" type="button" onclick="parent.location='/'+document.getElementById('repo').value"><span class="glyphicon glyphicon-wrench"></span> Go</button>
<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="#" onclick="parent.location='/'+document.getElementById('repo').value">go1.6.3</a></li>
<li><a href="#" onclick="parent.location='/'+document.getElementById('repo').value+'?version=1.7rc4'">go1.7rc4</a></li>
<li><a href="#" onclick="parent.location='/'+document.getElementById('repo').value">go1.7</a></li>
<li><a href="#" onclick="parent.location='/'+document.getElementById('repo').value+'?version=1.6.3'">go1.6.3</a></li>
<li><a href="#" onclick="parent.location='/'+document.getElementById('repo').value+'?version=1.5.3'">go1.5.3</a></li>
<li><a href="#" onclick="parent.location='/'+document.getElementById('repo').value+'?version=1.4.3'">go1.4.3</a></li>
<li><a href="#" onclick="parent.location='/'+document.getElementById('repo').value+'?version=1.3.3'">go1.3.3</a></li>
Expand Down
4 changes: 0 additions & 4 deletions setup_dev_env.sh

This file was deleted.

4 changes: 2 additions & 2 deletions workers/gen.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSIONS="1.2.2 1.3 1.3.1 1.3.2 1.3.3 1.4 1.4.1 1.4.2 1.4.3 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 1.6.2 1.6.3 1.7rc4"
LATEST="1.6.3"
VERSIONS="1.2.2 1.3 1.3.1 1.3.2 1.3.3 1.4 1.4.1 1.4.2 1.4.3 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 1.6.2 1.6.3 1.7"
LATEST="1.7"

for version in $VERSIONS; do
docker build --build-arg GO_VERSION=$version -t vieux/gocover:$version .
Expand Down
2 changes: 1 addition & 1 deletion workers/push.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSIONS="1.2.2 1.3 1.3.1 1.3.2 1.3.3 1.4 1.4.1 1.4.2 1.4.3 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 1.6.2 latest"
VERSIONS="1.2.2 1.3 1.3.1 1.3.2 1.3.3 1.4 1.4.1 1.4.2 1.4.3 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 1.6.2 1.6.3 1.7 latest"
for version in $VERSIONS; do
docker push vieux/gocover:$version
done

0 comments on commit 8a6f1ec

Please sign in to comment.