Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-1202

Prefer pull_request over push for same-commit tarball builds

    XMLWordPrintable

Details

    Description

      Buildbot treats push and pull_request events independently. The scheduler
      can trigger tarball-docker for both event types, while push events are only
      considered when the upstream branch matches a configured pattern such as
      bb-* or st-*.

      When a pull request is opened from a branch in the upstream repository, the
      source branch may also match the push-event filter. In that case, two
      tarball builds can be scheduled for the same commit: one from the push
      event and one from the pull_request event.

      This patch cancels the tarball triggered by the push event and keeps only
      the pull_request build, since that is the one relevant for branch
      protection and GitHub Checks.

      Note that *-pkgtest builds cannot be run meaningfully from both a pull
      request and the corresponding upstream branch at the same time. Any pkgtest
      should therefore be completed before opening the pull request.

      Attachments

        Issue Links

          Activity

            People

              rvarzaru Varzaru Razvan-Liviu
              rvarzaru Varzaru Razvan-Liviu
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1.25d
                  1.25d