X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1e4630ddb8015d72978aae1be334cce2f8ca20d4..a3c592154fa8117e97d1092b2f1c7d01f9b8ed8f:/build/run-build-packages-one-target.sh diff --git a/build/run-build-packages-one-target.sh b/build/run-build-packages-one-target.sh index d0a79ad3df..7a91cb4de1 100755 --- a/build/run-build-packages-one-target.sh +++ b/build/run-build-packages-one-target.sh @@ -106,7 +106,11 @@ while [ $# -gt 0 ]; do elif ! [[ "$2" =~ (.*)-(.*) ]]; then echo >&2 "FATAL: --build-version '$2' does not include an iteration. Try '${2}-1'?" exit 1 + elif ! [[ "$2" =~ ^[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+|)(~rc[0-9]+|~dev[0-9]+|)-[0-9]+$ ]]; then + echo >&2 "FATAL: --build-version '$2' is invalid, must match pattern ^[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+|)(~rc[0-9]+|~dev[0-9]+|)-[0-9]+$" + exit 1 else + [[ "$2" =~ (.*)-(.*) ]] ARVADOS_BUILDING_VERSION="${BASH_REMATCH[1]}" ARVADOS_BUILDING_ITERATION="${BASH_REMATCH[2]}" fi @@ -194,6 +198,7 @@ if test -z "$packages" ; then arvados-client arvados-controller arvados-dispatch-cloud + arvados-dispatch-lsf arvados-docker-cleaner arvados-git-httpd arvados-health @@ -217,22 +222,13 @@ if test -z "$packages" ; then keep-block-check keep-web libarvados-perl - libpam-arvados-go" - if [[ "$TARGET" =~ "centos" ]]; then - packages="$packages - rh-python36-python-cwltest - rh-python36-python-arvados-fuse - rh-python36-python-arvados-python-client - rh-python36-python-arvados-cwl-runner - rh-python36-python-crunchstat-summary" - else - packages="$packages + libpam-arvados-go python3-cwltest python3-arvados-fuse python3-arvados-python-client python3-arvados-cwl-runner - python3-crunchstat-summary" - fi + python3-crunchstat-summary + python3-arvados-user-activity" fi FINAL_EXITCODE=0