1 # -*- coding: utf-8 -*-
4 {#- Get the `tplroot` from `tpldir` #}
5 {%- set tplroot = tpldir.split('/')[0] %}
6 {%- from tplroot ~ "/map.jinja" import arvados with context %}
8 {%- if arvados.ruby.manage_ruby %}
10 {%- if arvados.ruby.use_rvm %}
11 # Centos 7 has no python3-gnupg package, so using gpg.present
12 # will fail when it can't list the existing keys.
13 # Doing it the hard way
14 arvados-ruby-package-install-gpg-cmd-run-gpg-michal-papis:
16 - name: /bin/gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
18 - /bin/gpg --list-keys 409B6B1796C275462A1703113804BB82D39DC0E3
20 arvados-ruby-package-install-gpg-cmd-run-gpg-piotr-kuczynski:
22 - name: /bin/gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
24 - /bin/gpg --list-keys 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
26 arvados-ruby-package-install-rvm-cmd-run-curl:
28 - name: curl -s -L http://get.rvm.io | bash -s stable
29 - unless: test -f /usr/local/rvm/bin/rvm
31 - cmd: arvados-ruby-package-install-gpg-cmd-run-gpg-michal-papis
32 - cmd: arvados-ruby-package-install-gpg-cmd-run-gpg-piotr-kuczynski
34 arvados-ruby-package-install-ruby-rvm-installed:
36 - name: {{ arvados.ruby.pkg }}
39 - cmd: arvados-ruby-package-install-rvm-cmd-run-curl
43 arvados-ruby-package-install-ruby-pkg-installed:
45 - name: {{ arvados.ruby.pkg }}