Skip to content

Commit

Permalink
Add error handling for pip3 install
Browse files Browse the repository at this point in the history
  • Loading branch information
grdumas committed Dec 12, 2024
1 parent 5ac170f commit 1dab34c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,14 @@ for package in "${packages[@]}"; do
done



# pip install requirements
pip3 install boto boto3 --user
pip3 install 'yq==2.10.0' --user
python_packages=(boto boto3 'yq==2.10.0')
for package in "${python_packages[@]}"; do
pip3 install "$package" --user || {
exit 1
}
done


# install AWS collection for ansible
Expand Down

0 comments on commit 1dab34c

Please sign in to comment.