summaryrefslogtreecommitdiff
path: root/playbooks/dashboard
Commit message (Collapse)AuthorAgeFilesLines
* Update node to v14 and update to new jobsMonty Taylor2020-05-201-3/+2
| | | | | | | | | | | | | | v14 is the latest lts. Let's use it. Also - rename the jobs to make it clear what they're doing, and add a dashboard job that points at opendev's multi-tenat api too. There are new jobs that default to latest node LTS and auto-detect yarn vs npm. Update to use them. Depends-On: https://review.opendev.org/728097 Depends-On: https://review.opendev.org/726547 Change-Id: I5717edea2cd09acc5bce673c38bbe7fa8057a376
* web: use PUBLIC_URL instead of package.json patchTristan Cacqueray2018-10-111-11/+6
| | | | | | | This change simplify dashboard run playbook to fix sub-url serving of ci build. Change-Id: I58db8958894f2b51cca03752d9913ca11df5bba4
* web: fix zuul-build-dashboard homepage settingTristan Cacqueray2018-10-101-2/+2
| | | | | | | A previous change broke the homepage update for zuul-build-dashboard ci results. Change-Id: Ie2344070425a2d0edab9c3edb15b0e2b577a02ce
* Revert "Revert "web: rewrite interface in react""Tristan Cacqueray2018-10-062-34/+14
| | | | | | This reverts commit 3dba813c643ec8f4b3323c2a09c6aecf8ad4d338. Change-Id: I233797a9b4e3485491c49675da2c2efbdba59449
* Revert "web: rewrite interface in react"James E. Blair2018-09-292-14/+34
| | | | | | | | | | | Revert "Fix publish-openstack-javascript-content" This reverts commit ca199eb9dbb64e25490ee5803e4f18c91f34681d. This reverts commit 1082faae958bffa719ab333c3f5ae9776a8b26d7. This appears to remove the tarball publishing system that we rely on. Change-Id: Id746fb826dfc01b157c5b772adc1d2991ddcd93a
* web: rewrite interface in reactTristan Cacqueray2018-09-272-34/+14
| | | | | | | | | | This change rewrites the web interface using React: http://lists.zuul-ci.org/pipermail/zuul-discuss/2018-August/000528.html Depends-On: https://review.openstack.org/591964 Change-Id: Ic6c33102ac3da69ebd0b8e9c6c8b431d51f3cfd4 Co-Authored-By: Monty Taylor <mordred@inaugust.com> Co-Authored-By: James E. Blair <jeblair@redhat.com>
* Fix web content copying in multi dashboard jobMonty Taylor2018-08-101-2/+5
| | | | | | | | | | | | | The existing code results in: cp: omitting directory 'src/git.openstack.org/openstack-infra/zuul/zuul/web/static/t' because it's picking up the t subdir when trying to copy everything. Update it to be more smarter about which things to copy. Also, add a shell variable to make the shell snipped easier to read. Change-Id: Ib61110cfa10e137c3d780e8529e64655b64c3cce
* Use copy instead of symlink for multi-tenant dashboardMonty Taylor2018-07-311-5/+12
| | | | | | | | We currently use symlink loops to allow the multi-tenant dashboard to work properly. With the move to swift, that's gonna be no bueno. Just copy the html/js files instead of symlink. There's not that many of them. Change-Id: I8a71abe4329cff817beca71e61127967b5b8aeb5
* Revert "Revert "Upgrade from angularjs (v1) to angular (v6)""Monty Taylor2018-06-272-0/+29
| | | | | | | | This reverts commit fc1a71f69fc4a09983a8b1018f3cf5a935037451. This time with better handling for base hrefs. Change-Id: I530b6ff0a4da0546584d0c93bf6e0bb716a9dbc3
* Revert "Upgrade from angularjs (v1) to angular (v6)"James E. Blair2018-06-262-29/+0
| | | | | | | | | This reverts commit 36aecc1229d8071980210314bb1caa3fd4f9ef90. This reverts commit 683f50ed5537d7024912867a61870af57bfdbce9. This caused zuul.openstack.org to attempt to GET "https://api/status". Change-Id: Ib25356f7ea5bfeec84e91195ac161d497f74d73d
* Upgrade from angularjs (v1) to angular (v6)Monty Taylor2018-06-082-0/+29
Since we got started in all of this angular business back in the good old storyboard days of yore, the angular folks cut a major release (ok, 5 major releases). The old v1 angular is known as angularjs now, and starting at v2 the new codebase is just 'angular'. While angularjs is still supported for now, angularjs vs. angular seems to be more like zuulv2 vs. zuulv3 - the developers really want people to be on the >=v2 series, and they spent a good deal of time fixing issues from the original angularjs. The notable differences are the angular is a bit more explicit/verbose, and that it uses typescript instead of plain javscript. The increased verbosity wasn't the most popular with some fans of the original angularjs, but for those of us who aren't breathing it every day the verbosity is helpful. There is a recommended code organization structure which has been used. For zuul, there are notable changes to how the http client and location service work, so the code related to those has been reworked. $http has been reworked to use HttpClient - which defaults to grabbing the remote json and which can do so in a typesafe way. $location has been reworked to use the angular-routing module, which allows us to pull both URL and Query String parameters in a structured manner. We can similary pass query parameters to our output http requests. Since routing is the new solution for $location, extract the navigation bar into a re-usable component. Add tslint config for the typescript. Keep running eslint on our remaining plain javascript files, at least until we've got them all transitioned over. Use the angular tslint config as a base, but also adopt the rule from standardjs that says to not use semicolons since they are not actually needed. The main.ejs file is a webpack template, not an angular template. Move it to web/config with the other webpack files to make that clear. Add a job that builds the zuul dashboard with the ZUUL_API_URL set to point to software factory. This should allow us to see a live test with a multi-tenant scheme. Depends-On: https://review.openstack.org/572542 Change-Id: Ida959da05df358994f4d11bb6f40f094d39a9541 Co-Authored-By: Tristan Cacqueray <tdecacqu@redhat.com> Co-Authored-By: Artem Goncharov <artem.goncharov@gmail.com>