You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/01/22 15:49:44 UTC

[airflow] 31/33: Update refreshing constraints instructions (#21001)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 441d3c595afa5656e21aefdd9adf17db36deb308
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Fri Jan 21 09:16:35 2022 +0100

    Update refreshing constraints instructions (#21001)
    
    After changing to buildx, instructions to refresh constraints
    should not include --local-cache, because buildx efficiently
    caches rebuilds anyway and if you have not build "upgrade"
    image before locally, --local-cache is not useful.
    
    (cherry picked from commit 20188f62dcd876ba746af10c178c7d80ca96a746)
---
 dev/REFRESHING_CI_CACHE.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/REFRESHING_CI_CACHE.md b/dev/REFRESHING_CI_CACHE.md
index 653ed88..5114cfc 100644
--- a/dev/REFRESHING_CI_CACHE.md
+++ b/dev/REFRESHING_CI_CACHE.md
@@ -51,7 +51,7 @@ manual refresh might be needed.
 export CURRENT_PYTHON_MAJOR_MINOR_VERSIONS_AS_STRING="3.7 3.8 3.9 3.6"
 for python_version in $(echo "${CURRENT_PYTHON_MAJOR_MINOR_VERSIONS_AS_STRING}")
 do
-  ./breeze build-image --upgrade-to-newer-dependencies --python ${python_version} --build-cache-local
+  ./breeze build-image --upgrade-to-newer-dependencies --python ${python_version}
 done
 
 GENERATE_CONSTRAINTS_MODE="pypi-providers" ./scripts/ci/constraints/ci_generate_all_constraints.sh