commit | 5fbc3f5d34679fbb13e5a43e80c34fea98657400 | [log] [tgz] |
---|---|---|
author | Josip Sokcevic <sokcevic@google.com> | Mon Feb 14 21:35:24 2022 |
committer | Josip Sokcevic <sokcevic@google.com> | Mon Feb 14 21:35:24 2022 |
tree | 1106c69c573c05af2c7a2711875be2a6148bb779 | |
parent | 2b67ce73388e80fdf9ad3ed9188d4b2652527a66 [diff] |
Add webrtc to the list of hosts with RubberStamper Bug 1297090 will be used to track removal of the list, since we likely don't need it anymore. R=mbonadei@chromium.org Bug: 1297090 Change-Id: Ie94d9364113334b7125bd2f9fb94a2ffe317cc5c
This plugin must be placed inside the Gerrit plugins directory:
git clone --recurse-submodules https://gerrit.googlesource.com/gerrit cd gerrit/plugins git clone https://chromium.googlesource.com/infra/gerrit-plugins/chromium-behavior
For running TypeScript unit tests execute:
bazel test --test_output=all //plugins/chromium-behavior/web:karma_test
For checking or fixing eslint formatter problems run:
bazel test //plugins/chromium-behavior/web:lint_test bazel run //plugins/chromium-behavior/web:lint_bin -- \ --fix "$(pwd)/plugins/chromium-behavior/web"
For testing the plugin with Gerrit FE Dev Helper build the JavaScript bundle and copy it to the plugins/chromium-behavior
folder:
bazel build //plugins/chromium-behavior/web:chromium-behavior cp -f bazel-bin/plugins/chromium-behavior/web/chromium-behavior.js plugins/
Start polygerit-ui server:
./polygerrit-ui/run-server.sh --plugins="plugins"
and let the Dev Helper redirect from .+/plugins/chromium-behavior/static/chromium-behavior.js
to http://localhost:8081/plugins/chromium-behavior.js
.