Skip to content

ci: parallelize e2e job to speed it up - #1528

Merged
matheuscscp merged 3 commits into
fluxcd:mainfrom
Iam-Karan-Suresh:ci/split-e2e-workflow-jobs
Jul 12, 2026
Merged

ci: parallelize e2e job to speed it up#1528
matheuscscp merged 3 commits into
fluxcd:mainfrom
Iam-Karan-Suresh:ci/split-e2e-workflow-jobs

Conversation

@Iam-Karan-Suresh

@Iam-Karan-Suresh Iam-Karan-Suresh commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Closes: #1522

Summary

Refactor the e2e GitHub Actions workflow by splitting the large monolithic job into five smaller, focused jobs that can run in parallel.

Changes

  • Add a dedicated test job for unit tests and static analysis.

  • Split e2e tests into:

    • test
    • e2e-smoke
    • e2e-ssa
    • e2e-lifecycle
    • e2e-advanced
  • Group related test scenarios into dedicated jobs for better organization.

  • Reduce overall CI execution time through parallelization.

This change improves workflow maintainability and helps speed up CI runs.

Hi @matheuscscp . Happy to refactor based on your suggestions 🙏

@stefanprodan

Copy link
Copy Markdown
Member

GitHub now supports parallel steps, so instead of wasting time rebuilding the container in different jobs, we can just split the test inside the same workflow: https://github.blog/changelog/2026-06-25-actions-steps-can-now-be-run-in-parallel/

@Iam-Karan-Suresh
Iam-Karan-Suresh force-pushed the ci/split-e2e-workflow-jobs branch from a15a5f4 to c3d9562 Compare June 30, 2026 01:59
@Iam-Karan-Suresh

Copy link
Copy Markdown
Contributor Author

GitHub now supports parallel steps, so instead of wasting time rebuilding the container in different jobs, we can just split the test inside the same workflow: https://github.blog/changelog/2026-06-25-actions-steps-can-now-be-run-in-parallel/

hi @stefanprodan @matheuscscp Updated the pr and happy to iterate based on your suggestions 🙏

@matheuscscp

Copy link
Copy Markdown
Member

@Iam-Karan-Suresh Please rebase and force-push 🙏

@Iam-Karan-Suresh
Iam-Karan-Suresh force-pushed the ci/split-e2e-workflow-jobs branch from c3d9562 to af60e98 Compare June 30, 2026 10:30
@Iam-Karan-Suresh

Copy link
Copy Markdown
Contributor Author

@matheuscscp rebased and push the changes

@matheuscscp matheuscscp added area/ci CI related issues and pull requests backport:release/v1.6.x To be backported to release/v1.6.x labels Jul 12, 2026
Iam-Karan-Suresh and others added 2 commits July 12, 2026 19:12
Signed-off-by: iam-karan-suresh <karansuresh.info@gmail.com>
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
@matheuscscp
matheuscscp force-pushed the ci/split-e2e-workflow-jobs branch from af60e98 to 0b1acee Compare July 12, 2026 18:12
@matheuscscp matheuscscp changed the title ci: split e2e workflow into smaller parallel jobs ci: parallelize e2e job to speed it up Jul 12, 2026
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>

@matheuscscp matheuscscp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

Thanks very much @Iam-Karan-Suresh!

@matheuscscp
matheuscscp merged commit f9dfbeb into fluxcd:main Jul 12, 2026
6 checks passed
@fluxcdbot

Copy link
Copy Markdown
Member

Successfully created backport PR for release/v1.6.x:

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

Labels

area/ci CI related issues and pull requests backport:release/v1.6.x To be backported to release/v1.6.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: parallelize e2e job to speed it up

4 participants