adoroszlai opened a new pull request #2053:
URL: https://github.com/apache/ozone/pull/2053


   ## What changes were proposed in this pull request?
   
   CI runs for pull requests with multiple commits may waste resources if 
pushed one after another, not in a single batch.  Only the last commit is 
considered for PR status, so we should try to cancel any prior runs not yet 
completed.
   
   `push` and `schedule` builds are not affected.
   
   Custom Github Action from Jarek Potiuk is added as a submodule like [in 
Apache 
Airflow](https://github.com/apache/airflow/commit/f115983550833b1516ce58e66b49fe4fb1a0eff7)
 to avoid code duplication but still retain control over consuming new versions.
   
   References:
   
    * item 1 in [Apache Airflow PR workflow 
description](https://github.com/apache/airflow/blob/master/PULL_REQUEST_WORKFLOW.rst#why-non-standard-pull-request-workflow)
    * 
[discussion](https://lists.apache.org/thread.html/ra806c0fd58fd55813a0f6a98bf3a0ec3e94d0db37224f877e9ea6ac8%40%3Cbuilds.apache.org%3E)
 on `builds` list
   
   https://issues.apache.org/jira/browse/HDDS-4988
   
   ## How was this patch tested?
   
   Tested on dummy PRs in my fork:
   
   https://github.com/adoroszlai/hadoop-ozone/pull/10
   https://github.com/adoroszlai/hadoop-ozone/pull/11
   
   Regular CI:
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/658416539


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to