Skip to content

Commit 4a5e339

Browse files
authored
upload the cwltool-conformance jenkins build script
1 parent 3a3c6b9 commit 4a5e339

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

jenkins.bash

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/bash
2+
cloneorpull() {
3+
if test -d $1 ; then
4+
(cd $1 && git pull)
5+
else
6+
git clone $2
7+
fi
8+
}
9+
venv() {
10+
if ! test -d $1 ; then
11+
virtualenv $1
12+
fi
13+
. $1/bin/activate
14+
}
15+
cloneorpull common-workflow-language https://github.com/common-workflow-language/common-workflow-language.git
16+
venv cwltool-venv
17+
(. cwltool-venv/bin/activate && PIP_DOWNLOAD_CACHE=/var/lib/jenkins/pypi-cache/ pip install -U setuptools wheel pip)
18+
(. cwltool-venv/bin/activate && PIP_DOWNLOAD_CACHE=/var/lib/jenkins/pypi-cache/ python setup.py install)
19+
(. cwltool-venv/bin/activate && PIP_DOWNLOAD_CACHE=/var/lib/jenkins/pypi-cache/ pip install "cwltest>=1.0.20160825151655")
20+
# (. cwltool-venv/bin/activate && cd common-workflow-language && ./run_test.sh --junit-xml=result.xml RUNNER=cwltool DRAFT=draft-2)
21+
(. cwltool-venv/bin/activate && cd common-workflow-language && ./run_test.sh --junit-xml=result.xml RUNNER=cwltool DRAFT=draft-3)
22+
(. cwltool-venv/bin/activate && cd common-workflow-language && ./run_test.sh --junit-xml=result.xml RUNNER=cwltool)
23+
(. cwltool-venv/bin/activate && cd common-workflow-language && ./run_test.sh --junit-xml=result.xml RUNNER=cwltool DRAFT=v1.1.0-dev1 EXTRA=--enable-dev)
24+
(. cwltool-venv/bin/activate && ./build-cwl-docker.sh && docker push commonworkflowlanguage/cwltool_module && docker push commonworkflowlanguage/cwltool)

0 commit comments

Comments
 (0)