Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply GitHub workflow changes to stable branch #41623

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Aug 20, 2024


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

…#41484)

The PROD image building fails currently in non-main because it
attempts to build source provider packages rather than use them from
PyPi when PR is run against "v-test" branch.

This PR fixes it:

* PROD images in non-main-targetted build will pull providers from
  PyPI rather than build them
* they use PyPI constraints to install the providers
* they use UV - which should speed up building of the images

(cherry picked from commit 4d5f1c4)
(cherry picked from commit bf0d412)
@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:core-operators Operators, Sensors and hooks within Core Airflow area:dev-tools area:production-image Production image improvements and fixes area:providers area:serialization area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues provider:microsoft-azure Azure-related issues labels Aug 20, 2024
@potiuk potiuk changed the base branch from main to v2-10-stable August 20, 2024 18:45
@potiuk
Copy link
Member Author

potiuk commented Aug 20, 2024

@eladkal @utkarsharma2 -> please merge it regardless if it fails (it should fail with PROD images too) and then you will be able to rerun the failing "sync PR: #41610

@potiuk potiuk merged commit 535f27b into apache:v2-10-stable Aug 20, 2024
5 of 6 checks passed
@potiuk potiuk deleted the apply-github-workflow-changes-to-stable-branch branch August 20, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API area:core-operators Operators, Sensors and hooks within Core Airflow area:dev-tools area:production-image Production image improvements and fixes area:providers area:serialization area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues provider:microsoft-azure Azure-related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants