1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00
This commit is contained in:
Kay0u 2022-07-22 17:38:54 +02:00
parent db032ff4f2
commit 48bfa15942
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D
3 changed files with 31 additions and 12 deletions

View file

@ -832,7 +832,7 @@ gitlab_rails['gitlab_shell_ssh_port'] = __SSH_PORT__
###! **Do not change the following 3 settings unless you know what you are ###! **Do not change the following 3 settings unless you know what you are
###! doing** ###! doing**
# gitlab_rails['registry_api_url'] = "http://localhost:5000" # gitlab_rails['registry_api_url'] = "http://127.0.0.1:5000"
# gitlab_rails['registry_key_path'] = "/var/opt/gitlab/gitlab-rails/certificate.key" # gitlab_rails['registry_key_path'] = "/var/opt/gitlab/gitlab-rails/certificate.key"
# gitlab_rails['registry_issuer'] = "omnibus-gitlab-issuer" # gitlab_rails['registry_issuer'] = "omnibus-gitlab-issuer"
@ -843,7 +843,7 @@ gitlab_rails['gitlab_shell_ssh_port'] = __SSH_PORT__
# registry['uid'] = nil # registry['uid'] = nil
# registry['gid'] = nil # registry['gid'] = nil
# registry['dir'] = "/var/opt/gitlab/registry" # registry['dir'] = "/var/opt/gitlab/registry"
# registry['registry_http_addr'] = "localhost:5000" # registry['registry_http_addr'] = "127.0.0.1:5000"
# registry['debug_addr'] = "localhost:5001" # registry['debug_addr'] = "localhost:5001"
# registry['log_directory'] = "/var/log/gitlab/registry" # registry['log_directory'] = "/var/log/gitlab/registry"
# registry['env_directory'] = "/opt/gitlab/etc/registry/env" # registry['env_directory'] = "/opt/gitlab/etc/registry/env"
@ -1057,6 +1057,9 @@ puma['port'] = __PUMA_PORT__
# puma['exporter_enabled'] = false # puma['exporter_enabled'] = false
# puma['exporter_address'] = "127.0.0.1" # puma['exporter_address'] = "127.0.0.1"
# puma['exporter_port'] = 8083 # puma['exporter_port'] = 8083
# puma['exporter_tls_enabled'] = false
# puma['exporter_tls_cert_path'] = ""
# puma['exporter_tls_key_path'] = ""
##! Service name used to register Puma as a Consul service ##! Service name used to register Puma as a Consul service
# puma['consul_service_name'] = 'rails' # puma['consul_service_name'] = 'rails'
@ -1100,6 +1103,9 @@ puma['port'] = __PUMA_PORT__
##! Specifies where Prometheus metrics endpoints should be made available for Sidekiq processes. ##! Specifies where Prometheus metrics endpoints should be made available for Sidekiq processes.
# sidekiq['metrics_enabled'] = true # sidekiq['metrics_enabled'] = true
# sidekiq['exporter_log_enabled'] = false # sidekiq['exporter_log_enabled'] = false
# sidekiq['exporter_tls_enabled'] = false
# sidekiq['exporter_tls_cert_path'] = ""
# sidekiq['exporter_tls_key_path'] = ""
# sidekiq['listen_address'] = "localhost" # sidekiq['listen_address'] = "localhost"
sidekiq['listen_port'] = __SIDEKIQ_PORT__ sidekiq['listen_port'] = __SIDEKIQ_PORT__
@ -1121,7 +1127,7 @@ sidekiq['listen_port'] = __SIDEKIQ_PORT__
# gitlab_shell['audit_usernames'] = false # gitlab_shell['audit_usernames'] = false
# gitlab_shell['log_level'] = 'INFO' # gitlab_shell['log_level'] = 'INFO'
# gitlab_shell['log_format'] = 'json' # gitlab_shell['log_format'] = 'json'
# gitlab_shell['http_settings'] = { user: 'username', password: 'password', ca_file: '/etc/ssl/cert.pem', ca_path: '/etc/pki/tls/certs', self_signed_cert: false} # gitlab_shell['http_settings'] = { user: 'username', password: 'password', ca_file: '/etc/ssl/cert.pem', ca_path: '/etc/pki/tls/certs'}
# gitlab_shell['log_directory'] = "/var/log/gitlab/gitlab-shell/" # gitlab_shell['log_directory'] = "/var/log/gitlab/gitlab-shell/"
# gitlab_shell['auth_file'] = "/var/opt/gitlab/.ssh/authorized_keys" # gitlab_shell['auth_file'] = "/var/opt/gitlab/.ssh/authorized_keys"
@ -1817,6 +1823,13 @@ nginx['listen_https'] = false
##! Rate limit new TLS connections to a single domain, maximum burst allowed per second ##! Rate limit new TLS connections to a single domain, maximum burst allowed per second
# gitlab_pages['rate_limit_tls_domain_burst'] = 10000 # gitlab_pages['rate_limit_tls_domain_burst'] = 10000
##! The maximum size of the _redirects file, in bytes
# gitlab_pages['redirects_max_config_size'] = 65536
##! The maximum number of path segments allowed in _redirects rules URLs
# gitlab_pages['redirects_max_path_segments'] = 25
##! The maximum number of rules allowed in _redirects
# gitlab_pages['redirects_max_rule_count'] = 1000
# gitlab_pages['env_directory'] = "/opt/gitlab/etc/gitlab-pages/env" # gitlab_pages['env_directory'] = "/opt/gitlab/etc/gitlab-pages/env"
# gitlab_pages['env'] = { # gitlab_pages['env'] = {
# 'SSL_CERT_DIR' => "#{node['package']['install-dir']}/embedded/ssl/certs/" # 'SSL_CERT_DIR' => "#{node['package']['install-dir']}/embedded/ssl/certs/"
@ -2212,6 +2225,11 @@ nginx['listen_https'] = false
# gitlab_exporter['listen_address'] = 'localhost' # gitlab_exporter['listen_address'] = 'localhost'
# gitlab_exporter['listen_port'] = '9168' # gitlab_exporter['listen_port'] = '9168'
##! TLS settings.
# gitlab_exporter['tls_enabled'] = false
# gitlab_exporter['tls_cert_path'] = '/etc/gitlab/ssl/gitlab-exporter.crt'
# gitlab_exporter['tls_key_path'] = '/etc/gitlab/ssl/gitlab-exporter.key'
##! Manage gitlab-exporter sidekiq probes. false by default when Sentinels are ##! Manage gitlab-exporter sidekiq probes. false by default when Sentinels are
##! found. ##! found.
# gitlab_exporter['probe_sidekiq'] = true # gitlab_exporter['probe_sidekiq'] = true
@ -2420,6 +2438,7 @@ nginx['listen_https'] = false
# } # }
# praefect['wrapper_path'] = "/opt/gitlab/embedded/bin/gitaly-wrapper" # praefect['wrapper_path'] = "/opt/gitlab/embedded/bin/gitaly-wrapper"
# praefect['failover_enabled'] = true # praefect['failover_enabled'] = true
# praefect['failover_timeout'] = "10s"
# praefect['auth_token'] = "" # praefect['auth_token'] = ""
# praefect['auth_transitioning'] = false # praefect['auth_transitioning'] = false
# praefect['listen_addr'] = "localhost:2305" # praefect['listen_addr'] = "localhost:2305"

View file

@ -2,7 +2,7 @@
"name": "GitLab", "name": "GitLab",
"id": "gitlab", "id": "gitlab",
"packaging_format": 1, "packaging_format": 1,
"version": "15.1.2~ynh1", "version": "15.2.0~ynh1",
"description": { "description": {
"en": "Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features", "en": "Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features",
"fr": "Gestionnaire de dépôts Git proposant des fonctionnalités de wiki, suivi de bugs et de pipeline CI/CD" "fr": "Gestionnaire de dépôts Git proposant des fonctionnalités de wiki, suivi de bugs et de pipeline CI/CD"

View file

@ -1,17 +1,17 @@
#!/bin/bash #!/bin/bash
gitlab_version="15.1.2" gitlab_version="15.2.0"
# sha256sum found here: https://packages.gitlab.com/gitlab # sha256sum found here: https://packages.gitlab.com/gitlab
gitlab_debian_version="$(lsb_release -sc)" gitlab_debian_version="$(lsb_release -sc)"
gitlab_x86_64_bullseye_source_sha256="2c29cad38c2db9d2dea9869eabba02a53e72049b8782dc5ccf0848f5c86af3a1" gitlab_x86_64_bullseye_source_sha256="6389276f340fc7992030e9da6d8689bbc064413344b3336b2c00e2082ec3ec70"
gitlab_x86_64_buster_source_sha256="81278e1b4d4743b5f142e17e3e351841235ab0b13eb4bd72d72598ab3e92804f" gitlab_x86_64_buster_source_sha256="6288ca86bdfcf0300a22025fd804ec4a0360a0cbfe8f82a90c510589d5effa5b"
gitlab_arm64_bullseye_source_sha256="3dbb1bb2e8d75d82f10ecf0f40cf2e2e9d574f377ce93a8caa4479e44a32ddfb" gitlab_arm64_bullseye_source_sha256="5a43d9fe8d6ecb22af5bea15f29fca6c20d81c3795bc6e5999f8e37ae80c69a5"
gitlab_arm64_buster_source_sha256="80fe48ac2083669d5be8aa189dbc9369e87da22eca7162721a4fb3fa579651f6" gitlab_arm64_buster_source_sha256="8b904fe231a6a10a8991be32202c06e2446dd112b7d97a08f7aa1d24573c168b"
gitlab_arm_buster_source_sha256="5d57e7a5c1cef71812712be58b9f4badb54b954597c6adafb0312aa72f8b7f80" gitlab_arm_buster_source_sha256="549250a4515b2f634132f5769fafc747c938995445f2738da511d55827572d61"
architecture=$(ynh_app_setting_get --app="$app" --key=architecture) architecture=$(ynh_app_setting_get --app="$app" --key=architecture)
@ -34,8 +34,8 @@ elif [ "$architecture" = "arm64" ]; then
elif [ "$architecture" = "arm" ]; then elif [ "$architecture" = "arm" ]; then
# If the version for arm doesn't exist, then use an older one # If the version for arm doesn't exist, then use an older one
if [ -z "$gitlab_arm_buster_source_sha256" ]; then if [ -z "$gitlab_arm_buster_source_sha256" ]; then
gitlab_version="15.1.2" gitlab_version="15.2.0"
gitlab_arm_buster_source_sha256="5d57e7a5c1cef71812712be58b9f4badb54b954597c6adafb0312aa72f8b7f80" gitlab_arm_buster_source_sha256="549250a4515b2f634132f5769fafc747c938995445f2738da511d55827572d61"
fi fi
gitlab_source_sha256=$gitlab_arm_buster_source_sha256 gitlab_source_sha256=$gitlab_arm_buster_source_sha256
fi fi