Skip to content

Commit

Permalink
Install flask from OS repos on debian as pip throws errors
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Oct 20, 2023
1 parent 4e360d0 commit 2419ba2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spec/e2e/e2e_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,12 @@ def bootstrap_user
end

def bootstrap_flask
install_packages(['python3', 'python3-pip'])
on hosts, 'python3 -m pip install flask'
if host_inventory['platform'] == 'debian'
install_packages(['python3', 'python3-flask'])
else
install_packages(['python3', 'python3-pip'])
on hosts, 'python3 -m pip install flask'
end
end

def dl_ctr_logs
Expand Down

0 comments on commit 2419ba2

Please sign in to comment.