Skip to content

Commit

Permalink
Remove --force-build command in cache steps in CI
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
potiuk committed Nov 21, 2023
1 parent 2a06e27 commit 25ab8bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ jobs:
--builder airflow_cache
--prepare-buildx-cache
--run-in-parallel
--force-build
--platform ${{ matrix.platform }}
env:
DEBUG_RESOURCES: ${{needs.build-info.outputs.debug-resources}}
Expand Down Expand Up @@ -1890,7 +1889,6 @@ jobs:
--builder airflow_cache
--prepare-buildx-cache
--run-in-parallel
--force-build
--platform ${{ matrix.platform }}
env:
DEBUG_RESOURCES: ${{needs.build-info.outputs.debug-resources}}
Expand Down

0 comments on commit 25ab8bc

Please sign in to comment.