diff options
author | James E. Blair <jeblair@redhat.com> | 2019-07-20 11:08:05 -0700 |
---|---|---|
committer | James E. Blair <jeblair@redhat.com> | 2019-07-24 09:25:13 -0700 |
commit | 8fdc387c83140305d2374b954916868f8fbf0e40 (patch) | |
tree | 3aeaad1019f779a8b6587e3a504c84417ce51cf8 /web/src/routes.js | |
parent | d48c2b82fc7e69dc9f2f493859236af342ec888e (diff) | |
download | zuul-8fdc387c83140305d2374b954916868f8fbf0e40.tar.gz |
Add log browsing to build page
This looks for a zuul_manifest artifact, and if it is present,
it fetches it and shows a tree view of logs. Text logs are
displayed in-app with some basic line anchoring.
Part of the implementation of
https://zuul-ci.org/docs/zuul/developer/specs/logs.html
es6 added to .eslint to allow use of Promise.
Change-Id: Ib04d013b4118005ba66a91d2bec0b0c429d12863
Diffstat (limited to 'web/src/routes.js')
-rw-r--r-- | web/src/routes.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/src/routes.js b/web/src/routes.js index fe70535b5..0b3652681 100644 --- a/web/src/routes.js +++ b/web/src/routes.js @@ -21,6 +21,7 @@ import JobsPage from './pages/Jobs' import LabelsPage from './pages/Labels' import NodesPage from './pages/Nodes' import BuildPage from './pages/Build' +import ViewPage from './pages/View' import BuildsPage from './pages/Builds' import BuildsetsPage from './pages/Buildsets' import ConfigErrorsPage from './pages/ConfigErrors' @@ -89,6 +90,10 @@ const routes = () => [ component: BuildPage }, { + to: '/build/:buildId/view/:file*', + component: ViewPage + }, + { to: '/config-errors', component: ConfigErrorsPage, }, |