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 f2c3403  Adds missing variable for force pull base image variable 
(#14901)
f2c3403 is described below

commit f2c3403580e8f338d511549e259a5e4dd9b7a43d
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sat Mar 20 01:13:46 2021 +0100

    Adds missing variable for force pull base image variable (#14901)
    
    The variable's default value was not set, thus failing pre-commit
    scripts in case image was not built recently.
---
 scripts/ci/libraries/_initialization.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/scripts/ci/libraries/_initialization.sh 
b/scripts/ci/libraries/_initialization.sh
index d08d674..71e81f5 100644
--- a/scripts/ci/libraries/_initialization.sh
+++ b/scripts/ci/libraries/_initialization.sh
@@ -254,9 +254,13 @@ function initialization::initialize_mount_variables() {
 
 # Determine values of force settings
 function initialization::initialize_force_variables() {
-    # Whether necessary for airflow run local sources are mounted to docker
+    # By default we do not pull CI/PROD images. We can force-pull them when 
needed
     export FORCE_PULL_IMAGES=${FORCE_PULL_IMAGES:="false"}
 
+    # By default we do not pull python base image. We should do that only when 
we run upgrade check in
+    # CI master and when we manually refresh the images to latest versions
+    export FORCE_PULL_BASE_PYTHON_IMAGE="false"
+
     # Determines whether to force build without checking if it is needed
     # Can be overridden by '--force-build-images' flag.
     export FORCE_BUILD_IMAGES=${FORCE_BUILD_IMAGES:="false"}

Reply via email to