Fix web lint for current plugin tooling

The lint config still loaded ../../eslint.config.js, but Gerrit's
shared plugin lint config is plugins/eslint-plugin.config.js. The old
path is not present in Bazel runfiles, so lint_test cannot load ESLint.

Point the config at the shared plugin config. Also replace the loose
any types in change-message parsing with local types and mark the async
change processing call with void, so current lint rules pass without
suppressions.

Verified: ZRS=//plugins/zuul-results-summary/web
  bazelisk build //plugins/zuul-results-summary:zuul-results-summary
  bazelisk test :lint_test
  bazelisk test :zuul-results-summary-ts_typecheck_test
  bazelisk test :zuul-results-summary-ts_transitive_typecheck_test
Change-Id: Ic0b0dc2cfb5cfb77373a399da870f1ef5af02883
2 files changed
tree: 03703c94bfbebfaaaabacc316f09aefcb67c381d
  1. java/
  2. resources/
  3. web/
  4. .gitignore
  5. .gitreview
  6. bower.json
  7. BUILD
  8. LICENSE
  9. package-lock.json
  10. package.json
  11. README.md
README.md

Zuul Results Summary

Polygerrit plugin to show a summary of Zuul results in a change tab

Results are show in reverse chronological order, additionally sorted by CI userid's in ZUUL_PRIORITY (earlier entry in the list means sorted first in the output table). i.e. if you consider one of your CI reporters to be the main one, you should place it first in this list.

UI tests

UI tests are still a work in progress

Test plugin on Gerrit

  1. Clone gerrit git clone https://gerrit.googlesource.com/gerrit
  2. Clone plugin to plugins/zuul-results-summary `cd plugins; git clone https://gerrit.googlesource.com/plugins/zuul-results-summary
  3. Run build cd ..; bazel build plugins/zuul-results-summary:zuul-results-summary
  4. Copy resulting plugin bazel-bin/plugins/zuul-results-summary/zuul-results-summary.jar to Gerrit plugins directory
  5. Issue a reload ssh -p 29418 admin@<host> gerrit plugin reload zuul-results-summary