Skip to content

Fail image build in case dependencies are not regenerated#39847

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:fail-build-image-if-dependencies-not-updated
May 26, 2024
Merged

Fail image build in case dependencies are not regenerated#39847
potiuk merged 1 commit into
apache:mainfrom
potiuk:fail-build-image-if-dependencies-not-updated

Conversation

@potiuk

@potiuk potiuk commented May 26, 2024

Copy link
Copy Markdown
Member

When dependencies are not regenerated before pushing the PR, the CI image build should fail rather than retry with regenerated dependencies.


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

When dependencies are not regenerated before pushing the PR, the
CI image build should fail rather than retry with regenerated
dependencies.
@potiuk potiuk requested review from ashb and jedcunningham as code owners May 26, 2024 14:34
@potiuk potiuk requested a review from eladkal May 26, 2024 14:34
@potiuk

potiuk commented May 26, 2024

Copy link
Copy Markdown
Member Author

This is why for example #39839 - failed before I regenerated the dependencies. The "build image" was not failing, but "wait for CI image" was running indefinitely.

@eladkal eladkal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is great!

@potiuk

potiuk commented May 26, 2024

Copy link
Copy Markdown
Member Author

Failing tests unrelated.

@potiuk potiuk merged commit 1fc551b into apache:main May 26, 2024
@potiuk potiuk deleted the fail-build-image-if-dependencies-not-updated branch May 26, 2024 16:02
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
When dependencies are not regenerated before pushing the PR, the
CI image build should fail rather than retry with regenerated
dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants