Skip to content

Commit

Permalink
Add pip dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
super-harsh committed May 28, 2024
1 parent 082b1d8 commit 58dba2a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .devcontainer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ if ! command -v az > /dev/null 2>&1; then
exit 1
fi

#doc# | Pip3 | latest | https://pip.pypa.io/en/stable/installation/ |
if ! command -v pip3 > /dev/null 2>&1; then
write-error "Pip3 must be installed manually: https://pip.pypa.io/en/stable/installation/"
exit 1
fi

write-verbose "Installing tools to $TOOL_DEST"

# Install Go tools
Expand Down Expand Up @@ -308,7 +314,11 @@ if [ "$VERBOSE" == true ]; then
echo "Installed tools: $(ls "$TOOL_DEST")"
fi

if [ "$DEVCONTAINER" == true ]; then
# python packages to be installed for helm validation script
# using `--break-system-packages` here since the python3 env is externally managed through the OS, so we have to pass this to install the dependency for local environment.
pip3 install deepdiff --break-system-packages

if [ "$DEVCONTAINER" == true ]; then

# Webhook Certs
write-info "Setting up k8s webhook certificates"
Expand Down

0 comments on commit 58dba2a

Please sign in to comment.