potiuk commented on a change in pull request #8393: Bring back CI optimisations
URL: https://github.com/apache/airflow/pull/8393#discussion_r409473686
##########
File path: scripts/ci/ci_flake8.sh
##########
@@ -50,6 +50,8 @@ function run_flake8() {
fi
}
+get_ci_environment
Review comment:
```
get_ci_environment
# In case of CRON jobs we run builds without cache and upgrade to latest
requirements
if [[ "${CI_EVENT_TYPE:=}" == "schedule" ]]; then
echo
echo "Disabling cache for scheduled jobs"
echo
export DOCKER_CACHE="no-cache"
export PULL_BASE_IMAGES="true"
export UPGRADE_TO_LATEST_REQUIREMENTS="true"
fi
prepare_ci_build
```
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services