Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. GitLab
  3. S3 Artifacts

S3 Artifacts

Scheduled Pinned Locked Moved GitLab
3 Posts 3 Posters 18 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    arnaudguy
    wrote last edited by
    #1

    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 configuration

    Question

    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.

    1 Reply Last reply
    0
    • jamesJ Online
      jamesJ Online
      james
      Staff
      wrote last edited by
      #2

      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.yml yes, 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.

      1 Reply Last reply
      1
      • J Offline
        J Offline
        joseph
        Staff
        wrote last edited by
        #3

        In /app/data/gitlab.yml, there is a artifacts section. You can just set it to enabled. You don't need S3 as such, it stores in filesystem by default into /app/data/shared/artifacts

          artifacts:
            enabled: true
        
        1 Reply Last reply
        2
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search