b1c4a6d36a
The gerrit source dir needs three plugins cloned into the plugins dir and also a few files updated. Depends-On: https://review.openstack.org/631007 Change-Id: I56037137d43ee1cea0a4c17e48d09102e1599ddc
34 lines
978 B
YAML
34 lines
978 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Move plugin repos into gerrit tree
|
|
command: "mv -f {{ item }} ../gerrit/plugins"
|
|
args:
|
|
chdir: /home/zuul/src/gerrit.googlesource.com/plugins
|
|
loop:
|
|
- commit-message-length-validator
|
|
- download-commands
|
|
- hooks
|
|
- its-storyboard
|
|
- its-base
|
|
- javamelody
|
|
- replication
|
|
- reviewnotes
|
|
- singleusergroup
|
|
|
|
- name: Configure plugin bazel file
|
|
lineinfile:
|
|
path: /home/zuul/src/gerrit.googlesource.com/gerrit/tools/bzl/plugins.bzl
|
|
insertafter: "# Add custom core plugins here"
|
|
line: '"{{ item }}",'
|
|
loop:
|
|
- its-storyboard
|
|
- its-base
|
|
- javamelody
|
|
|
|
- name: Configure javamelody external plugin deps
|
|
file:
|
|
state: link
|
|
force: yes
|
|
src: javamelody/external_plugin_deps.bzl
|
|
path: /home/zuul/src/gerrit.googlesource.com/gerrit/plugins/external_plugin_deps.bzl
|