Skip to content
Snippets Groups Projects
Verified Commit 9ad6b1b6 authored by nd's avatar nd
Browse files

allow to override artifacts_path

parent 5e2ff023
No related branches found
No related tags found
No related merge requests found
......@@ -43,9 +43,12 @@ pages_listen_proxy: ''
# external url for the container registry, set to Null to disable
registry_external_url: ~
# alternative storage path for registry, only considere when registry_external_url is set. set to Null to use defaults
# alternative storage path for registry, only considere when registry_external_url is set. Set to Null to use defaults
registry_path: ~
# alternative storage path for artifacts. Set to Null to use defaults
artifacts_path: ~
# external ssh host, can be different from external_url
gitlab_ssh_host: 'localhost'
......
......@@ -11,6 +11,7 @@ gitlab:
pages_listen_proxy: 'localhost:11181'
registry_path: ~
registry_external_url: ~
artifacts_path: ~
gitlab_ssh_host: 'localhost'
gitlab_shell_ssh_port: 22
initial_root_password: "{{ lookup('password', '/dev/null length=64') }}"
......
......@@ -231,6 +231,9 @@ gitlab_rails['gitlab_username_changing_enabled'] = false
### Job Artifacts
# gitlab_rails['artifacts_enabled'] = true
# gitlab_rails['artifacts_path'] = "/var/opt/gitlab/gitlab-rails/shared/artifacts"
{% if gitlab.artifacts_path %}
gitlab_rails['artifacts_path'] = "{{ gitlab.artifacts_path }}"
{% endif %}
####! Job artifacts Object Store
####! Docs: https://docs.gitlab.com/ee/administration/job_artifacts.html#using-object-storage
# gitlab_rails['artifacts_object_store_enabled'] = false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment