Merge branch '8784-dir-listings'
[arvados.git] / build / run-build-packages-sso.sh
index cc673a6d3353c56a22c416b4139dbb957045da05..a6f432b9e71eb8fe902252e1fd2728bb953f50ca 100755 (executable)
@@ -1,4 +1,7 @@
 #!/bin/bash
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
 
 JENKINS_DIR=$(dirname $(readlink -e "$0"))
 . "$JENKINS_DIR/run-library.sh"
@@ -14,7 +17,7 @@ Options:
 --debug
     Output debug information (default: false)
 --target
-    Distribution to build packages for (default: debian7)
+    Distribution to build packages for (default: debian8)
 
 WORKSPACE=path         Path to the Arvados SSO source tree to build packages from
 
@@ -22,7 +25,7 @@ EOF
 
 EXITCODE=0
 DEBUG=${ARVADOS_DEBUG:-0}
-TARGET=debian7
+TARGET=debian8
 
 PARSEDOPTS=$(getopt --name "$0" --longoptions \
     help,build-bundle-packages,debug,target: \
@@ -68,9 +71,6 @@ if [[ "$DEBUG" != 0 ]]; then
 fi
 
 case "$TARGET" in
-    debian7)
-        FORMAT=deb
-        ;;
     debian8)
         FORMAT=deb
         ;;
@@ -80,7 +80,10 @@ case "$TARGET" in
     ubuntu1404)
         FORMAT=deb
         ;;
-    centos6)
+    ubuntu1604)
+        FORMAT=deb
+        ;;
+    centos7)
         FORMAT=rpm
         ;;
     *)