Skip to content

Registry: add support for redis cache

Jaime Martinez requested to merge feat/container-registry-redis-cache into master

What does this MR do?

Adds a redis.cache section to the registry configuration. It reuses the redis settings to obtain the address and password. It also allows setting extra parameters for the Redis cache available to the Registry as defined in the documentation.

This changes are required to test Enable the use of Redis to cache database repos... (gitlab-org/container-registry#461 - closed).

The registry v3.53.0 (gitlab-org/build/CNG!1080 (merged)) is required to verify the connection between the Registry and Redis. More information of how the cache will be used is available in the registry development guideline.

Since this change requires the metadata database to be enabled, we are not planning to release this in Omnibus yet.

Related issues

Related to gitlab-org/container-registry#727 (closed) and gitlab-org/container-registry#461 (closed)

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Merge Request Title and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for omnibus-gitlab opened
Edited by Jason Plum

Merge request reports