Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Nov 21, 2023

The --force-build command has not been used for a long time in the ci-image build command for quite some time because the sheer fact that you run the command means that you want to run the build (so it made no sense to have it). The command only makes sense when you want to force build when running breeze or breeze start-airflow command.

However commands to build cache in CI still had this command used and it caused the builds to fail after merging #35768 when the option has been removed (it was not detected there, because cache steps only run in main build)


^ 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 `--force-build` command has not been used for a long time
in the `ci-image build` command for quite some time because the
sheer fact that you run the command means that you want to run
the build (so it made no sense to have it). The command only makes
sense when you want to force build when running `breeze` or
`breeze start-airflow` command.

However commands to build cache in CI still had this command used
and it caused the builds to fail after merging apache#35768 when the
option has been removed (it was not detected there, because
cache steps only run in main build)
@potiuk potiuk requested review from ashb and kaxil as code owners November 21, 2023 18:36
@potiuk potiuk requested review from amoghrajesh, pankajkoti and vincbeck and removed request for pankajkoti November 21, 2023 18:36
@potiuk
Copy link
Member Author

potiuk commented Nov 21, 2023

Small follow-up - I could not fully test it before merge as those jobs are only happening in "canary" build.

Example failures: https://github.com/apache/airflow/actions/runs/6945658746/job/18895580360

Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

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

Lgtm

@potiuk potiuk merged commit 5a8d9d6 into apache:main Nov 21, 2023
@potiuk potiuk deleted the remove-force-build-command branch November 21, 2023 18:40
ephraimbuddy pushed a commit that referenced this pull request Nov 23, 2023
The `--force-build` command has not been used for a long time
in the `ci-image build` command for quite some time because the
sheer fact that you run the command means that you want to run
the build (so it made no sense to have it). The command only makes
sense when you want to force build when running `breeze` or
`breeze start-airflow` command.

However commands to build cache in CI still had this command used
and it caused the builds to fail after merging #35768 when the
option has been removed (it was not detected there, because
cache steps only run in main build)
ephraimbuddy pushed a commit that referenced this pull request Nov 26, 2023
The `--force-build` command has not been used for a long time
in the `ci-image build` command for quite some time because the
sheer fact that you run the command means that you want to run
the build (so it made no sense to have it). The command only makes
sense when you want to force build when running `breeze` or
`breeze start-airflow` command.

However commands to build cache in CI still had this command used
and it caused the builds to fail after merging #35768 when the
option has been removed (it was not detected there, because
cache steps only run in main build)
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.

3 participants