This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 5c60157 Fixes "--force-clean-images" flag in Breeze (#12156)
5c60157 is described below
commit 5c601578194739286097a75f082af2d83539581f
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Nov 7 13:51:01 2020 +0100
Fixes "--force-clean-images" flag in Breeze (#12156)
The flag was broken - bad cache parameter value was passed.
This PR fixes it.
---
breeze | 2 +-
scripts/ci/libraries/_build_images.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/breeze b/breeze
index e9bfac1..a0ddaf9 100755
--- a/breeze
+++ b/breeze
@@ -889,7 +889,7 @@ function breeze::parse_arguments() {
-C | --force-clean-images)
echo "Clean build of images without cache"
echo
- export DOCKER_CACHE="no-cache"
+ export DOCKER_CACHE="disabled"
# if not set here, docker cached is determined later, depending on
type of image to be build
readonly DOCKER_CACHE
export FORCE_BUILD_IMAGES="true"
diff --git a/scripts/ci/libraries/_build_images.sh
b/scripts/ci/libraries/_build_images.sh
index 173093a..4971f17 100644
--- a/scripts/ci/libraries/_build_images.sh
+++ b/scripts/ci/libraries/_build_images.sh
@@ -536,7 +536,7 @@ function build_images::build_ci_image() {
)
else
echo >&2
- echo >&2 "Error - thee ${DOCKER_CACHE} cache is unknown!"
+ echo >&2 "Error - the ${DOCKER_CACHE} cache is unknown!"
echo >&2
exit 1
fi