Skip to content

Commit 8cd29e3

Browse files
authored
Merge pull request BD2KGenomics#156 from fnothaft/issues/155-quinine-hotfixes
Update quinine with hotfixes (resolves BD2KGenomics#155)
2 parents 1a7a5cd + d2a5559 commit 8cd29e3

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

quinine-pipelines/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
Dockerfile
12
*.workflow.json
23
cromwell-*
34
WorkflowStore
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/ucsc_cgl/quinine
1+
FROM quay.io/ucsc_cgl/quinine:QUININE_TAG
22

33
MAINTAINER Frank Austin Nothaft, [email protected]
44

quinine-pipelines/Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# Definitions
22
runtime_fullpath = $(realpath runtime)
33
build_tool = runtime-container.DONE
4-
git_commit ?= $(shell git log --pretty=oneline -n 1 -- ../quinine-pipelines | cut -f1 -d " ")
4+
git_commit ?= $(shell git log --pretty=oneline -n 1 -- ../quinine-pipelines ../quinine | cut -f1 -d " ")
55
name = quay.io/ucsc_cgl/quinine-pipelines
66
tag = 716dd26cf6252a6db60afa25aaf7cf9ee9896b21--${git_commit}
7-
7+
quinine_tag = $(shell cd ../quinine && make print_tag)
88
workflows = contamination.workflow.json rna.workflow.json targeted.workflow.json
99

10-
build:
10+
Dockerfile: Dockerfile.template
11+
sed -e "s:QUININE_TAG:${quinine_tag}:g" Dockerfile.template > Dockerfile
12+
13+
build: Dockerfile
1114
docker build -t ${name}:${tag} .
1215
docker tag -f ${name}:${tag} ${name}:latest
1316
touch ${build_tool}
@@ -24,4 +27,4 @@ test: build ${workflows}
2427
sed -e "s:PWD:${PWD}:g" $< > $@
2528

2629
clean:
27-
-rm ${build_tool} *.workflow.json
30+
-rm ${build_tool} *.workflow.json Dockerfile

quinine/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build_tool = runtime-container.DONE
77
build_number ?= none
88
git_commit ?= $(shell git rev-parse HEAD)
99
name = quay.io/ucsc_cgl/quinine
10-
tag = 2800f76fb66120a76de74c23ec928ef9231ad83c--${git_commit}
10+
tag = 65bdfae289e2be6874108923e08ce073ce090a8e--${git_commit}
1111

1212
# Steps
1313
build: ${build_output} ${build_tool}
@@ -29,6 +29,9 @@ clean:
2929
rm -rf runtime/quinine ${build_tool}
3030
docker rmi -f ${name}-build:${tag} ${name}:${tag}
3131

32+
print_tag:
33+
@echo ${tag}
34+
3235
push: build
3336
# Requires ~/.dockercfg
3437
docker push ${name}:${tag}

quinine/build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ RUN git clone https://github.com/bigdatagenomics/quinine.git
99

1010
# build quinine
1111
WORKDIR /home/quinine
12-
RUN git checkout 2800f76fb66120a76de74c23ec928ef9231ad83c
12+
RUN git checkout 65bdfae289e2be6874108923e08ce073ce090a8e
1313

1414
RUN /opt/apache-maven-3.3.9/bin/mvn package -DskipTests

0 commit comments

Comments
 (0)