Skip to content

ci: run GKE integration tests from the generated test matrix - #2343

Open
gaurang-delavadiya wants to merge 1 commit into
aws:mainfrom
gaurang-delavadiya:convert-gke-tests-to-helm
Open

gaurang-delavadiya wants to merge 1 commit into
aws:mainfrom
gaurang-delavadiya:convert-gke-tests-to-helm

Conversation

@gaurang-delavadiya

@gaurang-delavadiya gaurang-delavadiya commented Oct 9, 2026 •

Copy link
Copy Markdown

Description of the issue

#2299 adds GKEIntegrationTest with a fixed single-entry matrix. With aws/amazon-cloudwatch-agent-test#781, the GKE suite installs the agent through the Helm chart and is in the test case generator, like EKS and AKS (#2342).

Description of changes

Builds on #2299 (its commits show here until it merges):

  • GenerateTestMatrix outputs gke_matrix from gke_complete_test_matrix.json.
  • GKEIntegrationTest runs from gke_matrix. The job name and WIP handling come from the matrix row, and it passes test_dir, gke_node_machine_type (from instanceType) and the terraform directory from the row.
  • A "Resolve Helm chart branch" step (input, else newest release-*, else main) passes helm_chart_branch, as the EKS job does.
  • The Workload Identity Federation authentication and GCEIntegrationTest from ci: Add GCE and GKE integration test jobs #2299 are unchanged.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Requirements

Workflow-only change; make fmt and make lint are not affected.

Merge after #2299 and aws/amazon-cloudwatch-agent-test#781, which adds the helm_chart_branch variable this job passes. This PR and #2342 both add a matrix output to GenerateTestMatrix; whichever merges second needs a small rebase.


Integration Tests

To run integration tests against this PR, add the ready for testing label.

Drive GKEIntegrationTest from gke_matrix in the test case generator, matching
EKSIntegrationTest and AKSIntegrationTest, so new GKE suites only need a
generator entry in the test repo. terraform/gcp/gke now installs the agent
through the Helm chart.

- GenerateTestMatrix outputs gke_matrix
- Pass test_dir, the node machine type and the Helm chart branch (input,
  latest release-*, or main) to terraform/gcp/gke
- Keep the Workload Identity Federation authentication and the GCE job as is
@gaurang-delavadiya
gaurang-delavadiya force-pushed the convert-gke-tests-to-helm branch from c0244aa to a5cc299 Compare October 16, 2026 11:40
@gaurang-delavadiya
gaurang-delavadiya marked this pull request as ready for review October 16, 2026 11:42
@gaurang-delavadiya
gaurang-delavadiya requested a review from a team as a code owner October 16, 2026 11:42

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant