6388: Build specific backport versions for Python OAuth dependencies.
[arvados-dev.git] / jenkins / run-cwl-tests.sh
index 74e999900bced2beb0ff51f369da72c9354198ab..730261b575d41d94cf14f37439bbbc8afe4e7fae 100755 (executable)
@@ -159,7 +159,7 @@ cd "$WORKSPACE"
 pushd reference
 python setup.py install
 python setup.py test
-./docker-node-engine.sh
+./build-node-docker.sh
 popd
 
 pushd conformance
@@ -173,6 +173,32 @@ handle_python_package
 ./build-cwl-docker.sh
 
 if [[ "$UPLOAD_DOCKER" != 0 ]]; then
+    docker push commonworkflowlanguage/cwltool_module
     docker push commonworkflowlanguage/cwltool
     docker push commonworkflowlanguage/nodejs-engine
 fi
+
+# Setup virtualenv and build documentation.
+
+virtualenv ../venv
+. ../venv/bin/activate
+python setup.py install
+cd ..
+
+if test -d common-workflow-language.github.io ; then
+    cd common-workflow-language.github.io
+    git fetch
+    git reset --hard origin/master
+    cd ..
+else
+    git clone git@github.com:common-workflow-language/common-workflow-language.github.io.git
+    cd common-workflow-language.github.io
+    git config user.email "sysadmin@curoverse.com"
+    git config user.name "Curoverse build bot"
+    cd ..
+fi
+python -mcwltool specification/cwlsite.cwl specification/cwlsite-job.json --outdir=$PWD/common-workflow-language.github.io
+cd common-workflow-language.github.io
+git add --all
+git diff-index --quiet HEAD || git commit -m"Build bot"
+git push