8 printf "\n%*s\n\n" $(((${#title}+$COLUMNS)/2)) "********** $1 **********"
14 title "Starting docker build"
16 # clean up the docker build environment
23 # Get test config.yml file
24 cp $HOME/docker/config.yml .
30 if [[ "$ECODE" != "0" ]]; then
31 title "!!!!!! docker BUILD FAILED !!!!!!"
32 EXITCODE=$(($EXITCODE + $ECODE))
35 title "docker build complete"
37 title "Starting docker java-bwa-samtools build"
39 ./build.sh java-bwa-samtools-image
43 if [[ "$ECODE" != "0" ]]; then
44 title "!!!!!! docker java-bwa-samtools BUILD FAILED !!!!!!"
45 EXITCODE=$(($EXITCODE + $ECODE))
48 title "docker build java-bwa-samtools complete"
50 title "upload arvados/jobs image"
52 docker push arvados/jobs
56 if [[ "$ECODE" != "0" ]]; then
57 title "!!!!!! upload arvados/jobs FAILED !!!!!!"
58 EXITCODE=$(($EXITCODE + $ECODE))
61 title "upload arvados/jobs image complete"