Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9606

Reviewbot should only rebuild master if there are actually reviews to verify

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • reviewbot

    Description

      Currently the Jenkins reviewbot setup first verifies that the master branch builds, and then invokes support/verify_reviews.py to validate reviews. This means that even if no reviews to build the job still takes roughly 40min just to verify the master branch.

      Instead the job should only validate master if there are actually reviews to validate. This could e.g., be accomplished by providing a "query flag" for support/verify_reviews.py which can return which reviews need validation and branching on that in the Jenkins shell script, or alternatively moving the building of master into support/verify_reviews.py (which might unlock other improvements like sharing a ccache between master build and builds of reviews).

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbannier Benjamin Bannier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: