From 829662754b29e804ec7362e3c8bc8cffe876d82d Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 27 Feb 2020 15:16:07 -0800 Subject: [PATCH] Add Zuul config This adds a branch-aware job ("gerrit-build") to build Gerrit. The version of this job that runs on this branch will have the specified submodule repos checked out as well. Other branches will have their own versions. The bulk of the job is inherited from gerrit-build-base which is defined in the zuul/jobs repository. Depends-On: https://gerrit-review.googlesource.com/255652 Change-Id: I95cbd50433746014057bddd38256f1692ec1f801 --- .zuul.yaml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .zuul.yaml diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 0000000000..fe9dc800d8 --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,37 @@ +- job: + name: gerrit-base + parent: gerrit-setup + description: | + Base job for all Gerrit-related builds + + This adds required projects needed for all Gerrit-related builds + (i.e., builds of Gerrit itself or plugins) on this branch. + required-projects: + - jgit + +- job: + name: gerrit-build + parent: gerrit-build-base + description: | + Build Gerrit + + This builds Gerrit with the core plugins. + required-projects: + # This inherits from gerrit-base, so submodules listed above do + # not need to be repeated here. + - plugins/codemirror-editor + - plugins/commit-message-length-validator + - plugins/delete-project + - plugins/download-commands + - plugins/gitiles + - plugins/hooks + - plugins/plugin-manager + - plugins/replication + - plugins/reviewnotes + - plugins/singleusergroup + - plugins/webhooks + +- project: + check: + jobs: + - gerrit-build