diff --git a/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml b/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml index 497e26a10d..81cc75119d 100644 --- a/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml +++ b/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml @@ -38,6 +38,20 @@ steps: echo "Cluster successfully created" displayName: Create test cluster condition: succeeded() + + - script: | + echo "install kubetest2 and gsutils" + go get github.com/onsi/ginkgo/ginkgo + go get github.com/onsi/gomega/... + go install github.com/onsi/ginkgo/ginkgo@latest + go install sigs.k8s.io/kubetest2@latest + go install sigs.k8s.io/kubetest2/kubetest2-noop@latest + go install sigs.k8s.io/kubetest2/kubetest2-tester-ginkgo@latest + wget https://storage.googleapis.com/pub/gsutil.tar.gz + tar xfz gsutil.tar.gz + sudo mv gsutil /usr/local/bin + name: "installKubetest" + displayName: "Set up Conformance Tests" - script: | ls -lah @@ -69,6 +83,15 @@ steps: pathtoPublish: "$(Build.ArtifactStagingDirectory)/aks-swift-output" condition: always() + - script: | + echo "Run Service Conformance E2E" + export PATH=${PATH}:/usr/local/bin/gsutil + KUBECONFIG=~/.kube/config kubetest2 noop \ + --test ginkgo -- \ + --focus-regex "Services.*\[Conformance\].*" + name: "servicesConformance" + displayName: "Run Services Conformance Tests" + - script: | ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/aks-swift-output/ echo $ARTIFACT_DIR