2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
6 . `dirname "$(readlink -f "$0")"`/run-library.sh
7 . `dirname "$(readlink -f "$0")"`/libcloud-pin.sh
9 read -rd "\000" helpmessage <<EOF
10 $(basename $0): Build Arvados packages
13 WORKSPACE=/path/to/arvados $(basename $0) [options]
17 --build-bundle-packages (default: false)
18 Build api server and workbench packages with vendor/bundle included
20 Output debug information (default: false)
22 Distribution to build packages for (default: debian8)
23 --only-build <package>
24 Build only a specific package (or $ONLY_BUILD from environment)
26 Build command to execute (defaults to the run command defined in the
29 WORKSPACE=path Path to the Arvados source tree to build packages from
34 DEBUG=${ARVADOS_DEBUG:-0}
38 PARSEDOPTS=$(getopt --name "$0" --longoptions \
39 help,build-bundle-packages,debug,target:,only-build: \
45 eval set -- "$PARSEDOPTS"
46 while [ $# -gt 0 ]; do
49 echo >&2 "$helpmessage"
57 ONLY_BUILD="$2"; shift
67 echo >&2 "$0: unrecognized argument '$2'. Try: $0 --help"
75 if [[ "$COMMAND" != "" ]]; then
76 COMMAND="/usr/local/rvm/bin/rvm-exec default bash /jenkins/$COMMAND --target $TARGET"
79 STDOUT_IF_DEBUG=/dev/null
80 STDERR_IF_DEBUG=/dev/null
82 if [[ "$DEBUG" != 0 ]]; then
83 STDOUT_IF_DEBUG=/dev/stdout
84 STDERR_IF_DEBUG=/dev/stderr
88 declare -a PYTHON_BACKPORTS PYTHON3_BACKPORTS
91 PYTHON3_VERSION=$(python3 -c 'import sys; print("{v.major}.{v.minor}".format(v=sys.version_info))')
93 ## These defaults are suitable for any Debian-based distribution.
94 # You can customize them as needed in distro sections below.
95 PYTHON2_PACKAGE=python$PYTHON2_VERSION
96 PYTHON2_PKG_PREFIX=python
98 PYTHON2_INSTALL_LIB=lib/python$PYTHON2_VERSION/dist-packages
100 PYTHON3_PACKAGE=python$PYTHON3_VERSION
101 PYTHON3_PKG_PREFIX=python3
103 PYTHON3_INSTALL_LIB=lib/python$PYTHON3_VERSION/dist-packages
104 ## End Debian Python defaults.
121 PYTHON2_PACKAGE=$(rpm -qf "$(which python$PYTHON2_VERSION)" --queryformat '%{NAME}\n')
122 PYTHON2_PKG_PREFIX=$PYTHON2_PACKAGE
123 PYTHON2_INSTALL_LIB=lib/python$PYTHON2_VERSION/site-packages
124 PYTHON3_PACKAGE=$(rpm -qf "$(which python$PYTHON3_VERSION)" --queryformat '%{NAME}\n')
125 PYTHON3_PKG_PREFIX=$PYTHON3_PACKAGE
126 PYTHON3_PREFIX=/opt/rh/python33/root/usr
127 PYTHON3_INSTALL_LIB=lib/python$PYTHON3_VERSION/site-packages
128 export PYCURL_SSL_LIBRARY=nss
131 echo -e "$0: Unknown target '$TARGET'.\n" >&2
137 if ! [[ -n "$WORKSPACE" ]]; then
138 echo >&2 "$helpmessage"
140 echo >&2 "Error: WORKSPACE environment variable not set"
146 fpm --version >/dev/null 2>&1
148 if [[ "$?" != 0 ]]; then
149 echo >&2 "$helpmessage"
151 echo >&2 "Error: fpm not found"
156 EASY_INSTALL2=$(find_easy_install -$PYTHON2_VERSION "")
157 EASY_INSTALL3=$(find_easy_install -$PYTHON3_VERSION 3)
159 RUN_BUILD_PACKAGES_PATH="`dirname \"$0\"`"
160 RUN_BUILD_PACKAGES_PATH="`( cd \"$RUN_BUILD_PACKAGES_PATH\" && pwd )`" # absolutized and normalized
161 if [ -z "$RUN_BUILD_PACKAGES_PATH" ] ; then
162 # error; for some reason, the path is not accessible
163 # to the script (e.g. permissions re-evaled after suid)
167 debug_echo "$0 is running from $RUN_BUILD_PACKAGES_PATH"
168 debug_echo "Workspace is $WORKSPACE"
170 if [[ -f /etc/profile.d/rvm.sh ]]; then
171 source /etc/profile.d/rvm.sh
172 GEM="rvm-exec default gem"
177 # Make all files world-readable -- jenkins runs with umask 027, and has checked
178 # out our git tree here
179 chmod o+r "$WORKSPACE" -R
181 # More cleanup - make sure all executables that we'll package are 755
183 find -type d -name 'bin' |xargs -I {} find {} -type f |xargs -I {} chmod 755 {}
185 # Now fix our umask to something better suited to building and publishing
189 debug_echo "umask is" `umask`
191 if [[ ! -d "$WORKSPACE/packages/$TARGET" ]]; then
192 mkdir -p $WORKSPACE/packages/$TARGET
193 chown --reference="$WORKSPACE" "$WORKSPACE/packages/$TARGET"
197 debug_echo -e "\nPerl packages\n"
199 if [[ -z "$ONLY_BUILD" ]] || [[ "libarvados-perl" = "$ONLY_BUILD" ]] ; then
200 cd "$WORKSPACE/sdk/perl"
201 libarvados_perl_version="$(version_from_git)"
203 cd $WORKSPACE/packages/$TARGET
204 test_package_presence libarvados-perl "$libarvados_perl_version"
206 if [[ "$?" == "0" ]]; then
207 cd "$WORKSPACE/sdk/perl"
209 if [[ -e Makefile ]]; then
210 make realclean >"$STDOUT_IF_DEBUG"
212 find -maxdepth 1 \( -name 'MANIFEST*' -or -name "libarvados-perl*.$FORMAT" \) \
216 perl Makefile.PL INSTALL_BASE=install >"$STDOUT_IF_DEBUG" && \
217 make install INSTALLDIRS=perl >"$STDOUT_IF_DEBUG" && \
218 fpm_build install/lib/=/usr/share libarvados-perl \
219 "Curoverse, Inc." dir "$(version_from_git)" install/man/=/usr/share/man \
220 "$WORKSPACE/apache-2.0.txt=/usr/share/doc/libarvados-perl/apache-2.0.txt" && \
221 mv --no-clobber libarvados-perl*.$FORMAT "$WORKSPACE/packages/$TARGET/"
226 debug_echo -e "\nRuby gems\n"
228 FPM_GEM_PREFIX=$($GEM environment gemdir)
230 cd "$WORKSPACE/sdk/ruby"
231 handle_ruby_gem arvados
233 cd "$WORKSPACE/sdk/cli"
234 handle_ruby_gem arvados-cli
236 cd "$WORKSPACE/services/login-sync"
237 handle_ruby_gem arvados-login-sync
240 debug_echo -e "\nPython packages\n"
242 cd "$WORKSPACE/sdk/pam"
243 handle_python_package
245 cd "$WORKSPACE/sdk/python"
246 handle_python_package
248 cd "$WORKSPACE/sdk/cwl"
249 handle_python_package
251 cd "$WORKSPACE/services/fuse"
252 handle_python_package
254 cd "$WORKSPACE/services/nodemanager"
255 handle_python_package
260 COMMIT_HASH=$(format_last_commit_here "%H")
261 arvados_src_version="$(version_from_git)"
263 cd $WORKSPACE/packages/$TARGET
264 test_package_presence arvados-src $arvados_src_version src ""
266 if [[ "$?" == "0" ]]; then
268 SRC_BUILD_DIR=$(mktemp -d)
269 # mktemp creates the directory with 0700 permissions by default
270 chmod 755 $SRC_BUILD_DIR
271 git clone $DASHQ_UNLESS_DEBUG "$WORKSPACE/.git" "$SRC_BUILD_DIR"
274 # go into detached-head state
275 git checkout $DASHQ_UNLESS_DEBUG "$COMMIT_HASH"
276 echo "$COMMIT_HASH" >git-commit.version
279 PKG_VERSION=$(version_from_git)
280 cd $WORKSPACE/packages/$TARGET
281 fpm_build $SRC_BUILD_DIR/=/usr/local/arvados/src arvados-src 'Curoverse, Inc.' 'dir' "$PKG_VERSION" "--exclude=usr/local/arvados/src/.git" "--url=https://arvados.org" "--license=GNU Affero General Public License, version 3.0" "--description=The Arvados source code" "--architecture=all"
283 rm -rf "$SRC_BUILD_DIR"
289 cd $WORKSPACE/packages/$TARGET
290 export GOPATH=$(mktemp -d)
291 go get github.com/kardianos/govendor
292 package_go_binary cmd/arvados-client arvados-client \
293 "Arvados command line tool (beta)"
294 package_go_binary sdk/go/crunchrunner crunchrunner \
295 "Crunchrunner executes a command inside a container and uploads the output"
296 package_go_binary services/arv-git-httpd arvados-git-httpd \
297 "Provide authenticated http access to Arvados-hosted git repositories"
298 package_go_binary services/crunch-dispatch-local crunch-dispatch-local \
299 "Dispatch Crunch containers on the local system"
300 package_go_binary services/crunch-dispatch-slurm crunch-dispatch-slurm \
301 "Dispatch Crunch containers to a SLURM cluster"
302 package_go_binary services/crunch-run crunch-run \
303 "Supervise a single Crunch container"
304 package_go_binary services/crunchstat crunchstat \
305 "Gather cpu/memory/network statistics of running Crunch jobs"
306 package_go_binary services/health arvados-health \
307 "Check health of all Arvados cluster services"
308 package_go_binary services/keep-balance keep-balance \
309 "Rebalance and garbage-collect data blocks stored in Arvados Keep"
310 package_go_binary services/keepproxy keepproxy \
311 "Make a Keep cluster accessible to clients that are not on the LAN"
312 package_go_binary services/keepstore keepstore \
313 "Keep storage daemon, accessible to clients on the LAN"
314 package_go_binary services/keep-web keep-web \
315 "Static web hosting service for user data stored in Arvados Keep"
316 package_go_binary services/ws arvados-ws \
317 "Arvados Websocket server"
318 package_go_binary tools/sync-groups arvados-sync-groups \
319 "Synchronize remote groups into Arvados from an external source"
320 package_go_binary tools/keep-block-check keep-block-check \
321 "Verify that all data from one set of Keep servers to another was copied"
322 package_go_binary tools/keep-rsync keep-rsync \
323 "Copy all data from one set of Keep servers to another"
324 package_go_binary tools/keep-exercise keep-exercise \
325 "Performance testing tool for Arvados Keep"
328 # Please resist the temptation to add --no-python-fix-name to the fpm call here
329 # (which would remove the python- prefix from the package name), because this
330 # package is a dependency of arvados-fuse, and fpm can not omit the python-
331 # prefix from only one of the dependencies of a package... Maybe I could
332 # whip up a patch and send it upstream, but that will be for another day. Ward,
334 cd $WORKSPACE/packages/$TARGET
335 rm -rf "$WORKSPACE/sdk/python/build"
336 arvados_python_client_version=${ARVADOS_BUILDING_VERSION:-$(awk '($1 == "Version:"){print $2}' $WORKSPACE/sdk/python/arvados_python_client.egg-info/PKG-INFO)}
337 test_package_presence ${PYTHON2_PKG_PREFIX}-arvados-python-client "$arvados_python_client_version" python
338 if [[ "$?" == "0" ]]; then
339 fpm_build $WORKSPACE/sdk/python "${PYTHON2_PKG_PREFIX}-arvados-python-client" 'Curoverse, Inc.' 'python' "$arvados_python_client_version" "--url=https://arvados.org" "--description=The Arvados Python SDK" --depends "${PYTHON2_PKG_PREFIX}-setuptools" --deb-recommends=git
343 cd $WORKSPACE/packages/$TARGET
344 rm -rf "$WORKSPACE/sdk/cwl/build"
345 arvados_cwl_runner_version=${ARVADOS_BUILDING_VERSION:-$(awk '($1 == "Version:"){print $2}' $WORKSPACE/sdk/cwl/arvados_cwl_runner.egg-info/PKG-INFO)}
346 declare -a iterargs=()
347 if [[ -z "$ARVADOS_BUILDING_VERSION" ]]; then
348 arvados_cwl_runner_iteration=4
349 iterargs+=(--iteration $arvados_cwl_runner_iteration)
351 arvados_cwl_runner_iteration=
353 test_package_presence ${PYTHON2_PKG_PREFIX}-arvados-cwl-runner "$arvados_cwl_runner_version" python "$arvados_cwl_runner_iteration"
354 if [[ "$?" == "0" ]]; then
355 fpm_build $WORKSPACE/sdk/cwl "${PYTHON2_PKG_PREFIX}-arvados-cwl-runner" 'Curoverse, Inc.' 'python' "$arvados_cwl_runner_version" "--url=https://arvados.org" "--description=The Arvados CWL runner" --depends "${PYTHON2_PKG_PREFIX}-setuptools" --depends "${PYTHON2_PKG_PREFIX}-subprocess32 >= 3.5.0" --depends "${PYTHON2_PKG_PREFIX}-pathlib2" --depends "${PYTHON2_PKG_PREFIX}-scandir" "${iterargs[@]}"
358 # schema_salad. This is a python dependency of arvados-cwl-runner,
359 # but we can't use the usual PYTHONPACKAGES way to build this package due to the
360 # intricacies of how version numbers get generated in setup.py: we need a specific version,
361 # e.g. 1.7.20160316203940. If we don't explicitly list that version with the -v
362 # argument to fpm, and instead specify it as schema_salad==1.7.20160316203940, we get
363 # a package with version 1.7. That's because our gittagger hack is not being
364 # picked up by self.distribution.get_version(), which is called from
365 # https://github.com/jordansissel/fpm/blob/master/lib/fpm/package/pyfpm/get_metadata.py
366 # by means of this command:
368 # python2.7 setup.py --command-packages=pyfpm get_metadata --output=metadata.json
370 # So we build this thing separately.
373 saladversion=$(cat "$WORKSPACE/sdk/cwl/setup.py" | grep schema-salad== | sed "s/.*==\(.*\)'.*/\1/")
374 test_package_presence python-schema-salad "$saladversion" python 2
375 if [[ "$?" == "0" ]]; then
376 fpm_build schema_salad "" "" python $saladversion --depends "${PYTHON2_PKG_PREFIX}-lockfile >= 1:0.12.2-2" --depends "${PYTHON2_PKG_PREFIX}-avro = 1.8.1-2" --iteration 2
379 # And for cwltool we have the same problem as for schema_salad. Ward, 2016-03-17
380 cwltoolversion=$(cat "$WORKSPACE/sdk/cwl/setup.py" | grep cwltool== | sed "s/.*==\(.*\)'.*/\1/")
381 test_package_presence python-cwltool "$cwltoolversion" python 2
382 if [[ "$?" == "0" ]]; then
383 fpm_build cwltool "" "" python $cwltoolversion --iteration 2
387 if [[ $TARGET =~ debian|ubuntu ]]; then
388 cd $WORKSPACE/packages/$TARGET
389 rm -rf "$WORKSPACE/sdk/pam/build"
390 libpam_arvados_version=$(awk '($1 == "Version:"){print $2}' $WORKSPACE/sdk/pam/arvados_pam.egg-info/PKG-INFO)
391 test_package_presence libpam-arvados "$libpam_arvados_version" python
392 if [[ "$?" == "0" ]]; then
393 fpm_build $WORKSPACE/sdk/pam libpam-arvados 'Curoverse, Inc.' 'python' "$libpam_arvados_version" "--url=https://arvados.org" "--description=PAM module for authenticating shell logins using Arvados API tokens" --depends libpam-python
398 # Please see comment about --no-python-fix-name above; we stay consistent and do
399 # not omit the python- prefix first.
400 cd $WORKSPACE/packages/$TARGET
401 rm -rf "$WORKSPACE/services/fuse/build"
402 arvados_fuse_version=${ARVADOS_BUILDING_VERSION:-$(awk '($1 == "Version:"){print $2}' $WORKSPACE/services/fuse/arvados_fuse.egg-info/PKG-INFO)}
403 test_package_presence "${PYTHON2_PKG_PREFIX}-arvados-fuse" "$arvados_fuse_version" python
404 if [[ "$?" == "0" ]]; then
405 fpm_build $WORKSPACE/services/fuse "${PYTHON2_PKG_PREFIX}-arvados-fuse" 'Curoverse, Inc.' 'python' "$arvados_fuse_version" "--url=https://arvados.org" "--description=The Keep FUSE driver" --depends "${PYTHON2_PKG_PREFIX}-setuptools"
409 cd $WORKSPACE/packages/$TARGET
410 rm -rf "$WORKSPACE/services/nodemanager/build"
411 nodemanager_version=${ARVADOS_BUILDING_VERSION:-$(awk '($1 == "Version:"){print $2}' $WORKSPACE/services/nodemanager/arvados_node_manager.egg-info/PKG-INFO)}
412 test_package_presence arvados-node-manager "$nodemanager_version" python
413 if [[ "$?" == "0" ]]; then
414 fpm_build $WORKSPACE/services/nodemanager arvados-node-manager 'Curoverse, Inc.' 'python' "$nodemanager_version" "--url=https://arvados.org" "--description=The Arvados node manager" --depends "${PYTHON2_PKG_PREFIX}-setuptools"
417 # The Docker image cleaner
418 cd $WORKSPACE/packages/$TARGET
419 rm -rf "$WORKSPACE/services/dockercleaner/build"
420 dockercleaner_version=${ARVADOS_BUILDING_VERSION:-$(awk '($1 == "Version:"){print $2}' $WORKSPACE/services/dockercleaner/arvados_docker_cleaner.egg-info/PKG-INFO)}
421 iteration="${ARVADOS_BUILDING_ITERATION:-3}"
422 test_package_presence arvados-docker-cleaner "$dockercleaner_version" python "$iteration"
423 if [[ "$?" == "0" ]]; then
424 fpm_build $WORKSPACE/services/dockercleaner arvados-docker-cleaner 'Curoverse, Inc.' 'python3' "$dockercleaner_version" "--url=https://arvados.org" "--description=The Arvados Docker image cleaner" --depends "${PYTHON3_PKG_PREFIX}-websocket-client = 0.37.0" --iteration "$iteration"
427 # The Arvados crunchstat-summary tool
428 cd $WORKSPACE/packages/$TARGET
429 crunchstat_summary_version=${ARVADOS_BUILDING_VERSION:-$(awk '($1 == "Version:"){print $2}' $WORKSPACE/tools/crunchstat-summary/crunchstat_summary.egg-info/PKG-INFO)}
430 iteration="${ARVADOS_BUILDING_ITERATION:-2}"
431 test_package_presence "$PYTHON2_PKG_PREFIX"-crunchstat-summary "$crunchstat_summary_version" python "$iteration"
432 if [[ "$?" == "0" ]]; then
433 rm -rf "$WORKSPACE/tools/crunchstat-summary/build"
434 fpm_build $WORKSPACE/tools/crunchstat-summary ${PYTHON2_PKG_PREFIX}-crunchstat-summary 'Curoverse, Inc.' 'python' "$crunchstat_summary_version" "--url=https://arvados.org" "--description=Crunchstat-summary reads Arvados Crunch log files and summarize resource usage" --iteration "$iteration"
437 ## if libcloud becomes our own fork see
438 ## https://dev.arvados.org/issues/12268#note-27
440 # Python 2 dependencies
441 declare -a PIP_DOWNLOAD_SWITCHES=(--no-deps)
442 # Add --no-use-wheel if this pip knows it.
443 pip wheel --help >/dev/null 2>&1
445 0) PIP_DOWNLOAD_SWITCHES+=(--no-use-wheel) ;;
447 *) echo "WARNING: `pip wheel` test returned unknown exit code $?" ;;
450 while read -r line || [[ -n "$line" ]]; do
451 # echo "Text read from file: $line"
452 if [[ "$line" =~ ^# ]]; then
455 IFS='|'; arr=($line); unset IFS
459 IFS=',';dists=($dist); unset IFS
462 for d in "${dists[@]}"; do
463 if [[ "$d" == "$TARGET" ]] || [[ "$d" == "all" ]]; then
468 if [[ "$MATCH" != "1" ]]; then
477 declare -a 'extra_arr=('"$extra"')'
479 if [[ "$FORMAT" == "rpm" ]]; then
480 if [[ "$arch" == "all" ]]; then
483 if [[ "$arch" == "amd64" ]]; then
488 if [[ "$pkgtype" == "python" ]]; then
489 outname=$(echo "$name" | sed -e 's/^python-//' -e 's/_/-/g' -e "s/^/${PYTHON2_PKG_PREFIX}-/")
491 outname=$(echo "$name" | sed -e 's/^python-//' -e 's/_/-/g' -e "s/^/${PYTHON3_PKG_PREFIX}-/")
494 if [[ -n "$ONLY_BUILD" ]] && [[ "$outname" != "$ONLY_BUILD" ]] ; then
499 httplib2|google-api-python-client)
500 test_package_presence $outname $version $pkgtype $iteration $arch
501 if [[ "$?" == "0" ]]; then
502 # Work around 0640 permissions on some package files.
503 # See #7591 and #7991.
504 pyfpm_workdir=$(mktemp --tmpdir -d pyfpm-XXXXXX) && (
507 pip install "${PIP_DOWNLOAD_SWITCHES[@]}" --download . "$name==$version"
508 # Sometimes pip gives us a tarball, sometimes a zip file...
509 DOWNLOADED=`ls $name-*`
510 [[ "$DOWNLOADED" =~ ".tar" ]] && tar -xf $DOWNLOADED
511 [[ "$DOWNLOADED" =~ ".zip" ]] && unzip $DOWNLOADED
513 "python$PYTHON2_VERSION" setup.py $DASHQ_UNLESS_DEBUG egg_info build
516 fpm_build . "$outname" "" "$pkgtype" "$version" --iteration "$iteration" "${extra_arr[@]}"
517 # The upload step uses the package timestamp to determine
518 # if it is new. --no-clobber plays nice with that.
519 mv --no-clobber "$outname"*.$FORMAT "$WORKSPACE/packages/$TARGET"
521 if [ 0 != "$?" ]; then
522 echo "ERROR: $name build process failed"
525 if [ -n "$pyfpm_workdir" ]; then
526 rm -rf "$pyfpm_workdir"
531 test_package_presence $outname $version $pkgtype $iteration $arch
532 if [[ "$?" == "0" ]]; then
533 fpm_build "$name" "$outname" "" "$pkgtype" "$version" --iteration "$iteration" "${extra_arr[@]}"
538 done <`dirname "$(readlink -f "$0")"`"/build.list"
540 # Build the API server package
541 test_rails_package_presence arvados-api-server "$WORKSPACE/services/api"
542 if [[ "$?" == "0" ]]; then
543 handle_rails_package arvados-api-server "$WORKSPACE/services/api" \
544 "$WORKSPACE/agpl-3.0.txt" --url="https://arvados.org" \
545 --description="Arvados API server - Arvados is a free and open source platform for big data science." \
546 --license="GNU Affero General Public License, version 3.0"
549 # Build the workbench server package
550 test_rails_package_presence arvados-workbench "$WORKSPACE/apps/workbench"
551 if [[ "$?" == "0" ]] ; then
554 cd "$WORKSPACE/apps/workbench"
556 # We need to bundle to be ready even when we build a package without vendor directory
557 # because asset compilation requires it.
558 bundle install --system >"$STDOUT_IF_DEBUG"
560 # clear the tmp directory; the asset generation step will recreate tmp/cache/assets,
561 # and we want that in the package, so it's easier to not exclude the tmp directory
562 # from the package - empty it instead.
566 # Set up application.yml and production.rb so that asset precompilation works
567 \cp config/application.yml.example config/application.yml -f
568 \cp config/environments/production.rb.example config/environments/production.rb -f
569 sed -i 's/secret_token: ~/secret_token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/' config/application.yml
570 sed -i 's/keep_web_url: false/keep_web_url: exampledotcom/' config/application.yml
572 RAILS_ENV=production RAILS_GROUPS=assets bundle exec rake npm:install >/dev/null
573 RAILS_ENV=production RAILS_GROUPS=assets bundle exec rake assets:precompile >/dev/null
575 # Remove generated configuration files so they don't go in the package.
576 rm config/application.yml config/environments/production.rb
579 if [[ "$?" != "0" ]]; then
580 echo "ERROR: Asset precompilation failed"
583 handle_rails_package arvados-workbench "$WORKSPACE/apps/workbench" \
584 "$WORKSPACE/agpl-3.0.txt" --url="https://arvados.org" \
585 --description="Arvados Workbench - Arvados is a free and open source platform for big data science." \
586 --license="GNU Affero General Public License, version 3.0"
590 # clean up temporary GOPATH