commit | dab8bdfaaa09df19fe8093d7b5b8211501d77ac6 | [log] [tgz] |
---|---|---|
author | Ian Wienand <iwienand@redhat.com> | Thu Jan 28 16:14:05 2021 +1100 |
committer | Ian Wienand <iwienand@redhat.com> | Thu Jan 28 16:56:20 2021 +1100 |
tree | 538aa9b8d9d81c665b7bde184c7534bd95f58323 | |
parent | 6d79a8264547187d9da359e19ebe749cb43c8214 [diff] |
Add some more status matching This is broadly taken from [1] which does similar matching to colorise the status in Zuul. This should cover all the status values. [1] https://opendev.org/zuul/zuul/src/branch/master/web/src/containers/build/Misc.jsx Change-Id: I2712b276ee9d4a8fb9f5fdabd26860356649a273
diff --git a/zuul-results-summary/zuul-results-summary.js b/zuul-results-summary/zuul-results-summary.js index ec92202..af6ca8f 100644 --- a/zuul-results-summary/zuul-results-summary.js +++ b/zuul-results-summary/zuul-results-summary.js
@@ -77,9 +77,41 @@ color: red; } + .status-RETRY_LIMIT { + color: red; + } + + .status-SKIPPED { + color: #73bcf7; + } + + .status-ABORTED { + color: orange; + } + + .status-MERGER_FAILURE { + color: orange; + } + .status-NODE_FAILURE { color: orange; } + + .status-TIMED_OUT { + color: ornage; + } + + .status-POST_FAILURE { + color: orange; + } + + .status-CONFIG_ERROR { + color: orange; + } + + .status-DISK_FULL { + color: orange; + } </style> <template is="dom-repeat" items="[[__table]]">