You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/03/22 14:24:50 UTC

[GitHub] [airflow] turbaszek commented on a change in pull request #7793: Verify that all providers packages are included

turbaszek commented on a change in pull request #7793: Verify that all providers packages are included
URL: https://github.com/apache/airflow/pull/7793#discussion_r396099421
 
 

 ##########
 File path: scripts/ci/ci_prepare_packages.sh
 ##########
 @@ -63,46 +93,12 @@ do
     python3 setup_backport_packages.py "${BACKPORT_PACKAGE}" sdist bdist_wheel >/dev/null
 done
 
-if [[ ${BUILD_COMMON_PROVIDERS_PACKAGE} == "true" ]]; then
-    echo
-    echo "-----------------------------------------------------------------------------------"
-    echo " Preparing backporting package providers (everything)"
-    echo "-----------------------------------------------------------------------------------"
-    echo
-    python3 setup_backport_packages.py providers clean --all
-    python3 setup_backport_packages.py providers sdist bdist_wheel >/dev/null
-fi
+DUMP_FILE="/tmp/airflow_provider_packages_$(date +"%Y%m%d-%H%M%S").tar.gz"
 
-popd || exit 1
+tar -cvzf "${DUMP_FILE}" "dist"
 
-cd "${MY_DIR}/../../" || exit 1
+echo "Packages are in dist bit also tar-gzipped in ${DUMP_FILE}"
 
-if [[ ${BUILD_AIRFLOW_PACKAGE} == "true" ]]; then
-    echo
-    echo "-----------------------------------------------------------------------------------"
-    echo " Preparing apache-airflow package"
-    echo "-----------------------------------------------------------------------------------"
-    echo
-    python3 setup.py clean --all
-    python3 setup.py sdist bdist_wheel >/dev/null
-    echo
-    echo "-----------------------------------------------------------------------------------"
-    echo " Preparing apache-airflow-pinned package"
-    echo "-----------------------------------------------------------------------------------"
-    echo
-    python3 setup.py clean --all
-    python3 setup.py pinned sdist bdist_wheel >/dev/null
-fi
 
 Review comment:
   Where is now the logic for building the package?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services