Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Oct 18, 2023

The PROD image uses source constraints to get built. The #34990 had moved the constraint generation to CI workflow which works for main builds, but for regular PRs we also need to upload them in the build-image workflow - otherwise PROD image build cannot find them as artifacts.

This PR restores only source constraints upload as artifacts (this is very fast)


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

The PROD image uses source constraints to get built. The apache#34990
had moved the constraint generation to CI workflow which works
for main builds, but for regular PRs we also need to upload them
in the build-image workflow - otherwise PROD image build cannot
find them as artifacts.

This PR restores only source constraints upload as artifacts (this
is very fast)
@potiuk
Copy link
Member Author

potiuk commented Oct 18, 2023

(It will start working after merging it).

@potiuk potiuk merged commit 40b9d2b into apache:main Oct 18, 2023
@potiuk potiuk deleted the add-back-source-constraints-for-prod-image-build branch October 18, 2023 08:08
potiuk added a commit that referenced this pull request Oct 29, 2023
The PROD image uses source constraints to get built. The #34990
had moved the constraint generation to CI workflow which works
for main builds, but for regular PRs we also need to upload them
in the build-image workflow - otherwise PROD image build cannot
find them as artifacts.

This PR restores only source constraints upload as artifacts (this
is very fast)

(cherry picked from commit 40b9d2b)
@potiuk potiuk added this to the Airflow 2.7.3 milestone Oct 29, 2023
@potiuk potiuk added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants