Skip to content

Commit 069fba2

Browse files
authored
Add conformance tests to swifte2e (#1556)
* conformance tests for swifte2e * fix spacing
1 parent b3b3897 commit 069fba2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.pipelines/singletenancy/aks-swift/e2e-step-template.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ steps:
3838
echo "Cluster successfully created"
3939
displayName: Create test cluster
4040
condition: succeeded()
41+
42+
- script: |
43+
echo "install kubetest2 and gsutils"
44+
go get github.com/onsi/ginkgo/ginkgo
45+
go get github.com/onsi/gomega/...
46+
go install github.com/onsi/ginkgo/ginkgo@latest
47+
go install sigs.k8s.io/kubetest2@latest
48+
go install sigs.k8s.io/kubetest2/kubetest2-noop@latest
49+
go install sigs.k8s.io/kubetest2/kubetest2-tester-ginkgo@latest
50+
wget https://storage.googleapis.com/pub/gsutil.tar.gz
51+
tar xfz gsutil.tar.gz
52+
sudo mv gsutil /usr/local/bin
53+
name: "installKubetest"
54+
displayName: "Set up Conformance Tests"
4155
4256
- script: |
4357
ls -lah
@@ -69,6 +83,15 @@ steps:
6983
pathtoPublish: "$(Build.ArtifactStagingDirectory)/aks-swift-output"
7084
condition: always()
7185

86+
- script: |
87+
echo "Run Service Conformance E2E"
88+
export PATH=${PATH}:/usr/local/bin/gsutil
89+
KUBECONFIG=~/.kube/config kubetest2 noop \
90+
--test ginkgo -- \
91+
--focus-regex "Services.*\[Conformance\].*"
92+
name: "servicesConformance"
93+
displayName: "Run Services Conformance Tests"
94+
7295
- script: |
7396
ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/aks-swift-output/
7497
echo $ARTIFACT_DIR

0 commit comments

Comments
 (0)