-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
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.
Metadata
Metadata
Assignees
Labels
No labels