Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented May 7, 2025

The release workflow now will run separately for each image - which means that if both AMD / ARM images of the same python version have finished, the merge step for that Python version will run immediately rather than waiting for all Python versions to complete. This means that some images might be available a bit faster and that even if a single image releaase will fail for some reason, the other images will appear before we re-run that failed image job.

It also adds the possibility of overriding the python version images - we can now additionally filter which image versions should be run and option to disable automated "latest tag" setting.


^ 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.

@potiuk
Copy link
Member Author

potiuk commented May 7, 2025

A bit of an improvement in the release image workflow that I told @kaxil I will do:

image

There is a separate "composite" workflow now for each python version - this way when only one job fails for environmental reasons there are separate flows for different python version images - and the non-impacted images will be published without waiting for restarting of the single failing job.

@potiuk potiuk force-pushed the separate-release-image-workflows-per-python branch from 02ee73c to 4aea073 Compare May 7, 2025 18:57
@potiuk
Copy link
Member Author

potiuk commented May 7, 2025

Plus you can run only selected python versions as a small bonus

@potiuk potiuk added this to the Airflow 3.0.2 milestone May 7, 2025
@potiuk potiuk added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label May 7, 2025
The release workflow now will run separately for each image - which
means that if both AMD / ARM images of the same python version have
finished, the merge step for that Python version will run immediately
rather than waiting for all Python versions to complete. This means
that some images might be available a bit faster and that even if
a single image releaase will fail for some reason, the other images
will appear before we re-run that failed image job.

It also adds the possibility of overriding the python version
images - we can now additionally filter which image versions should
be run and option to disable automated "latest tag" setting.
@potiuk potiuk force-pushed the separate-release-image-workflows-per-python branch from 4aea073 to ef42850 Compare May 8, 2025 05:15
@potiuk potiuk merged commit edec4c3 into main May 8, 2025
8 checks passed
@potiuk potiuk deleted the separate-release-image-workflows-per-python branch May 8, 2025 05:15
github-actions bot pushed a commit that referenced this pull request May 8, 2025
… workflows (#50320)

The release workflow now will run separately for each image - which
means that if both AMD / ARM images of the same python version have
finished, the merge step for that Python version will run immediately
rather than waiting for all Python versions to complete. This means
that some images might be available a bit faster and that even if
a single image releaase will fail for some reason, the other images
will appear before we re-run that failed image job.

It also adds the possibility of overriding the python version
images - we can now additionally filter which image versions should
be run and option to disable automated "latest tag" setting.
(cherry picked from commit edec4c3)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@github-actions
Copy link

github-actions bot commented May 8, 2025

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

potiuk added a commit that referenced this pull request May 8, 2025
… workflows (#50320) (#50331)

The release workflow now will run separately for each image - which
means that if both AMD / ARM images of the same python version have
finished, the merge step for that Python version will run immediately
rather than waiting for all Python versions to complete. This means
that some images might be available a bit faster and that even if
a single image releaase will fail for some reason, the other images
will appear before we re-run that failed image job.

It also adds the possibility of overriding the python version
images - we can now additionally filter which image versions should
be run and option to disable automated "latest tag" setting.
(cherry picked from commit edec4c3)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
ayush3singh pushed a commit to ayush3singh/airflow that referenced this pull request May 8, 2025
…pache#50320)

The release workflow now will run separately for each image - which
means that if both AMD / ARM images of the same python version have
finished, the merge step for that Python version will run immediately
rather than waiting for all Python versions to complete. This means
that some images might be available a bit faster and that even if
a single image releaase will fail for some reason, the other images
will appear before we re-run that failed image job.

It also adds the possibility of overriding the python version
images - we can now additionally filter which image versions should
be run and option to disable automated "latest tag" setting.
kaxil pushed a commit that referenced this pull request Jun 3, 2025
… workflows (#50320) (#50331)

The release workflow now will run separately for each image - which
means that if both AMD / ARM images of the same python version have
finished, the merge step for that Python version will run immediately
rather than waiting for all Python versions to complete. This means
that some images might be available a bit faster and that even if
a single image releaase will fail for some reason, the other images
will appear before we re-run that failed image job.

It also adds the possibility of overriding the python version
images - we can now additionally filter which image versions should
be run and option to disable automated "latest tag" setting.
(cherry picked from commit edec4c3)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
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.

2 participants