summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2020-02-28 07:27:02 -0800
committerLuca Milanesio <luca.milanesio@gmail.com>2020-03-17 15:14:36 +0000
commite8d357303b5617eeee7363ea21c0e3f9c4f41f4d (patch)
tree3355ce0c11151328b9f1d0bb5f1dbb3f4f4603dc
parent3a85a1a803fba3f85ca5aab5151521e4062c8199 (diff)
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: I6ae4e4474643c34b245344553f43a192901e8f69
-rw-r--r--.zuul.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
new file mode 100644
index 0000000000..a98975b1d8
--- /dev/null
+++ b/.zuul.yaml
@@ -0,0 +1,32 @@
+- 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.
+ # No additional required projects required for this branch.
+
+- 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/download-commands
+ - plugins/hooks
+ - plugins/replication
+ - plugins/reviewnotes
+ - plugins/singleusergroup
+
+- project:
+ check:
+ jobs:
+ - gerrit-build