Skip to content

Commit

Permalink
Fix istio path change
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Dzikowski <[email protected]>
  • Loading branch information
dzikowski committed Oct 4, 2023
1 parent d15dde9 commit b540852
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/test-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,27 @@ jobs:
./"${KREW}" install krew
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
kubectl krew install hlf
echo 'export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
if [ -f "~/.bashrc" ]; then
echo 'export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
fi
if [ -f "~/.zshrc" ]; then
echo 'export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
fi
helm repo add kfs "https://kfsoftware.github.io/hlf-helm-charts" --force-update
helm install hlf-operator --version=1.8.2 kfs/hlf-operator
istio_target=$(pwd)
$fablo_root_dir/install-istio.sh "$istio_target"
istio_path_change="export PATH=\"$istio_target/bin:\$PATH\""
echo "$istio_path_change" >> ~/.bashrc && source ~/.bashrc
istio_path_change="export PATH=\"$istio_target/$(cd "$target_dir" && find istio-* | head -n 1)/bin:\$PATH\""
if [ -f "~/.bashrc" ]; then
echo "$istio_path_change" >> ~/.bashrc && source ~/.bashrc
fi
if [ -f "~/.zshrc" ]; then
echo "$istio_path_change" >> ~/.zshrc && source ~/.zshrc
fi
$fablo_root_dir/apply-istio.sh
Expand Down

0 comments on commit b540852

Please sign in to comment.