Skip to content

Commit

Permalink
Upgrade istio-cni to v.1.22.1
Browse files Browse the repository at this point in the history
Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>
  • Loading branch information
juliusvonkohout committed Jun 12, 2024
1 parent b290393 commit 2df9223
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/kserve_cni_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- common/istio-cni-1-21/**
- common/istio-cni-1-22/**
- tests/gh-actions/install_cert_manager.sh
- common/cert-manager/**
- tests/gh-actions/install_knative-cni.sh
Expand Down
4 changes: 2 additions & 2 deletions hack/sync-istio-cni-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ if [ -n "$(git status --porcelain)" ]; then
echo "WARNING: You have uncommitted changes"
fi

find "$MANIFESTS_DIR" -type f -exec sed -i "s/istio-cni-${CURRENT_VERSION}/istio-cni-${NEW_VERSION}/g" {} +
find "$MANIFESTS_DIR" -type f -not -path '*/.git/*' -exec sed -i "s/istio-cni-${CURRENT_VERSION}/istio-cni-${NEW_VERSION}/g" {} +



echo "Committing the changes..."
cd "$MANIFESTS_DIR"
git rm -rf $ISTIO_OLD
rm -rf $ISTIO_OLD
git add .
git commit -s -m "Upgrade istio-cni to v.${COMMIT}"

0 comments on commit 2df9223

Please sign in to comment.