Merge branch '8767-items-available'
[arvados.git] / build / package-testing / test-package-arvados-workbench.sh
1 #!/bin/sh
2 set -e
3 cd /var/www/arvados-workbench/current/
4
5 case "$TARGET" in
6     debian*|ubuntu*)
7         apt-get install -y nginx
8         dpkg-reconfigure arvados-workbench
9         ;;
10     centos6)
11         yum install --assumeyes httpd
12         yum reinstall --assumeyes arvados-workbench
13         ;;
14     *)
15         echo -e "$0: Unknown target '$TARGET'.\n" >&2
16         exit 1
17         ;;
18 esac
19
20 /usr/local/rvm/bin/rvm-exec default bundle list >"$ARV_PACKAGES_DIR/arvados-workbench.gems"