Skip to content

Commit

Permalink
add tests for istio-cni
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusvonkohout committed Jul 27, 2023
1 parent 37e6740 commit 4c9a896
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/gh-actions/install_istio-cni.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -e
echo "Installing Istio-cni ..."
cd common/istio-cni-1-17
kustomize build istio-crds/base | kubectl apply -f -
kustomize build istio-namespace/base | kubectl apply -f -
kustomize build istio-install/base | kubectl apply -f -
13 changes: 13 additions & 0 deletions tests/gh-actions/install_knative-cni.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
set -euo pipefail
echo "Installing KNative with isstio-cni ..."
set +e
kustomize build common/knative/knative-serving/base | kubectl apply -f -
set -e
kustomize build common/knative/knative-serving/base | kubectl apply -f -

kustomize build common/istio-cni-1-17/cluster-local-gateway/base | kubectl apply -f -
kustomize build common/istio-cni-1-17/kubeflow-istio-resources/base | kubectl apply -f -

kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 600s
kubectl patch cm config-domain --patch '{"data":{"example.com":""}}' -n knative-serving

0 comments on commit 4c9a896

Please sign in to comment.