2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
7 apt-get -q -y install libsecret-1-0 libsecret-1-dev rpm
9 gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3 && \
10 curl -L https://get.rvm.io | bash -s stable && \
11 /usr/local/rvm/bin/rvm install 2.3 && \
12 /usr/local/rvm/bin/rvm alias create default ruby-2.3 && \
13 /usr/local/rvm/bin/rvm-exec default gem install bundler && \
14 /usr/local/rvm/bin/rvm-exec default gem install cure-fpm --version 1.6.0b
18 yarn run compile:angular --environment=webprod
20 #yarn run test:spectron && yarn run test:electron && yarn run test:angular
22 tar -czvf arvados-composer-1.0.0.tar.gz ng-dist
23 /usr/local/rvm/bin/rvm all do fpm -s tar -t deb -n arvados-composer -v 1.0.0 "--maintainer=Ward Vandewege <ward@curoverse.com>" --description "Composer Package" --deb-no-default-config-files /tmp/composer/arvados-composer-1.0.0.tar.gz
24 /usr/local/rvm/bin/rvm all do fpm -s tar -t rpm -n arvados-composer -v 1.0.0 "--maintainer=Ward Vandewege <ward@curoverse.com>" --description "Composer Package" /tmp/composer/arvados-composer-1.0.0.tar.gz