Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Oct 26, 2025

Instead of dynamically checking and updating the ARM/AMD runner type, we can use reusable workflows and statically define two types of workflows: ARM and AMD.

There are some benefits of that approach:

  • we can run only AMD workflows for "PRs" - they will be in the same AMD workflow
  • AMD / ARM workflows are run at fixed hours
  • There is no dynamic checking for workflows when running selective checks
  • Most importantly - both AMD and ARM workflows run in vX-Y-test branches after merge (previously they were alternating - similarly to canary builds)

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch labels Oct 26, 2025
@potiuk potiuk force-pushed the better-ci-reusable-workflows branch 4 times, most recently from d682239 to b19e7bd Compare October 26, 2025 16:00
Instead of dynamically checking and updating the ARM/AMD runner type,
we can use reusable workflows and statically define two types of
workflows: ARM and AMD.

There are some benefits of that approach:

* we can run only AMD workflows for "PRs" - they will be in the
  same AMD workflow
* AMD / ARM workflows are run at fixed hours
* There is no dynamic checking for workflows when running selective
  checks
* Most importantly - both AMD and ARM workflows run in `vX-Y-test`
  branches after merge (previously they were alternating - similarly
  to canary builds)
@potiuk potiuk force-pushed the better-ci-reusable-workflows branch from b19e7bd to aeb7867 Compare October 26, 2025 16:04
@potiuk potiuk changed the title Better way of reusing ci workflow Better (???) way of reusing ci workflow Oct 26, 2025
@potiuk
Copy link
Member Author

potiuk commented Oct 26, 2025

Comment - UX of GitHub is quite terrible for 3 levels of nesting... This is almost for sure not "better" now.

@potiuk potiuk closed this Nov 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant