summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add 3.19.1 release notes3.19.1stable/3.xJames E. Blair2020-07-221-0/+42
| | | | Change-Id: Ie3de887d3cf32d958bf4e686c040133bae796c33
* Add reno configuration settingsSean McGinnis2020-07-221-0/+4
| | | | | | | | | | | | | This adds additional reno config to tell it to scan back to the earliest versions when we started using reno to make sure we include all notes in the output. It also says not to ignore null merges so that we can merge temporary branches back into the master branch, and reno will still proceed past the null merge. Change-Id: I75051cd492124441befc0dff5b33ccf0442b7754 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Merge "Update access token url" into stable/3.xZuul2020-07-211-2/+2
|\
| * Update access token urlTobias Henkel2020-07-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | The currently used endpoint /installations/:installation_id/access_tokens for getting access tokens is deprecated since a long time and will be removed [1]. Thus replace it by the current one /app/installations/:installation_id/access_tokens. [1] https://developer.github.com/changes/2020-04-15-replacing-create-installation-access-token-endpoint/ Change-Id: I5415472dd68b163d3b980a514b367f0615dbb0bc (cherry picked from commit ea97b9f2e829331b0af0a6f0904cba691628c1f5)
* | Merge "Block localhost shell tasks in untrusted playbooks" into stable/3.xZuul2020-07-2136-50/+156
|\ \
| * | Block localhost shell tasks in untrusted playbooksTobias Henkel2020-07-2136-50/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zuul was designed to block local code execution in untrusted environments to not only rely on bwrap to contain a job. This got broken since the creation of a command plugin that injects the zuul_job_id which is required for log streaming. However this plugin doesn't do a check if the task is a localhost task. Further it is required in trusted and untrusted environments due to log streaming. Thus we need to fork this plugin and restrict the variant that is used in untrusted environments. We do this by moving actiongeneral/command.py back to action/*. We further introduce a new catecory actiontrusted which gets the unrestricted version of this plugin. Change-Id: If81cc46bcae466f4c071badf09a8a88469ae6779 Story: 2007935 Task: 40391
* | | Create virtualenvs in series to avoid cache raceMonty Taylor2020-07-213-5/+14
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | virtualenv 20.0.24 creates ~/.local/share/virtualenv with the seed packages needed for making virtualenvs per-python version. Creating empty virtualenvs is quick, so run those in sequence to avoid race possibilities. Then, we can still run the installs into the virtualenvs in parallel. We also fix a bug in the console stream functional jobs and install pip with the use of ensure-pip. This is necessary because the virtualenv fix runs the stream functional jobs and the update to the stream functional jobs relies on working docker images. (cherry picked from commit 1f7c6fef9c394928bad28acb32c1180d0006844e) Change-Id: I3dec251d19dd7b3807848a54e6a20a8e89d30a4e
* | Require kazoo 2.8.0James E. Blair2020-07-211-1/+1
| | | | | | | | | | | | This has a fix required for using TLS. Change-Id: I6d29ca3bf31b1f50cebc245d3db2095ab65921c4
* | Update .gitreview for 3.x branchJames E. Blair2020-07-211-0/+1
| | | | | | | | Change-Id: I011cea6d163c842e7c28945f3beeb8f76be2e12f
* | Add ensure-pip to quick-start jobMonty Taylor2020-07-211-0/+1
|/ | | | | | | | | We assume pip exists and were getting it from opendev images before. Add ensure-pip so that pip exists. Depends-On: https://review.opendev.org/735904 Change-Id: Ifbd32f11f09c518062ffa350f9ebbe597493df67 (cherry picked from commit ca63ba72a857ec434342a8cd6846db73a711ea13)
* Merge "Include extra, host, and group variables in job serialization"3.19.0Zuul2020-05-272-0/+27
|\
| * Include extra, host, and group variables in job serializationJames E. Blair2020-05-202-0/+27
| | | | | | | | | | | | | | | | | | | | | | This serialization is used by the REST API as well as configuration change detection. Including these variables allows API users to see a more complete picture of the job as well as corrects a malfunction in the job config change detection (a change to a job with file matcher's host-vars, for example, would not trigger running the job). Change-Id: I27b5fd81fc0c90bd13ead6ecdef0a5d3dbcc2e57
* | Merge "executor: add extra kubectl port-forward debug and releasenotes"Zuul2020-05-272-0/+9
|\ \
| * | executor: add extra kubectl port-forward debug and releasenotesTristan Cacqueray2020-05-272-0/+9
| | | | | | | | | | | | | | | | | | | | | This change documents how the kubectl was not working and it adds a log statement to help debug future issue. Change-Id: Iaf6ca030365d9e4e768bca716568cb2d4289665d
* | | Merge "Add release note about the final 3.x release"Zuul2020-05-273-0/+30
|\ \ \
| * | | Add release note about the final 3.x releaseJames E. Blair2020-05-273-0/+30
| |/ / | | | | | | | | | Change-Id: I8e83d8c40893a395dedb6afcbec3dc86f8be0ac9
* | | Merge "Gitlab - avoid duplicates in the cache"Zuul2020-05-271-1/+1
|\ \ \ | |/ / |/| |
| * | Gitlab - avoid duplicates in the cachePierre-Louis Bonicoli2020-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | The change number is either a str (when 'zuul enqueue' is used) or an int (when a Gitlab event is received). Change-Id: Ib110716ecb0d364ab3624bc369aa428a600a3753
* | | Merge "Increase wait time in remote tests"Zuul2020-05-262-0/+2
|\ \ \
| * | | Increase wait time in remote testsTobias Henkel2020-05-202-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We lately saw increasing rates of failed tests in the remote tests. Some of them are failing with timeout waiting zuul to settle. Therefore increase the wait timeout for the zuul stream and action modules tests. Change-Id: Ia7b03405e8199aa6c3d2c737244ba26161986783
* | | | Merge "Gitlab - allow to use the 'zuul enqueue' command"Zuul2020-05-261-2/+2
|\ \ \ \
| * | | | Gitlab - allow to use the 'zuul enqueue' commandPierre-Louis Bonicoli2020-05-171-2/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - set 'url' in order to avoid "'NoneType' object is not iterable" exception - fix value of 'uris': - use a list of URLs, not a list of characters - remove scheme from the URL Change-Id: Iaa0197eb290a9e21aa63eb65a1c8a677abf8298b
* | | | Merge "Update to create-react-app 3.4.1"Zuul2020-05-2220-4285/+9393
|\ \ \ \
| * | | | Update to create-react-app 3.4.1Monty Taylor2020-05-2120-4285/+9393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While trying to figure out why the ansi patch wouldn't build it emerged that we're now 2 major releases behind on create-react-app. Update create-react-app to the latest 3.4.1. This also updates react to 16.13, and updates eslint globals processing so that we don't have to declare globals in headers when we've declared them already in the eslint file. Finally, although this doesn't do it, create-react-app 3 has support for typescript, so if we want we can start migrating files to .ts or .tsx extensions and start doing typing in them. Pin nanoid to v2 until such a time as create-react-app can be updated to 3.4.2 which is needed ot handle .cjs extensions being used by nanoid. Change-Id: Ibc69bef605a62e4fdd2ebba33d9d1b822e7dfeba
* | | | | web: remove status page componentDidUpdate implementationTristan Cacqueray2020-05-211-6/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not necessary to loadState when the timezone change as this is already managed by react engine. Moreover this method introduced a bug by shadowing the parent Refreshable, which is in charge of fetching status page when the tenant change. Change-Id: I9fd35446c7fe98ce4bbb992983ec1ab56f3d32c5
* | | | Support dynamic badgesTobias Henkel2020-05-217-0/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zuul currently has a zuul/gated badge that can be linked e.g. in a readme of a project. This is sufficient for many use cases. However if a project has periodic jobs that do extended testing which is not possible in check/gate this is not sufficient. For use cases like those we can add support for dynamic badges in zuul itself. Change-Id: I449fa9f38ca251522789b6075fbc876d21bd0200
* | | | Merge "Add new timezone selector in web interface"Zuul2020-05-2111-20/+505
|\ \ \ \
| * | | | Add new timezone selector in web interfaceAndy Ladjadj2020-05-2011-20/+505
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - the default value keep UTC - the timezone is saved in cookie in zuul_timezone_string - the render format is YYYY-MM-DD HH:mm:ss Change-Id: Ib4ac2af4194ac2722c5574577661f4ddda8cc398
* | | | | Merge "Update node to v14 and update to new jobs"Zuul2020-05-213-32/+30
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | |
| * | | Update node to v14 and update to new jobsMonty Taylor2020-05-203-32/+30
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Fix trivial typo in glossary"Zuul2020-05-201-1/+1
|\ \ \
| * | | Fix trivial typo in glossaryTimo Lotterbach2020-05-201-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | Fix a trivial typo in the glossary of the Zuul documentation. Change-Id: I1f110ca5c17bc2b535029377cfd9d1933fe24a23
* | | set Access-Control-Allow-Origin header for autoholdMatthieu Huin2020-05-201-0/+4
|/ / | | | | | | | | | | Align autohold's CORS policy with other endpoints. Change-Id: I677daadfafd5903dc0db7d6aba5b57de933f8bc6
* | Remove ununecessary shebangsFabien Boucher2020-05-1811-50/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The commands are managed as entry-points so remove ununecessary shebangs. Also lib/re2util.py does not require a shebang as well. zuul_return.py does not have a main and is not supposed to be run directly. Ununecessary shebangs for non executable script causes rpmlint issues. Change-Id: I6015daaa0fe35b6935fcbffca1907c01c9a26134
* | Merge "Drop support for ansible 2.6"Zuul2020-05-18211-904/+51
|\ \
| * | Drop support for ansible 2.6Tobias Henkel2020-05-15211-904/+51
| | | | | | | | | | | | | | | | | | | | | Ansible 2.6 has been unmaintained since several months now so remove support for it. Change-Id: Ifb604eb5cb86fd0210c1dfd8418f069273e302b6
* | | Merge "Default to Ansible 2.9"Zuul2020-05-183-2/+6
|\ \ \ | |/ /
| * | Default to Ansible 2.9Tobias Henkel2020-05-153-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Ansible 2.9 is there since several months now and had numerous bugfix releases. Thus we should default to it since it is the newest and best maintained release. Change-Id: If6687514a6237bb9816b54745aac5ec24383c8bf
* | | Merge "add installation manual for Ubuntu"Zuul2020-05-184-0/+61
|\ \ \ | |_|/ |/| |
| * | add installation manual for UbuntuMichiel Piscaer2020-05-164-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1c66e3fae65f740866202e84fcfce34f5830f155 Use the --user to install bindep Change-Id: I8a1c79a6d591c4e43416f4afc3dba87f78ef612e
* | | Merge "Report dequeued changes via Github checks API"Zuul2020-05-1612-10/+348
|\ \ \
| * | | Report dequeued changes via Github checks APIFelix Edel2020-05-1412-10/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch provides the general functionality to allow reporting of dequeued items and makes use of that in the Github checks API. This reporting will only apply if the item wasn't a success or failure. Change-Id: I1297da4d1708908c6b179110479fe0450e5550fe
* | | | Merge "Enables whitelisting and configuring callbacks"Zuul2020-05-169-0/+212
|\ \ \ \
| * | | | Enables whitelisting and configuring callbacksAlbin Vass2020-05-129-0/+212
| | | | | | | | | | | | | | | | | | | | Change-Id: Ida7b84795d922b85ec9cc6161ab1203fb82da825
* | | | | Merge "Add details to waitUntilSettled() debug log"Zuul2020-05-161-2/+6
|\ \ \ \ \
| * | | | | Add details to waitUntilSettled() debug logAntoine Musso2020-04-021-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibf35cec257063a0b316048487909136a9cc6fd36
* | | | | | Merge "Enhance some logging messages"Zuul2020-05-163-7/+14
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Enhance some logging messagesAntoine Musso2020-04-023-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I257a3592643a716cd88efc255150a603d89d108a
* | | | | | Merge "Retry nodeenv creation"Zuul2020-05-161-1/+9
|\ \ \ \ \ \
| * | | | | | Retry nodeenv creationTobias Henkel2020-04-071-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We saw some failures while creating the nodeenv so add a retry there. Change-Id: I97d65a31a4d1170e3aa2dae730e6e52e47780c82