A speculative container registry
Go to file
James E. Blair 7be52cae3a Don't upload empty final chunks
An upload can be finished with a PUT with no body.  If that happens,
we send an empty chunk to our backend, which can end up using
extra storage and potentially using multipart objects on object
storage servers when not strictly necessary.

Simplify this by checking to see if we are getting any data from the
client before we start our push to the backend.

Change-Id: Ia2069364ba2a5e03331f9eabca692b5aa065ce6e
2024-01-03 11:00:51 -08:00
playbooks/functional-test Publish container images to quay.io 2023-04-26 09:59:32 -07:00
tests config: add environment variable substitution 2020-04-13 18:13:26 +00:00
tools Do not allow incorrect sized layers 2021-09-14 05:54:50 +00:00
zuul_registry Don't upload empty final chunks 2024-01-03 11:00:51 -08:00
.gitignore Add README, license, and Zuul config 2019-09-20 09:53:42 -07:00
.gitreview Added .gitreview 2019-09-19 16:08:44 +00:00
.stestr.conf Add tox configuration and fixe flake8 errors 2019-10-02 18:05:12 +00:00
.zuul.yaml Bump container from python3.10 to python3.11 2023-10-09 11:12:56 -07:00
bindep.txt Replace rehash with sha256 2024-01-03 11:00:51 -08:00
COPYING Add README, license, and Zuul config 2019-09-20 09:53:42 -07:00
Dockerfile Bump container from python3.10 to python3.11 2023-10-09 11:12:56 -07:00
noxfile.py Convert zuul-registry to nox 2022-12-29 10:49:39 -08:00
README.rst Add README, license, and Zuul config 2019-09-20 09:53:42 -07:00
requirements.txt Replace rehash with sha256 2024-01-03 11:00:51 -08:00
setup.cfg Convert zuul-registry to nox 2022-12-29 10:49:39 -08:00
setup.py Initial implementation 2019-10-01 08:09:55 -07:00
test-requirements.txt Add tox configuration and fixe flake8 errors 2019-10-02 18:05:12 +00:00
tox.ini Convert zuul-registry to nox 2022-12-29 10:49:39 -08:00

Zuul Registry

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/

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://opendev.org/zuul/zuul-registry To clone the latest code, use git clone https://opendev.org/zuul/zuul-registry

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.

License

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.