diff --git a/extensions/base/suite.go b/extensions/base/suite.go index eb5acac31ff..848572c3985 100644 --- a/extensions/base/suite.go +++ b/extensions/base/suite.go @@ -52,7 +52,7 @@ func (s *Suite) TearDownSuite() { } const ( - sha = "9bf57e2989b96a7ae1f9e19808eed1adee4dd810" + sha = "1bc06f212618f5d782333574e7c3aaf87de606c8" ) // SetupSuite runs all extensions diff --git a/suites/basic/suite.gen.go b/suites/basic/suite.gen.go index 7b2371ee36f..f6e9fbec71e 100755 --- a/suites/basic/suite.gen.go +++ b/suites/basic/suite.gen.go @@ -28,7 +28,7 @@ func (s *Suite) SetupSuite() { r.Run(`WH=$(kubectl get pods -l app=admission-webhook-k8s -n nsm-system --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')` + "\n" + `kubectl delete mutatingwebhookconfiguration ${WH}` + "\n" + `kubectl delete ns nsm-system`) }) r.Run(`kubectl create ns nsm-system`) - r.Run(`kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/basic?ref=f483bd3d40a671466124c9d244fa052827a05922`) + r.Run(`kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/basic?ref=c565cf3d30c9e332fecafa047a05ea60c1eecd34`) r.Run(`WH=$(kubectl get pods -l app=admission-webhook-k8s -n nsm-system --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')` + "\n" + `kubectl wait --for=condition=ready --timeout=1m pod ${WH} -n nsm-system`) } func (s *Suite) TestKernel2Kernel() { @@ -36,9 +36,9 @@ func (s *Suite) TestKernel2Kernel() { s.T().Cleanup(func() { r.Run(`kubectl delete ns ${NAMESPACE}`) }) - r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/f483bd3d40a671466124c9d244fa052827a05922/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/c565cf3d30c9e332fecafa047a05ea60c1eecd34/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) r.Run(`NODE=($(kubectl get nodes -o go-template='{{range .items}}{{ if not .spec.taints }}{{index .metadata.labels "kubernetes.io/hostname"}} {{end}}{{end}}')[0])`) - r.Run(`cat > kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < dnsutils.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < patch-nsc.yaml < patch-supplier.yaml < kustomization.yaml < kustomization.yaml < postgres-cl.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsmgr.yaml < kustomization.yaml < kustomization.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < kustomization.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < kustomization.yaml < kustomization.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < kustomization.yaml < kustomization.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml </dev/null 2>&1 & \` + "\n" + `'`) r.Run(`kubectl delete ns ${NAMESPACE}`) }) - r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/f483bd3d40a671466124c9d244fa052827a05922/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/c565cf3d30c9e332fecafa047a05ea60c1eecd34/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) r.Run(`NODE=($(kubectl get nodes -o go-template='{{range .items}}{{ if not .spec.taints }}{{index .metadata.labels "kubernetes.io/hostname"}} {{end}}{{end}}')[0])`) - r.Run(`cat > kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml </dev/null 2>&1 & \` + "\n" + `'`) r.Run(`kubectl delete ns ${NAMESPACE}`) }) - r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/f483bd3d40a671466124c9d244fa052827a05922/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/c565cf3d30c9e332fecafa047a05ea60c1eecd34/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) r.Run(`NODES=($(kubectl get nodes -o go-template='{{range .items}}{{ if not .spec.taints }}{{index .metadata.labels "kubernetes.io/hostname"}} {{end}}{{end}}'))`) - r.Run(`cat > kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml </dev/null 2>&1 & \` + "\n" + `'`) r.Run(`kubectl delete ns ${NAMESPACE}`) }) - r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/f483bd3d40a671466124c9d244fa052827a05922/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) - r.Run(`cat > kustomization.yaml < kustomization.yaml < example/kustomization.yaml < example/kustomization.yaml < example/client.yaml < example/patch-nse.yaml < postgres-cl.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < kustomization.yaml < kustomization.yaml < client.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml < first-iperf-s.yaml < first-iperf-s.yaml < kustomization.yaml < ns-1/first-client.yaml < ns-1/patch-nse.yaml < first-iperf-s.yaml < first-iperf-s.yaml < kustomization.yaml < ns-1/first-client.yaml < ns-1/patch-nse.yaml < kustomization.yaml < kustomization.yaml < patch-nsc.yaml < patch-nse.yaml </dev/null 2>&1 & \` + "\n" + `'`) r.Run(`kubectl delete ns ${NAMESPACE}`) }) - r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/f483bd3d40a671466124c9d244fa052827a05922/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) - r.Run(`cat > kustomization.yaml < kustomization.yaml <