projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'govendor'
[arvados.git]
/
build
/
run-build-packages-python-and-ruby.sh
diff --git
a/build/run-build-packages-python-and-ruby.sh
b/build/run-build-packages-python-and-ruby.sh
index 23ddc9a94f36b20e4ca615eb8d4e8784590ad5ec..35f8104450339c80c4f9e2ff92f50cd200f2b1cc 100755
(executable)
--- a/
build/run-build-packages-python-and-ruby.sh
+++ b/
build/run-build-packages-python-and-ruby.sh
@@
-1,9
+1,12
@@
#!/bin/bash
#!/bin/bash
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
COLUMNS=80
. `dirname "$(readlink -f "$0")"`/run-library.sh
COLUMNS=80
. `dirname "$(readlink -f "$0")"`/run-library.sh
-#. `dirname "$(readlink -f "$0")"`/libcloud-pin
+#. `dirname "$(readlink -f "$0")"`/libcloud-pin
.sh
read -rd "\000" helpmessage <<EOF
$(basename $0): Build Arvados Python packages and Ruby gems
read -rd "\000" helpmessage <<EOF
$(basename $0): Build Arvados Python packages and Ruby gems
@@
-172,6
+175,12
@@
fi
if [[ "$UPLOAD" != 0 ]]; then
if [[ "$UPLOAD" != 0 ]]; then
+ if [[ $DEBUG > 0 ]]; then
+ EXTRA_UPLOAD_FLAGS=" --verbose"
+ else
+ EXTRA_UPLOAD_FLAGS=""
+ fi
+
if [[ ! -e "$WORKSPACE/packages" ]]; then
mkdir -p "$WORKSPACE/packages"
fi
if [[ ! -e "$WORKSPACE/packages" ]]; then
mkdir -p "$WORKSPACE/packages"
fi
@@
-180,7
+189,7
@@
if [[ "$UPLOAD" != 0 ]]; then
timer_reset
if [ "$PYTHON_BUILD_FAILURES" -eq 0 ]; then
timer_reset
if [ "$PYTHON_BUILD_FAILURES" -eq 0 ]; then
- /usr/local/arvados-dev/jenkins/run_upload_packages.py
-v
--workspace $WORKSPACE python
+ /usr/local/arvados-dev/jenkins/run_upload_packages.py
$EXTRA_UPLOAD_FLAGS
--workspace $WORKSPACE python
else
echo "Skipping python packages upload, there were errors building the packages"
fi
else
echo "Skipping python packages upload, there were errors building the packages"
fi
@@
-191,7
+200,7
@@
if [[ "$UPLOAD" != 0 ]]; then
timer_reset
if [ "$GEM_BUILD_FAILURES" -eq 0 ]; then
timer_reset
if [ "$GEM_BUILD_FAILURES" -eq 0 ]; then
- /usr/local/arvados-dev/jenkins/run_upload_packages.py
-v
--workspace $WORKSPACE gems
+ /usr/local/arvados-dev/jenkins/run_upload_packages.py
$EXTRA_UPLOAD_FLAGS
--workspace $WORKSPACE gems
else
echo "Skipping ruby gem upload, there were errors building the packages"
fi
else
echo "Skipping ruby gem upload, there were errors building the packages"
fi