Skip to content

Commit

Permalink
[ADC Build Image] Install missing yum dependencies from s3
Browse files Browse the repository at this point in the history
  • Loading branch information
hgreebe committed Jul 2, 2024
1 parent 12e0a5d commit df3adb6
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,16 @@ def default_packages
['R3.4'].each do |topic|
alinux_extras_topic topic
end

bash 'yum install missing deps' do
user 'root'
group 'root'
code <<-REQ
set -e
aws s3 cp #{node['cluster']['artifacts_build_url']}/epel/rhel7/#{node['kernel']['machine']}/epel_deps.tar.gz epel_deps.tar.gz --region #{node['cluster']['region']}
tar xzf epel_deps.tar.gz
cd epel
yum install -y * 2>/dev/null
REQ
end
end

0 comments on commit df3adb6

Please sign in to comment.