summaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
...
* Add subway map to status pageJoshua Hesketh2014-04-2210-28/+208
| | | | | | | | | | | | | | Uses a table method similar to OpenStack's page. The code for calculating the subway map tree is from http://git.openstack.org/cgit/openstack-infra/config/tree/modules/openstack_project/files/zuul/status.js#n95 Added a sample JSON file that represents the dependency tree in a very bad state. All the images are grey because it's a bit old and doesn't match the current JSON output in some areas, but it does exercise quite a bit of the tree code. Co-Authored-By: James E. Blair <jeblair@openstack.org> Change-Id: I635ed101e5b1b168caa111ee61237cf1734813a1
* Fix up filter issues introduced by jshint changesJoshua Hesketh2014-04-031-8/+8
| | | | Change-Id: Id382a297f13275cab87a0f31b664e7d7a21c24ae
* Fix jshint linting errorsMonty Taylor2014-04-031-68/+83
| | | | | Change-Id: I2c61cb3574b6a78ec47950576789d62011997585 Co-Authored-By: Joshua Hesketh <josh@nitrotech.org>
* Add expand by default option to status pageJoshua Hesketh2014-03-281-13/+46
| | | | | | | If selected all of the patchset jobs will be visible by default rather than collapsed. Change-Id: Ib1be50924aee057201ee7a4b4937abac0b45d752
* Add a filter box to status.htmlJoshua Hesketh2014-03-281-9/+143
| | | | | | | Allows filtering on the changeid, pipeline or project name similar to infra's status page Change-Id: I3f4c5b2de8654f67f5534f4b1e7c44bb5c4cf9e8
* Shorten update spinner fadeout on status pageJoshua Hesketh2014-03-282-3/+3
| | | | Change-Id: Iba951db42ac50b8f7dfece7d1a4af4c2ffc26afc
* Add support to status page to collapse changesetsJoshua Hesketh2014-03-281-4/+46
| | | | | | By default changesets will be collapsed (global option coming soon) Change-Id: Iaa5c70d1e412628c39bd57ea3d7033d110249df5
* Add a total progress bar to each changeJoshua Hesketh2014-03-282-7/+63
| | | | | | | On the status page have a progress bar indicating overall progress by counting completed jobs. Change-Id: Ie5911a0342c7925cf12b7e4de664009e243c6b0c
* Format change headers like infra's status pageJoshua Hesketh2014-03-281-16/+59
| | | | Change-Id: I1de3464b4760042f368b805bbbc7675e5db4743a
* Add in progress bars for jobsJoshua Hesketh2014-03-282-52/+124
| | | | | | Also tweak style to fit large sets of jobs better. Change-Id: I692a149a7d02a36c7f2fb481b18dd79d9da16f1b
* Add demo support for openstack's live zuul feedJoshua Hesketh2014-03-281-0/+2
| | | | Change-Id: I8591231f39ee13f1e1b771bd3e7d71a1a927bba3
* Merge "Update zuul's status page to bootstrap 3.1.1"Jenkins2014-03-274-136/+66
|\
| * Update zuul's status page to bootstrap 3.1.1Joshua Hesketh2014-03-254-136/+66
| | | | | | | | | | | | Also utilise bootstrap's components more for display. Change-Id: I7c89a5cda2cdb9f4b3e1d473f7d7792840e9fd61
* | Merge "Build status page more jquery like"Jenkins2014-03-271-110/+116
|\ \ | |/
| * Build status page more jquery likeJoshua Hesketh2014-03-251-110/+116
| | | | | | | | | | | | | | Build the status page DOM with jquery to allow cleaner code and easier modifications to come. Change-Id: Ia64dbe4662e9ac1e77e984fe37103ba9cc3abb41
* | Send swift upload instructions to workersJoshua Hesketh2014-03-251-0/+9
|/ | | | | | | | | | | | Have zuul send signed credentials as part of the job for workers to consume and upload assets to a defined location. Zuul currently doesn't care about logs however this change will suggest a LOG_PATH to builders as a unqiue destination prefix allowing zuul to know preemptively the destination. The workers are still required to send a URL of the final location. Change-Id: I042cdd2dd2407f381cafcabc5c6b83d9b9a9eb00
* Tidy up app.js - limit lines to 80charsJoshua Hesketh2014-03-211-23/+45
| | | | Change-Id: Ia9998697f96ba388c7cb07c925298ab6b72225e5
* Make zuul more worker agnosticJoshua Hesketh2014-03-181-1/+1
| | | | | | | | * Remove mention of Jenkins from the codebase * Remove unused dependency on python-jenkins * Update docs to be suggestive of Jenkins but not require Change-Id: I15f5462466899fb520aa66669f2e0b1d4fa1b98a
* Split the merger into a separate processJames E. Blair2014-02-171-1/+3
| | | | | | | | | | | | | | | Connect it to Zuul via Gearman. Any number of mergers may be deployed. Directly find the pipeline for a build when processing a result, so that the procedure is roughly the same for build and merge results. The timer trigger currently requires the gerrit trigger also be configured. Make that explicit inside of the timer trigger so that the scheduler API interaction with triggers is cleaner. Change-Id: I69498813764753c97c426e42d17596c2ef1d87cf
* Display last_reconfigured in zuul status pageSergey Lukjanov2014-01-111-1/+6
| | | | Change-Id: I908e20ca28ec71f765e7078e131e295fad61b09b
* Display zuul_version in zuul status pageSergey Lukjanov2014-01-111-1/+6
| | | | Change-Id: I81122aaae9f525ceb04a7fbb63cf3111b4770f51
* Add zuul_version to status.json samplesSergey Lukjanov2014-01-102-2/+4
| | | | Change-Id: I6de5ddda6597585944739e5b3dff8c8f86930b1d
* Collect and report last reconfigured timestampSergey Lukjanov2014-01-102-0/+2
| | | | | | | | * ms timestamp collected each time Scheduler.reconfigure() completed * last reconfigured timestamp reported through the status.json * it could be useful to determine when zuul conf reloaded Change-Id: I03c5a5734f2127ef40be9ec512c983b136508be7
* Add the possibility to pass the zuul urlArx Cruz2013-11-261-0/+1
| | | | | | | | | | This patch adds the zuul_url option in zuul conf file in order to pass ZUUL_URL to Jenkins, which will be used by devstack-vm-gate-wrap.sh. Documentation added in launchers.rst and zuul.rst explaining how this new option works. Change-Id: I840423cc06fdfdacd301d30be3e0b3e589e563e9
* Add support for emailing results via SMTPJoshua Hesketh2013-09-021-1/+7
| | | | | | | | | | | | | Utilises the new reporter plugin architecture to add support for emailing success/failure messages based on layout.yaml. This will assist in testing new gates as currently after a job has finished if no report is sent back to gerrit then only the workers logs can be consulted to see if it was successful. This will allow developers to see exactly what zuul will return if they turn on gerrit reporting. Change-Id: I47ac038bbdffb0a0c75f8e63ff6978fd4b4d0a52
* Separate reporters from triggersJoshua Hesketh2013-08-292-9/+15
| | | | | | | | | | | | | | | | Allows multiple reports per a patchset to be sent to pluggable destinations. These are configurable per pipeline and, if not specified, defaults to the legacy behaviour of reporting back only to gerrit. Having multiple reporting methods means only certain success/failure /start parameters will apply to certain reporters. Reporters are listed as keys under each of those actions. This means that each key under success/failure/start is a reporter and the dictionaries under those are sent to the reporter to deal with. Change-Id: I80d7539772e1485d5880132f22e55751b25ec198
* Support multiple triggersJames E. Blair2013-08-011-8/+12
| | | | | | | | | | | | Add the ability for Zuul to accept inputs from multiple trigger sources simultaneously. Pipelines are associated with exactly one trigger, which must now be named in the configuration file. Co-Authored-By: Monty Taylor <mordred@inaugust.com> Change-Id: Ief2b31a7b8d85d30817f2747c1e2635f71ea24b9
* Include internal gearman server in docsJames E. Blair2013-07-151-4/+5
| | | | Change-Id: I668206d7a07f665309ca392a8e5f1702c278c47e
* Use a relative URL for status.json.James E. Blair2013-05-171-1/+1
| | | | | | | | | | So that app.js can be less specific about where it's running. Change-Id: I2a84a659b43027b7eb59ba707396517d8ba635d3 Reviewed-on: https://review.openstack.org/29286 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
* Add the ability to set git user.email and user.namePaul Belanger2013-05-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It is possible the host system does not have git properly configured, which results in merge failures because the git client is complain. For example: GitCommandError: 'git merge FETCH_HEAD' returned exit status 128: *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. Now we can pass user.name and user.email settings to git, if configured to do so. Change-Id: I896194d8d1f5334026954b02f3a1a8dd82bed2ac Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-on: https://review.openstack.org/29015 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
* Zuul status page: Redesign and fix bugsTimo Tijhof2013-04-299-239/+907
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | status.html: - Added eventqueue-length status (was already present in production but not committed here yet). - HTML5 markup. - Remove unused jquery-visibility.min.js and jquery-graphite.js. status.js: - Clean up (various js best practices and consistent coding style) - Use empty() instead of html(''). - Use text() for text instead of html(). html() will trigger the parser where text will simply create a text node with the string literal, much faster, safer and semantically correct. - Fix implied global variable leak 'result'. - Fix reference error that crashes/freezes the page Property data.trigger_event_queue and data.trigger_event_queue can be undefined, in which case data.trigger_event_queue.length causes an uncaught TypeError to be thrown. - Use a closure instead of polluting global scope. - Rewrite object oriented. - Added 'demo' feature for easy local testing. Downstream commits at https://gerrit.wikimedia.org/r/#/q/project:integration/docroot+topic:zuul-js+branch:master+owner:Krinkle+is:merged,n,z Change-Id: Iddd4e2787f2e2eb27bf428f733fbb8b4a9d162d5 Reviewed-on: https://review.openstack.org/26416 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
* Add basic status HTML/JS.James E. Blair2013-01-292-0/+239
| | | | | | | | | | A working example that can be customized for site use. Change-Id: I6e6fdf245a55a767aa7e86486b6c47dae221f47b Reviewed-on: https://review.openstack.org/19989 Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
* filter events by user emailAntoine Musso2012-12-181-0/+12
| | | | | | | | | | | | | | | | | | | On some setup we might restrict a pipeline to trusted users. The new email_filter will matches the email coming from the event account attribute. In Gerrit, each event hold the account in a different field name so I have simply added a map to find out the correct field. email_filter works just like comment_filter, fields are ORed and are considered to be regex. Change-Id: I775f67b48d5f162106c024f94fe498a049b3fe94 Reviewed-on: https://review.openstack.org/17609 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
* let us specify Gerrit root URLAntoine Musso2012-11-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Our code was expecting the Gerrit web interface to be available at the root of the Gerrit server which is not always the case since people could publish the Gerrit web interface under a subdirectory. In such configuration, the existing assumption prevents Zuul from getting references information. This patch adds a new optional configuration variable 'baseurl' to the 'gerrit' section. It lets one override the default: [gerrit] server=gerrit.wikimedia.org baseurl=https://gerrit.wikimedia.org/r Updated Gerrit._getInfoRefs() to use 'baseurl' instead of 'server' when creating the url to fetch references from. This is still falling back to the old default whenever gerrit.baseurl is not set. Change-Id: Ia9910acf46fe82c425911784412356598b3c7eac Reviewed-on: https://review.openstack.org/16884 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
* Fix typo with log_config in zuul.conf-samplePaul Belanger2012-10-131-1/+1
| | | | | | | | | Change-Id: Ieda682233843b4500e8d59d91ac24b36dfd172dd Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-on: https://review.openstack.org/14433 Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
* Provide link to status page in Gerrit comments.Clark Boylan2012-10-011-0/+1
| | | | | | | | | | | | When commenting on Gerrit that jobs are beginning include a link to the zuul status page if one is configured. Change-Id: Iba5f315f4baa006939dbdcb07b0758e570242ca8 Reviewed-on: https://review.openstack.org/13858 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
* Merge branch 'dev'James E. Blair2012-09-271-0/+1
|\ | | | | | | Change-Id: I65fc0ed6fed411ec3c453989b748ee6022081366
| * `git_dir` parameter in zuul.conf sampleAntoine Musso2012-09-261-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I95ef3dde919f4ab5ce471295fb7cc1568e42402a Reviewed-on: https://review.openstack.org/13526 Reviewed-by: Monty Taylor <mordred@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
* | Move terminology from "queue" to "pipeline".Clark Boylan2012-09-201-4/+6
|/ | | | | | | | | | | | The zuul terminology for queues was changed to pipelines to help clean up the code and make it easier to read and debug. Update the documentation to reflect this terminology change. Change-Id: I8805f7ee201196b9658b8ea3546d4451aed4c700 Reviewed-on: https://review.openstack.org/13312 Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
* Add graceful exit.James E. Blair2012-07-061-0/+1
| | | | | | | | | | | | A SIGUSR1 will cause zuul to queue new events, wait for existing jobs to finish, then save the queue and exit. It will likely take quite a while to complete (perhaps an hour), so it's not implemented as a SIGTERM handler. Can be used in an init script to implement a graceful restart. Change-Id: I09fce571e971f16b5d20c5d69d595a05c7f6a4ba
* Add documentation.James E. Blair2012-06-081-1/+1
| | | | Change-Id: I8197ec2e52596fa4136f8af9aa93ea06e56d4d0d
* Add sample configsJames E. Blair2012-06-053-0/+100
Change-Id: Id4d563f97568f7a67985ca5a67761804d89b291f