The Gatekeeper, or a project gating system
Go to file
Clark Boylan 41b6b0ea33 Fix dynamic loading of trusted layouts
There were special circumstances under which we would return a trusted
config layout as a valid dynamic layout update. Specifically if there
were existing layout errors in code unrelated to the trusted config
update we would fall through error handling such that the trusted config
would be returned.

Fix this by recording the trusted and untrusted layouts as separate
variables so that we can very clearly switch through our state cases and
be clear that we never return the trusted_layout. Instead of there is a
trusted_layout update that would otherwise be accepted we return the
current pipeline config.

Part of the fix here is to write out a "switch" table that clearly lists
and handles all known possible cases. If we hit an unknown case we
return an error. Hopefully by being extra clear about our intent we
avoid unexpected behavior like this in the future.

Story: 2005452
Change-Id: I095819bf2288b4101352badfaf0e0fa8062c2829
2019-04-15 15:25:57 -07:00
doc Merge "Add database info for components graph" 2019-04-10 22:30:00 +00:00
etc Fix indent error for layout.yaml-sample. 2018-06-20 12:20:23 +08:00
playbooks Fix zuul-stream functional test 2019-04-05 16:03:37 +02:00
releasenotes/notes Merge "Fail jobs when requirements not met" 2019-04-03 23:31:36 +00:00
tests Assert ara database is loaded from ansible venv 2019-04-08 10:57:40 -04:00
tools encrypt: Fix SSL error when using file pubkey 2019-04-07 13:00:40 -05:00
web Merge "web: add ErrorBoundary" 2019-04-13 08:42:23 +00:00
zuul Fix dynamic loading of trusted layouts 2019-04-15 15:25:57 -07:00
.coveragerc Revert "Revert "Switch to stestr"" 2018-05-17 08:33:40 -07:00
.dockerignore Add web/node_modules to dockerignore 2019-01-27 11:23:45 +01:00
.gitignore Fix ignored but tracked .keep file 2018-12-02 09:12:25 +01:00
.gitreview Updated .gitreview location 2012-12-16 20:34:13 +00:00
.mailmap Fix pep8 E127 violations 2012-09-26 14:23:10 +00:00
.stestr.conf Revert "Revert "Switch to stestr"" 2018-05-17 08:33:40 -07:00
.zuul.yaml Use the buildset registry in zuul-quick-start 2019-04-04 15:27:06 -07:00
COPYING Update README and add GPL license 2018-03-19 09:25:52 -07:00
Dockerfile Manage ansible installations within zuul 2019-03-15 09:09:16 +01:00
LICENSE Initial commit. 2012-05-29 14:49:32 -07:00
MANIFEST.in manifest: add zuul/ansible and ansible-config.conf 2019-03-18 08:07:00 +00:00
README.rst Add instructions for reporting vulnerabilities 2018-12-05 16:12:30 +00:00
TESTING.rst Revert "Revert "web: rewrite interface in react"" 2018-10-06 10:42:31 -05:00
bindep.txt Install virtualenv from source 2019-03-16 11:07:58 +01:00
requirements.txt Install virtualenv from source 2019-03-16 11:07:58 +01:00
setup.cfg Manage ansible installations within zuul 2019-03-15 09:09:16 +01:00
setup.py Partial sync with OpenStack requirements. 2013-09-25 15:30:37 -07:00
test-requirements.txt Cap mypy 2018-12-07 15:00:17 -08:00
tox.ini tox: Fix indentation 2019-04-01 14:35:15 +01:00

README.rst

Zuul

Zuul is a project gating system.

The latest documentation for Zuul v3 is published at: https://zuul-ci.org/docs/zuul/

If you are looking for the Edge routing service named Zuul that is related to Netflix, it can be found here: https://github.com/Netflix/zuul

If you are looking for the Javascript testing tool named Zuul, it can be found here: https://github.com/defunctzombie/zuul

Getting Help

There are two Zuul-related mailing lists:

zuul-announce

A low-traffic announcement-only list to which every Zuul operator or power-user should subscribe.

zuul-discuss

General discussion about Zuul, including questions about how to use it, and future development.

You will also find Zuul developers in the #zuul channel on Freenode IRC.

Contributing

To browse the latest code, see: https://git.zuul-ci.org/cgit/zuul/tree/ To clone the latest code, use git clone https://git.zuul-ci.org/zuul

Bugs are handled at: https://storyboard.openstack.org/#!/project/openstack-infra/zuul

Suspected security vulnerabilities are most appreciated if first reported privately following any of the supported mechanisms described at https://zuul-ci.org/docs/zuul/user/vulnerabilities.html

Code reviews are handled by gerrit at https://review.openstack.org

After creating a Gerrit account, use git review to submit patches. Example:

# Do your commits
$ git review
# Enter your username if prompted

Join #zuul on Freenode to discuss development or usage.

License

Zuul is free software. Most of Zuul is licensed under the Apache License, version 2.0. Some parts of Zuul are licensed under the General Public License, version 3.0. Please see the license headers at the tops of individual source files.

Python Version Support

Zuul v3 requires Python 3. It does not support Python 2.

As Ansible is used for the execution of jobs, it's important to note that while Ansible does support Python 3, not all of Ansible's modules do. Zuul currently sets ansible_python_interpreter to python2 so that remote content will be executed with Python 2.