diff --git a/extensions/base/suite.go b/extensions/base/suite.go index cfab679676d..b4799308e52 100644 --- a/extensions/base/suite.go +++ b/extensions/base/suite.go @@ -52,7 +52,7 @@ func (s *Suite) TearDownSuite() { } const ( - sha = "74a702c74e4cccd513f460420a955431000a7bda" + sha = "ff7a9d2fb31fd358e1fbb1480c3ba9d9b386d16c" ) // SetupSuite runs all extensions diff --git a/suites/basic/suite.gen.go b/suites/basic/suite.gen.go index 41d71787717..6e1d86a0b2a 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=3f9d7c99b036ca1fbe64dc4e9190be0177668e31`) + r.Run(`kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/basic?ref=5013e8db94a583036b9410be8628914109c5234d`) 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/3f9d7c99b036ca1fbe64dc4e9190be0177668e31/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/5013e8db94a583036b9410be8628914109c5234d/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 < dnsutils.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 < 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 < 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 < docker-compose.override.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/3f9d7c99b036ca1fbe64dc4e9190be0177668e31/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/5013e8db94a583036b9410be8628914109c5234d/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/3f9d7c99b036ca1fbe64dc4e9190be0177668e31/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/5013e8db94a583036b9410be8628914109c5234d/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/3f9d7c99b036ca1fbe64dc4e9190be0177668e31/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 < ns-2/second-client.yaml < ns-2/third-client.yaml < ns-2/patch-nse.yaml < ns-2/kustomization.yaml < ns-2/kustomization.yaml < client.yaml < first-iperf-s.yaml < first-iperf-s.yaml < kustomization.yaml < ns-1/first-client.yaml < ns-1/patch-nse.yaml < ns-2/second-client.yaml < ns-2/third-client.yaml < ns-2/patch-nse.yaml < ns-2/kustomization.yaml < ns-2/kustomization.yaml < client.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/3f9d7c99b036ca1fbe64dc4e9190be0177668e31/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) - r.Run(`cat > kustomization.yaml < kustomization.yaml <