Skip to content

Commit

Permalink
Add make target for running e2e tests on gke-autopilot (#2099)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrii Soldatenko <[email protected]>
  • Loading branch information
waodim and andriisoldatenko authored Sep 13, 2023
1 parent 255a71d commit 29b5351
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions hack/make/tests/e2e.mk
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,22 @@ test/e2e/applicationmonitoring/withoutcsi: manifests/crd/helm
test/e2e/supportarchive: manifests/crd/helm
go test -v -tags "$(shell ./hack/build/create_go_build_tags.sh true)" -count=1 ./test/scenarios/support_archive $(SKIPCLEANUP)

## Runs e2e tests on gke-autopilot
test/e2e/gke-autopilot: manifests/kubernetes/gke-autopilot
go test -v -tags "$(shell ./hack/build/create_go_build_tags.sh true)" -timeout 30m -count=1 ./test/scenarios/applicationmonitoring $(SKIPCLEANUP)

## Runs Application Monitoring default e2e test only on gke-autopilot
test/e2e/gke-autopilot/applicationmonitoring/default: manifests/kubernetes/gke-autopilot
go test -v -tags "$(shell ./hack/build/create_go_build_tags.sh true)" -count=1 ./test/scenarios/applicationmonitoring -run ^TestApplicationMonitoring$ $(SKIPCLEANUP)

## Runs Application Monitoring label versio detection e2e test only on gke-autopilot
test/e2e/gke-autopilot/applicationmonitoring/labelversion: manifests/kubernetes/gke-autopilot
go test -v -tags "$(shell ./hack/build/create_go_build_tags.sh true)" -timeout 25m -count=1 ./test/scenarios/applicationmonitoring -run ^TestLabelVersionDetection$ $(SKIPCLEANUP)

## Runs Application Monitoring readonly csi-volume e2e test only on gke-autopilot
test/e2e/gke-autopilot/applicationmonitoring/readonlycsivolume: manifests/kubernetes/gke-autopilot
go test -v -tags "$(shell ./hack/build/create_go_build_tags.sh true)" -timeout 20m -count=1 ./test/scenarios/applicationmonitoring -run ^TestReadOnlyCSIVolume$ $(SKIPCLEANUP)

## Runs Application Monitoring without CSI e2e test only on gke-autopilot
test/e2e/gke-autopilot/applicationmonitoring/withoutcsi: manifests/kubernetes/gke-autopilot
go test -v -tags "$(shell ./hack/build/create_go_build_tags.sh true)" -timeout 20m -count=1 ./test/scenarios/applicationmonitoring -run ^TestAppOnlyWithoutCSI$ $(SKIPCLEANUP)

0 comments on commit 29b5351

Please sign in to comment.