Skip to content

Commit 108a21a

Browse files
committed
awsbatch
1 parent f11fdee commit 108a21a

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

cookbooks/aws-parallelcluster-awsbatch/recipes/awsbatch_virtualenv.rb

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,5 @@
2828
not_if { ::File.exist?("#{virtualenv_path}/bin/activate") }
2929
end
3030

31-
remote_file "#{node['cluster']['base_dir']}/awsbatch-dependencies.tgz" do
32-
source "#{node['cluster']['artifacts_s3_url']}/dependencies/PyPi/#{node['kernel']['machine']}/awsbatch-dependencies.tgz"
33-
mode '0644'
34-
retries 3
35-
retry_delay 5
36-
action :create_if_missing
37-
end
38-
39-
bash 'pip install' do
40-
user 'root'
41-
group 'root'
42-
cwd "#{node['cluster']['base_dir']}"
43-
code <<-REQ
44-
set -e
45-
tar xzf awsbatch-dependencies.tgz
46-
cd awsbatch
47-
#{virtualenv_path}/bin/pip install * -f ./ --no-index
48-
REQ
49-
end
50-
5131
node.default['cluster']['awsbatch_virtualenv_path'] = virtualenv_path
5232
node_attributes "dump node attributes"

0 commit comments

Comments
 (0)