| - job: |
| name: gerrit-base |
| description: | |
| Base job for building Gerrit |
| |
| This job sets up all the repos which are required for a gerrit |
| build. |
| pre-run: playbooks/gerrit-base/pre.yaml |
| required-projects: |
| - gerrit |
| - jgit |
| - 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 |
| - polymer-bridges |
| |
| - job: |
| name: gerrit-plugin-build |
| parent: gerrit-base |
| description: | |
| Builds a Gerrit plugin in-tree |
| |
| Responds to these variables: |
| |
| .. zuul:jobvar:: gerrit_plugin |
| |
| The name of the plugin to build. Defaults to the project |
| under test, but can be specified explicitly to build |
| cross-repo. |
| |
| .. zuul:jobvar:: baselisk_targets |
| |
| The bazelisk targets to build. Defaults to the gerrit_plugin |
| specified above. |
| |
| .. zuul:jobvar:: baselisk_test_targets |
| |
| The bazelisk targets to test. |
| run: playbooks/gerrit-plugin/build.yaml |
| vars: |
| gerrit_plugin: "{{ zuul.project.short_name }}" |
| bazelisk_targets: "plugins/{{ gerrit_plugin }}:{{ gerrit_plugin }}" |
| zuul_work_dir: "{{ ansible_user_dir }}/src/gerrit.googlesource.com/gerrit" |