diff --git a/extensions/base/suite.go b/extensions/base/suite.go index 21f57038152..4e912fc3fe8 100644 --- a/extensions/base/suite.go +++ b/extensions/base/suite.go @@ -52,7 +52,7 @@ func (s *Suite) TearDownSuite() { } const ( - sha = "ff391c8ae1327dd0e64c50d9be0b070ddc2f6bb1" + sha = "a78d6085a8032c3da9fd582adbc7fb67167a817f" ) // SetupSuite runs all extensions diff --git a/suites/basic/suite.gen.go b/suites/basic/suite.gen.go index 436e359d593..1b1bb3f5a12 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=83c395e7683d06c243969e33ca0ff6ee54b70f3b`) + r.Run(`kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/basic?ref=701ba9a64bfd868360fa03aa7604157e82fe858d`) 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/83c395e7683d06c243969e33ca0ff6ee54b70f3b/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/701ba9a64bfd868360fa03aa7604157e82fe858d/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/83c395e7683d06c243969e33ca0ff6ee54b70f3b/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/701ba9a64bfd868360fa03aa7604157e82fe858d/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/83c395e7683d06c243969e33ca0ff6ee54b70f3b/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) + r.Run(`NAMESPACE=($(kubectl create -f https://raw.githubusercontent.com/networkservicemesh/deployments-k8s/701ba9a64bfd868360fa03aa7604157e82fe858d/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/83c395e7683d06c243969e33ca0ff6ee54b70f3b/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/83c395e7683d06c243969e33ca0ff6ee54b70f3b/examples/use-cases/namespace.yaml)[0])` + "\n" + `NAMESPACE=${NAMESPACE:10}`) - r.Run(`cat > kustomization.yaml < kustomization.yaml <