1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
4 # frozen_string_literal: true
10 python3-arvados-python-client
11 python3-arvados-cwl-runner
12 python3-crunchstat-summary
21 control 'arvados shell packages' do
22 title 'should be installed'
24 packages_list.each do |p|
25 describe package(p) do
26 it { should be_installed }
31 control 'arvados shell gems' do
32 title 'should be installed'
36 it { should be_installed }
41 control 'arvados shell gems' do
42 title 'should be installed'
44 only_if('Skipped in Centos-7 and Ubuntu-18.04') do
45 !((os.redhat? and platform[:release].to_f.truncate == 7) or
46 (os.name == 'ubuntu' and platform[:release].to_f.truncate == 18))
49 describe gem('arvados-cli') do
50 it { should be_installed }
54 control 'RVM arvados shell gems' do
55 title 'should be installed'
57 only_if('Forced requirement for Centos-7 and Ubuntu-18.04') do
58 (os.redhat? and platform[:release].to_f.truncate == 7) or
59 (os.name == 'ubuntu' and platform[:release].to_f.truncate == 18)
62 describe gem('arvados-cli', '/usr/local/rvm/bin/rvm all do gem') do
63 it { should be_installed }