uranusjr commented on a change in pull request #17964:
URL: https://github.com/apache/airflow/pull/17964#discussion_r700824425



##########
File path: scripts/ci/selective_ci_checks.sh
##########
@@ -353,8 +351,9 @@ function check_if_setup_files_changed() {
 
     if [[ $(count_changed_files) != "0" ]]; then
         # In case the setup files changed, we automatically force upgrading to 
newer dependencies
-        # no matter what was set before
-        upgrade_to_newer_dependencies="${INCOMING_COMMIT_SHA}"
+        # no matter what was set before. We set it to random number to make 
sure that it will be
+        # always invalidating the layer in Docker that triggers installing the 
dependencies
+        upgrade_to_newer_dependencies="${RANDOM}"

Review comment:
       Why is this needed?




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to