projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show initial fuse mount info when starting tests.
[arvados.git]
/
build
/
run-build-test-packages-one-target.sh
diff --git
a/build/run-build-test-packages-one-target.sh
b/build/run-build-test-packages-one-target.sh
index b98a4c0a7e0dec9d3c8110712881d05b92f5ec03..d75e2785eca730d748f6e59446f6509a233fa1dd 100755
(executable)
--- a/
build/run-build-test-packages-one-target.sh
+++ b/
build/run-build-test-packages-one-target.sh
@@
-10,10
+10,12
@@
Syntax:
WORKSPACE=/path/to/arvados $(basename $0) [options]
--target <target>
WORKSPACE=/path/to/arvados $(basename $0) [options]
--target <target>
- Distribution to build packages for (default: debian
8
)
+ Distribution to build packages for (default: debian
9
)
--upload
If the build and test steps are successful, upload the packages
to a remote apt repository (default: false)
--upload
If the build and test steps are successful, upload the packages
to a remote apt repository (default: false)
+--debug
+ Output debug information (default: false)
--rc
Optional Parameter to build Release Candidate
--build-version <version>
--rc
Optional Parameter to build Release Candidate
--build-version <version>
@@
-42,15
+44,16
@@
if ! [[ -d "$WORKSPACE" ]]; then
fi
PARSEDOPTS=$(getopt --name "$0" --longoptions \
fi
PARSEDOPTS=$(getopt --name "$0" --longoptions \
- help,upload,rc,target:,build-version: \
+ help,
debug,
upload,rc,target:,build-version: \
-- "" "$@")
if [ $? -ne 0 ]; then
exit 1
fi
-- "" "$@")
if [ $? -ne 0 ]; then
exit 1
fi
-TARGET=debian
8
+TARGET=debian
9
UPLOAD=0
RC=0
UPLOAD=0
RC=0
+DEBUG=
declare -a build_args=()
declare -a build_args=()
@@
-65,6
+68,9
@@
while [ $# -gt 0 ]; do
--target)
TARGET="$2"; shift
;;
--target)
TARGET="$2"; shift
;;
+ --debug)
+ DEBUG=" --debug"
+ ;;
--upload)
UPLOAD=1
;;
--upload)
UPLOAD=1
;;
@@
-99,7
+105,7
@@
COLUMNS=80
title "Start build packages"
timer_reset
title "Start build packages"
timer_reset
-$WORKSPACE/build/run-build-packages-one-target.sh "${build_args[@]}"
+$WORKSPACE/build/run-build-packages-one-target.sh "${build_args[@]}"
$DEBUG
checkexit $? "build packages"
title "End of build packages (`timer`)"
checkexit $? "build packages"
title "End of build packages (`timer`)"
@@
-108,7
+114,7
@@
title "Start test packages"
timer_reset
if [ ${#failures[@]} -eq 0 ]; then
timer_reset
if [ ${#failures[@]} -eq 0 ]; then
- $WORKSPACE/build/run-build-packages-one-target.sh "${build_args[@]}" --test-packages
+ $WORKSPACE/build/run-build-packages-one-target.sh "${build_args[@]}" --test-packages
$DEBUG
else
echo "Skipping package upload, there were errors building the packages"
fi
else
echo "Skipping package upload, there were errors building the packages"
fi
@@
-135,4
+141,4
@@
if [[ "$UPLOAD" != 0 ]]; then
title "End of upload packages (`timer`)"
fi
title "End of upload packages (`timer`)"
fi
-exit_cleanly
\ No newline at end of file
+exit_cleanly