diff --git a/extensions/base/suite.go b/extensions/base/suite.go index 3185cf6bd2..cf1104cc60 100644 --- a/extensions/base/suite.go +++ b/extensions/base/suite.go @@ -52,7 +52,7 @@ func (s *Suite) TearDownSuite() { } const ( - sha = "b445d646e5dae891c75812402b5c0168a1f2333c" + sha = "5827b38df22974a2160dceeb65ac517527fd39ff" ) // SetupSuite runs all extensions diff --git a/suites/basic/suite.gen.go b/suites/basic/suite.gen.go index a0da37f6c6..6eaa916efb 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=ade88bb54d2a6eef2187601e862efbc44583bea9`) + r.Run(`kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/basic?ref=572a67bf100c7fa8fdf852bca7657e910023757e`) 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/ade88bb54d2a6eef2187601e862efbc44583bea9/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/572a67bf100c7fa8fdf852bca7657e910023757e/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/ade88bb54d2a6eef2187601e862efbc44583bea9/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/572a67bf100c7fa8fdf852bca7657e910023757e/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/ade88bb54d2a6eef2187601e862efbc44583bea9/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/572a67bf100c7fa8fdf852bca7657e910023757e/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/ade88bb54d2a6eef2187601e862efbc44583bea9/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/ade88bb54d2a6eef2187601e862efbc44583bea9/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) - r.Run(`cat > kustomization.yaml < kustomization.yaml <