X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/85bd5f3272cfc8ba8e54f4f47ea9865d7de62779..dcbe7480d9de61ed35fca508b06fa17075fce32c:/build/run-build-packages.sh diff --git a/build/run-build-packages.sh b/build/run-build-packages.sh index 81aef7f340..5ce2d9246b 100755 --- a/build/run-build-packages.sh +++ b/build/run-build-packages.sh @@ -107,6 +107,9 @@ case "$TARGET" in debian8) FORMAT=deb ;; + debian9) + FORMAT=deb + ;; ubuntu1204) FORMAT=deb ;; @@ -217,7 +220,7 @@ if [[ -z "$ONLY_BUILD" ]] || [[ "libarvados-perl" = "$ONLY_BUILD" ]] ; then make install INSTALLDIRS=perl >"$STDOUT_IF_DEBUG" && \ fpm_build install/lib/=/usr/share libarvados-perl \ "Curoverse, Inc." dir "$(version_from_git)" install/man/=/usr/share/man \ - "$WORKSPACE/LICENSE-2.0.txt=/usr/share/doc/libarvados-perl/LICENSE-2.0.txt" && \ + "$WORKSPACE/apache-2.0.txt=/usr/share/doc/libarvados-perl/apache-2.0.txt" && \ mv --no-clobber libarvados-perl*.$FORMAT "$WORKSPACE/packages/$TARGET/" fi fi @@ -337,6 +340,7 @@ fi # Go binaries cd $WORKSPACE/packages/$TARGET export GOPATH=$(mktemp -d) +go get -v github.com/kardianos/govendor package_go_binary sdk/go/crunchrunner crunchrunner \ "Crunchrunner executes a command inside a container and uploads the output" package_go_binary services/arv-git-httpd arvados-git-httpd \ @@ -349,6 +353,8 @@ package_go_binary services/crunch-run crunch-run \ "Supervise a single Crunch container" package_go_binary services/crunchstat crunchstat \ "Gather cpu/memory/network statistics of running Crunch jobs" +package_go_binary services/health arvados-health \ + "Check health of all Arvados cluster services" package_go_binary services/keep-balance keep-balance \ "Rebalance and garbage-collect data blocks stored in Arvados Keep" package_go_binary services/keepproxy keepproxy \ @@ -616,7 +622,9 @@ if [[ "$?" == "0" ]] ; then \cp config/application.yml.example config/application.yml -f \cp config/environments/production.rb.example config/environments/production.rb -f sed -i 's/secret_token: ~/secret_token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/' config/application.yml + sed -i 's/keep_web_url: false/keep_web_url: exampledotcom/' config/application.yml + RAILS_ENV=production RAILS_GROUPS=assets bundle exec rake npm:install >/dev/null RAILS_ENV=production RAILS_GROUPS=assets bundle exec rake assets:precompile >/dev/null # Remove generated configuration files so they don't go in the package.