The Gatekeeper, or a project gating system
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

68 lines
1.2 KiB

  1. pipelines:
  2. - name: check
  3. manager: IndependentPipelineManager
  4. trigger:
  5. gerrit:
  6. - event: patchset-created
  7. success:
  8. gerrit:
  9. Verified: 1
  10. failure:
  11. gerrit:
  12. Verified: -1
  13. - name: tests
  14. manager: IndependentPipelineManager
  15. trigger:
  16. gerrit:
  17. - event: patchset-created
  18. email_filter: ^.*@example.org$
  19. success:
  20. gerrit:
  21. Verified: 1
  22. failure:
  23. gerrit:
  24. Verified: -1
  25. - name: post
  26. manager: IndependentPipelineManager
  27. trigger:
  28. gerrit:
  29. - event: ref-updated
  30. ref: ^(?!refs/).*$
  31. ignore-deletes: False
  32. - name: gate
  33. manager: DependentPipelineManager
  34. trigger:
  35. gerrit:
  36. - event: comment-added
  37. approval:
  38. - Approved: 1
  39. start:
  40. gerrit:
  41. Verified: 0
  42. success:
  43. gerrit:
  44. Verified: 1
  45. failure:
  46. gerrit:
  47. Verified: -1
  48. jobs:
  49. - name: ^.*-merge$
  50. failure-message: Unable to merge change, please rebase and try again.
  51. projects:
  52. - name: example/project
  53. check:
  54. - project-merge
  55. tests:
  56. - project-merge:
  57. - project-test
  58. gate:
  59. - project-merge:
  60. - project-test
  61. post:
  62. - project-publish