You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/01/21 20:19:48 UTC

[airflow] 23/44: fixup! Install airflow and providers from dist and verifies them (#13033)

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

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 16c4ebd6724497c635d86cd1e91d1be06bf0cd0b
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Dec 14 00:57:24 2020 +0100

    fixup! Install airflow and providers from dist and verifies them  (#13033)
---
 scripts/ci/libraries/_build_images.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/ci/libraries/_build_images.sh b/scripts/ci/libraries/_build_images.sh
index d0e0213..c00d96e 100644
--- a/scripts/ci/libraries/_build_images.sh
+++ b/scripts/ci/libraries/_build_images.sh
@@ -912,13 +912,13 @@ function build_images::build_prod_images_from_packages() {
     rm -f "${AIRFLOW_SOURCES}/dist/"apache_airflow*.whl
     rm -f "${AIRFLOW_SOURCES}/dist/"apache-airflow*.tar.gz
 
-    # Remove all downloaded apache airflow packages
-    mv -f "${AIRFLOW_SOURCES}/dist/"* "${AIRFLOW_SOURCES}/docker-context-files/"
+    # Move all downloaded packages
+    mv -f "${AIRFLOW_SOURCES}/dist/"* "${AIRFLOW_SOURCES}/docker-context-files/" || true
 
     # Build apache airflow packages
     build_airflow_packages::build_airflow_packages
 
-    mv "${AIRFLOW_SOURCES}/dist/"* "${AIRFLOW_SOURCES}/docker-context-files/"
+    mv -f "${AIRFLOW_SOURCES}/dist/"* "${AIRFLOW_SOURCES}/docker-context-files/" || true
     build_images::build_prod_images
 }