commit | b011d209c8a8c662741225e0207e9c24dfab0049 | [log] [tgz] |
---|---|---|
author | Ben Rohlfs <brohlfs@google.com> | Tue Apr 27 14:35:29 2021 +0200 |
committer | Ben Rohlfs <brohlfs@google.com> | Wed Apr 28 11:37:15 2021 +0200 |
tree | 007deaaa5b6ba2e131d11ce28caa63593d0f3263 | |
parent | b349da477cf472e55184f6d24f96a6c8279fc6c0 [diff] |
Update the checks plugin to use the new gerrit_js_bundle Bazel rule Change-Id: I4ad5fa53fab4f7da5b4679f51360c4d2ad44a4df
This plugin provides a unified experience for checkers (CI systems, static analyzers, etc.) to integrate with Gerrit Code Review.
When upgrading the plugin, please use init:
java -jar gerrit.war init -d site_path
More details about “init” in https://gerrit-review.googlesource.com/Documentation/pgm-init.html
To run UI tests here will need install dependencies from both npm and bower.
npm run wct-test
should take care both for you, read more in package.json
.
You will need polymer-bridges
which is a submodule you can clone from: https://gerrit-review.googlesource.com/admin/repos/polymer-bridges
bazel build gr-checks:gr-checks
gerrit/plugins/checks/
folder and it will automatically served at http://localhost:8081/plugins_/checks/
(no need to pass it to --plugins flag)If your plugin is already enabled, then you can block it and then inject the compiled local verison.
See more about how to use dev helper extension to help you test here: https://gerrit.googlesource.com/gerrit-fe-dev-helper/+/master