Prior change Iaf6b83b61a470e8c5a61d18b7c241f9ca002c08a contained a bug that and was returning an blank Content-Length for manifest HEAD queries. For this case, we have already read() the blob so we can just return it's length for the HEAD query. (the extant code was wrong for this case and self.storage.blob_size was returning None, which got turned into 0 silently. This leads to the client reporting: failed commit on ref "manifest-sha256:ad38c...": unexpected commit digest sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855, expected sha256:ad38c... failed precondition I put this in for anyone googling who is seeing that e3b0c4... hash; it's a clue that somehow you're trying to hash something empty. This slipped through because I tested pulling images, which worked, but it fails when pulled in by docker build). Change-Id: I7218843879ecd7939730060b6cee18af8190b888
|1 month ago|
|playbooks/functional-test||4 months ago|
|tests||2 years ago|
|tools||1 month ago|
|zuul_registry||1 month ago|
|.gitignore||2 years ago|
|.gitreview||2 years ago|
|.stestr.conf||2 years ago|
|.zuul.yaml||4 months ago|
|COPYING||2 years ago|
|Dockerfile||1 year ago|
|README.rst||2 years ago|
|bindep.txt||2 years ago|
|requirements.txt||9 months ago|
|setup.cfg||2 years ago|
|setup.py||2 years ago|
|test-requirements.txt||2 years ago|
|tox.ini||2 years ago|
This is a container image registry for use with the Zuul project gating system.
The defining feature of this registry is support for shadowing images: it allows you to upload a local version of an image to use instead of an upstream version. If you pull an image from this registry, it will provide the local version if it exists, or the upstream if it does not.
This makes it suitable for use in a Zuul-driven speculative image pipeline.
The latest documentation for Zuul is published at: https://zuul-ci.org/docs/
There are two Zuul-related mailing lists:
A low-traffic announcement-only list to which every Zuul operator or power-user should subscribe.
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.
Bugs are handled at: https://storyboard.openstack.org/#!/project/zuul/zuul-registry
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.opendev.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.
Zuul-registry is free software licensed under the General Public License, version 3.0.
Python Version Support
Zuul requires Python 3. It does not support Python 2.