Skip to content

Add Zoekt to CNG Renovate configuration

Summary

  • Add automated dependency management for GitLab Zoekt component in CNG distribution
  • Enable Renovate to track and update both GITLAB_ZOEKT_SHA and GITLAB_ZOEKT_TAG variables synchronously

Changes

  • Add custom regex managers for GITLAB_ZOEKT_SHA and GITLAB_ZOEKT_TAG variables in ci_files/variables.yml
  • Track GITLAB_ZOEKT_SHA in Dockerfiles: gitlab-zoekt/Dockerfile, gitlab-zoekt/Dockerfile.build.ubi, and gitlab-zoekt/Dockerfile.ubi
  • Group both dependencies under "GitLab Zoekt" to ensure synchronous updates to the same version
  • Configure datasource to track gitlab-org/gitlab-zoekt-indexer releases with semantic versioning support (v prefix)

Expected Behavior

  • Renovate will create MRs when new Zoekt versions are available
  • Both GITLAB_ZOEKT_SHA and GITLAB_ZOEKT_TAG will be updated together to maintain consistency
  • Updates will follow the same pattern as the example bump MR: gitlab-org/build/CNG!2667 (merged)

Testing

  • JavaScript syntax validation passed
  • Regex patterns verified against actual CNG repository files
  • Configuration follows existing CNG component patterns

Related

Edited by Dmitry Gruzd

Merge request reports

Loading