sameersbn / sameersbn/docker-gitlab

Feature Request: Add support for Gitaly Bundle URIs

Open
#3,162 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
8.1k
Forks
2.1k
Avg merge
17h 47m
Merged PRs (30d)
7

Description

✅ Description:
Hello,
I'm requesting the addition of Gitaly Bundle URIs support in the sameersbn/docker-gitlab image.

Bundle URIs allow GitLab to efficiently serve pre-generated Git object bundles (e.g., from S3, GCS, or other storage) during git clone operations, which significantly reduces load on the Gitaly server and speeds up CI/CD pipelines, especially for users with poor network connections.

🔗 Documentation:
Gitaly Bundle URIs - GitLab Docs

🛠️ Proposed Implementation:
The sameersbn/docker-gitlab image should expose environment variables to configure Gitaly's bundle_uris

✅ New Environment Variables:

# Enable Bundle URIs (default: false)
GITALY_BUNDLE_URIS_ENABLED=false

# Storage type: s3, gcs, azure
GITALY_BUNDLE_URIS_STORAGE=s3

# S3 configuration
GITALY_BUNDLE_URIS_S3_BUCKET=gitlab-bundles
GITALY_BUNDLE_URIS_S3_REGION=us-east-1
GITALY_BUNDLE_URIS_S3_ENDPOINT=https://s3.amazonaws.com
GITALY_BUNDLE_URIS_S3_ACCESS_KEY_ID=your-access-key
GITALY_BUNDLE_URIS_S3_SECRET_ACCESS_KEY=your-secret-key

# GCS (Google Cloud Storage)
GITALY_BUNDLE_URIS_GCS_PROJECT_ID=my-project
GITALY_BUNDLE_URIS_GCS_BUCKET=gitlab-bundles
GITALY_BUNDLE_URIS_GCS_CREDENTIALS_JSON_FILE_PATH=/etc/secrets/gcs-creds.json

# Azure Blob Storage
GITALY_BUNDLE_URIS_AZURE_ACCOUNT_NAME=your-account
GITALY_BUNDLE_URIS_AZURE_CONTAINER_NAME=gitlab-bundles
GITALY_BUNDLE_URIS_AZURE_SAS_TOKEN=sv=2020-08-04&...

📌 Why This Matters:

  • Reduces load on Gitaly during CI/CD jobs.
  • Faster git clone in slow network environments.
  • Enables CDN-based bundle delivery for global teams.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Gitaly Bundle URIs documentation and inspect the image's existing environment-variable configuration entry points; the issue names no files or tests. Trace how current Gitaly and storage settings are exposed for Docker, then verify the requested enablement and S3, GCS, and Azure variables. Done means bundle URI configuration works without breaking existing defaults.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, git, shell
Domain
cloud, devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.