summaryrefslogtreecommitdiff
path: root/zuul/driver/pagure
Commit message (Collapse)AuthorAgeFilesLines
* Pagure - handle Pull Request tags (labels) metadataFabien Boucher2019-09-184-9/+55
| | | | | | | This change implements event handling for pull-request.tags.added. Tags can be used as trigger event filter or required metadata. Change-Id: I128bbef34245932e3bbee1f848ad1c484d3ccae3
* Pagure - handle initial comment change eventFabien Boucher2019-09-181-2/+8
| | | | | | | | | | | | The "initial comment" is the first comment of a PR on Pagure. It is used to provide the Depends-on stanza. Recently Pagure added the capability to send an event when that initial comment is changed: https://pagure.io/pagure/issue/4398 This change handles the event as a PR changed to retrigger the attached jobs. Change-Id: I62d4e783e94528126cd4a7d85b3e664e84758bf1
* Pagure - fix wrong commit gitweb urlFabien Boucher2019-09-181-1/+1
| | | | | | The gitweb url template was wrong and this patch fixes it. Change-Id: Ic4ead74ddfe09b2a4a90cb7ffca746dc1e132430
* Better error handling for the PagureAPIClientFabien Boucher2019-09-031-12/+51
| | | | | | | Log a proper error when the admin API token is invalid or expired. Also handle API call errors. Change-Id: Ide7a6ff0266daaac53f40d42a545d76ca76a6ff2
* Record and report time for trigger eventsSimon Westphahl2019-07-181-0/+1
| | | | | | | | | | Sometimes, e.g. during reconfiguration, it can take quite some time between the trigger event and when a change is enqueued. This change allows tracking the time it takes from receiving the event until it is processed by the scheduler. Change-Id: I347acf56bc8d7671d96f6be444c71902563684be
* Annotate canMerge check with event idTobias Henkel2019-07-122-9/+10
| | | | | | | This helps with debugging from logs in case something doesn't enter a gate as expected. Change-Id: Ia0c7e84812d479c455d72f8e4c367975ea0bd709
* Pagure driver - https://pagure.io/pagure/Fabien Boucher2019-06-176-0/+1495
This change adds a Pagure driver for Zuul. Pagure is a Github like forge https://pagure.io/pagure/. This driver is usable starting with Pagure 5.3. For history: first Pagure PR gated by Zuul is https://pagure.io/test-zuul/pull-request/22 Change-Id: I1711653355ae26a3fff3bb6de3c6fca7113cdd01