S3 Artifacts
-
Hello,
Iām running GitLab self-hosted on Cloudron, with self-hosted GitLab Runners on an external VPS.
Runners work fine (Docker executor), and CI cache is already stored on S3 at the runner level.My question is about CI job artifacts storage:
⢠According to GitLab documentation, artifacts are stored by GitLab itself, not by the runner
⢠This requires enabling Object Storage (S3) in GitLab Omnibus configurationQuestion
Does Cloudron officially support enabling S3 Object Storage for GitLab CI artifacts using GITLAB_OMNIBUS_CONFIG?
Example configuration (OVH / MinIO S3-compatible):
gitlab_rails['object_store']['enabled'] = true gitlab_rails['object_store']['connection'] = { 'provider' => 'AWS', 'region' => 'gra', 'endpoint' => 'https://s3.gra.io.cloud.ovh.net', 'path_style' => true, 'aws_access_key_id' => 'XXX', 'aws_secret_access_key' => 'XXX' } gitlab_rails['object_store']['objects']['artifacts']['bucket'] = 'gitlab-artifacts'Additional questions:
⢠Is this configuration preserved across Cloudron updates?
⢠Are there any known limitations when using GitLab Object Storage on Cloudron?
⢠Is this the recommended approach, or is there a Cloudron-specific alternative?Thanks in advance for your feedback.
-
Hello @arnaudguy
@arnaudguy said in S3 Artifacts:
Does Cloudron officially support enabling S3 Object Storage for GitLab CI artifacts using GITLAB_OMNIBUS_CONFIG?
Cloudron uses the config file, please see https://docs.cloudron.io/packages/gitlab/#custom-gitlabyml
@arnaudguy said in S3 Artifacts:
Is this configuration preserved across Cloudron updates?
If configured accordingly to the docs https://docs.gitlab.com/administration/object_storage/ and in
/app/data/gitlab.ymlyes, it is preserved across updates.@arnaudguy said in S3 Artifacts:
Are there any known limitations when using GitLab Object Storage on Cloudron?
Not to our current knowledge. If you find any issues, please report them here.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better š
Register Login