Fix breeze builds to work after removal of images from CI v1-10-test
authorJarek Potiuk <jarek@potiuk.com>
Fri, 13 May 2022 09:58:01 +0000 (11:58 +0200)
committerJarek Potiuk <jarek@potiuk.com>
Fri, 13 May 2022 09:58:01 +0000 (11:58 +0200)
scripts/ci/libraries/_push_pull_remove_images.sh
scripts/ci/tools/ci_fix_ownership.sh

index fff08ad9f389ca9e5f6bbba39a8e818e390c732c..9ae7d7d6d46646c5ff9f98d56fed59a343dc5d96 100644 (file)
@@ -61,7 +61,7 @@ function push_pull_remove_images::pull_image_if_not_present_or_forced() {
         echo
         echo "Pulling the image ${IMAGE_TO_PULL}"
         echo
-        docker pull "${IMAGE_TO_PULL}"
+        #docker pull "${IMAGE_TO_PULL}"
         EXIT_VALUE="$?"
         if [[ ${EXIT_VALUE} != "0" && ${FAIL_ON_GITHUB_DOCKER_PULL_ERROR} == "true" ]]; then
             echo
@@ -128,8 +128,8 @@ Docker pulling ${PYTHON_BASE_IMAGE}.
                 fi
                 push_pull_remove_images::pull_image_github_dockerhub "${PYTHON_BASE_IMAGE}" "${GITHUB_REGISTRY_PYTHON_BASE_IMAGE}${PYTHON_TAG_SUFFIX}"
             else
-                docker pull "${AIRFLOW_CI_PYTHON_IMAGE}"
-                docker tag "${AIRFLOW_CI_PYTHON_IMAGE}" "${PYTHON_BASE_IMAGE}"
+                echo docker pull "${AIRFLOW_CI_PYTHON_IMAGE}"
+                echo docker tag "${AIRFLOW_CI_PYTHON_IMAGE}" "${PYTHON_BASE_IMAGE}"
             fi
             echo
         fi
index 2d57d651552368b58449fed97eb0ad50ee0be25f..efb79cbe8d8186c8527b30110a54a0777a3788b0 100755 (executable)
@@ -33,8 +33,8 @@ sanity_checks::sanitize_mounted_files
 
 read -r -a EXTRA_DOCKER_FLAGS <<<"$(local_mounts::convert_local_mounts_to_docker_params)"
 
-docker run --entrypoint /bin/bash "${EXTRA_DOCKER_FLAGS[@]}" \
-    --rm \
-    --env-file "${AIRFLOW_SOURCES}/scripts/ci/docker-compose/_docker.env" \
-    "${AIRFLOW_CI_IMAGE}" \
-    -c /opt/airflow/scripts/in_container/run_fix_ownership.sh
+#docker run --entrypoint /bin/bash "${EXTRA_DOCKER_FLAGS[@]}" \
+#    --rm \
+#    --env-file "${AIRFLOW_SOURCES}/scripts/ci/docker-compose/_docker.env" \
+#    "${AIRFLOW_CI_IMAGE}" \
+#    -c /opt/airflow/scripts/in_container/run_fix_ownership.sh