Skip to content

ci: run AKS integration tests from the generated test matrix - #2342

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

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

Conversation

@gaurang-delavadiya

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

Copy link
Copy Markdown

Description of the issue

The AKS suites run from two hand-written jobs, AKSIntegrationTest and AKSContainerInsightsIntegrationTest, each with its own filter and terraform variables, so every new AKS suite needs a new job. The EKS jobs are driven by matrices from the test repo's test case generator. aws/amazon-cloudwatch-agent-test#780 adds AKS to the generator and selects the suite from test_dir.

Description of changes

  • GenerateTestMatrix outputs aks_matrix from aks_complete_test_matrix.json, using the same filters as the other matrices.
  • A single AKSIntegrationTest matrix job replaces the two AKS jobs. The job name and WIP handling come from the matrix row, and it passes test_dir, aks_node_vm_size (from instanceType) and the terraform directory from the row.
  • A "Resolve Helm chart branch" step picks the helm_chart_branch input, else the newest release-* branch of aws-observability/helm-charts, else main, as the EKS job does, and passes it as helm_chart_branch.
  • test_dir_filter now selects AKS rows the same way as the other matrix jobs, so ./test/azure alone no longer selects the AKS jobs.
  • Azure and AWS authentication 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 aws/amazon-cloudwatch-agent-test#780, which removes the test_mode variable the current jobs pass.


Integration Tests

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

Replace the hand-written AKSIntegrationTest and AKSContainerInsightsIntegrationTest
jobs with a single AKSIntegrationTest matrix job fed by aks_matrix from the test
case generator, matching EKSIntegrationTest. New AKS tests now only need a
generator entry in the test repo.

- GenerateTestMatrix outputs aks_matrix
- Resolve the Helm chart branch (input, latest release-*, or main) and pass it
  to terraform/azure/aks
@gaurang-delavadiya
gaurang-delavadiya force-pushed the convert-aks-tests-to-helm branch from 0c73813 to 4001026 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
@github-actions

Copy link
Copy Markdown
Contributor

This PR was marked stale due to lack of activity.

@github-actions github-actions Bot added the Stale label Oct 24, 2026

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant