projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20457: Exercise quota handling in dispatcher chaos test.
[arvados.git]
/
build
/
run-build-packages-all-targets.sh
diff --git
a/build/run-build-packages-all-targets.sh
b/build/run-build-packages-all-targets.sh
index 1ee8e583fe808f72d62c03d656d779229f662872..85c498ecd5e55f98b079af1477852e967ebc851e 100755
(executable)
--- a/
build/run-build-packages-all-targets.sh
+++ b/
build/run-build-packages-all-targets.sh
@@
-17,8
+17,10
@@
Options:
Run package install tests
--debug
Output debug information (default: false)
Run package install tests
--debug
Output debug information (default: false)
---version <string>
- Version to build (default: \$ARVADOS_BUILDING_VERSION or 0.1.timestamp.commithash)
+--build-version <string>
+ Version to build (default:
+ \$ARVADOS_BUILDING_VERSION-\$ARVADOS_BUILDING_ITERATION or
+ 0.1.timestamp.commithash)
WORKSPACE=path Path to the Arvados source tree to build packages from
WORKSPACE=path Path to the Arvados source tree to build packages from
@@
-43,7
+45,7
@@
fi
set -e
PARSEDOPTS=$(getopt --name "$0" --longoptions \
set -e
PARSEDOPTS=$(getopt --name "$0" --longoptions \
- help,test-packages,debug,command:,only-test:,version: \
+ help,test-packages,debug,command:,only-test:,
build-
version: \
-- "" "$@")
if [ $? -ne 0 ]; then
exit 1
-- "" "$@")
if [ $? -ne 0 ]; then
exit 1
@@
-74,7
+76,7
@@
while [ $# -gt 0 ]; do
--only-test)
ONLY_TEST="$1 $2"; shift
;;
--only-test)
ONLY_TEST="$1 $2"; shift
;;
- --version)
+ --
build-
version)
ARVADOS_BUILDING_VERSION="$2"; shift
;;
--)
ARVADOS_BUILDING_VERSION="$2"; shift
;;
--)
@@
-92,7
+94,7
@@
cd $(dirname $0)
FINAL_EXITCODE=0
for dockerfile_path in $(find -name Dockerfile | grep package-build-dockerfiles); do
FINAL_EXITCODE=0
for dockerfile_path in $(find -name Dockerfile | grep package-build-dockerfiles); do
- if ./run-build-packages-one-target.sh --target "$(basename $(dirname "$dockerfile_path"))" --command "$COMMAND" --version "$ARVADOS_BUILDING_VERSION" $DEBUG $TEST_PACKAGES $ONLY_TEST ; then
+ if ./run-build-packages-one-target.sh --target "$(basename $(dirname "$dockerfile_path"))" --command "$COMMAND" --
build-
version "$ARVADOS_BUILDING_VERSION" $DEBUG $TEST_PACKAGES $ONLY_TEST ; then
true
else
FINAL_EXITCODE=$?
true
else
FINAL_EXITCODE=$?