summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2020-02-27 15:16:07 -0800
committerJames E. Blair <jeblair@redhat.com>2020-03-18 13:28:15 -0700
commit829662754b29e804ec7362e3c8bc8cffe876d82d (patch)
treecd7adfc2955a94c57c80fbf1766e75ad525ecf56
parent20c17f8803bd9c2cee11712d4c502636f5b98241 (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: I95cbd50433746014057bddd38256f1692ec1f801
-rw-r--r--.zuul.yaml37
1 files changed, 37 insertions, 0 deletions
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