mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
14.3.0
This commit is contained in:
parent
c090482eb6
commit
97281f9b12
3 changed files with 79 additions and 17 deletions
|
@ -572,6 +572,7 @@ EOS
|
||||||
# "args" => { "access_type" => "offline", "approval_prompt" => "" }
|
# "args" => { "access_type" => "offline", "approval_prompt" => "" }
|
||||||
# }
|
# }
|
||||||
# ]
|
# ]
|
||||||
|
# gitlab_rails['omniauth_cas3_session_duration'] = 28800
|
||||||
|
|
||||||
### FortiAuthenticator authentication settings
|
### FortiAuthenticator authentication settings
|
||||||
# gitlab_rails['forti_authenticator_enabled'] = false
|
# gitlab_rails['forti_authenticator_enabled'] = false
|
||||||
|
@ -619,6 +620,12 @@ EOS
|
||||||
###! otherwise S3-managed keys are used.
|
###! otherwise S3-managed keys are used.
|
||||||
# gitlab_rails['backup_encryption_key'] = '<base64-encoded encryption key>'
|
# gitlab_rails['backup_encryption_key'] = '<base64-encoded encryption key>'
|
||||||
|
|
||||||
|
###! **Turns on AWS Server-Side Encryption with Amazon SSE-KMS (AWS managed but customer-master key)
|
||||||
|
# gitlab_rails['backup_upload_storage_options'] = {
|
||||||
|
# 'server_side_encryption' => 'aws:kms',
|
||||||
|
# 'server_side_encryption_kms_key_id' => 'arn:aws:kms:YOUR-KEY-ID-HERE'
|
||||||
|
# }
|
||||||
|
|
||||||
###! **Specifies Amazon S3 storage class to use for backups. Valid values
|
###! **Specifies Amazon S3 storage class to use for backups. Valid values
|
||||||
###! include 'STANDARD', 'STANDARD_IA', and 'REDUCED_REDUNDANCY'**
|
###! include 'STANDARD', 'STANDARD_IA', and 'REDUCED_REDUNDANCY'**
|
||||||
# gitlab_rails['backup_storage_class'] = 'STANDARD'
|
# gitlab_rails['backup_storage_class'] = 'STANDARD'
|
||||||
|
@ -962,6 +969,11 @@ gitlab_rails['gitlab_shell_ssh_port'] = __SSH_PORT__
|
||||||
##! Maximum file size in bytes for an image to be considered eligible for rescaling
|
##! Maximum file size in bytes for an image to be considered eligible for rescaling
|
||||||
# gitlab_workhorse['image_scaler_max_filesize'] = 250000
|
# gitlab_workhorse['image_scaler_max_filesize'] = 250000
|
||||||
|
|
||||||
|
##! Service name used to register GitLab Workhorse as a Consul service
|
||||||
|
# gitlab_workhorse['consul_service_name'] = 'workhorse'
|
||||||
|
##! Semantic metadata used when registering GitLab Workhorse as a Consul service
|
||||||
|
# gitlab_workhorse['consul_service_meta'] = {}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
## GitLab User Settings
|
## GitLab User Settings
|
||||||
##! Modify default git user.
|
##! Modify default git user.
|
||||||
|
@ -1015,6 +1027,11 @@ puma['port'] = __PUMA_PORT__
|
||||||
# puma['exporter_address'] = "127.0.0.1"
|
# puma['exporter_address'] = "127.0.0.1"
|
||||||
# puma['exporter_port'] = 8083
|
# puma['exporter_port'] = 8083
|
||||||
|
|
||||||
|
##! Service name used to register Puma as a Consul service
|
||||||
|
# puma['consul_service_name'] = 'rails'
|
||||||
|
##! Semantic metadata used when registering Puma as a Consul service
|
||||||
|
# puma['consul_service_meta'] = {}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
## GitLab Sidekiq
|
## GitLab Sidekiq
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -1054,6 +1071,11 @@ puma['port'] = __PUMA_PORT__
|
||||||
# sidekiq['listen_address'] = "localhost"
|
# sidekiq['listen_address'] = "localhost"
|
||||||
sidekiq['listen_port'] = __SIDEKIQ_PORT__
|
sidekiq['listen_port'] = __SIDEKIQ_PORT__
|
||||||
|
|
||||||
|
##! Service name used to register Sidekiq as a Consul service
|
||||||
|
# sidekiq['consul_service_name'] = 'sidekiq'
|
||||||
|
##! Semantic metadata used when registering Sidekiq as a Consul service
|
||||||
|
# sidekiq['consul_service_meta'] = {}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
## gitlab-shell
|
## gitlab-shell
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -1063,7 +1085,6 @@ sidekiq['listen_port'] = __SIDEKIQ_PORT__
|
||||||
# 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', self_signed_cert: false}
|
||||||
# gitlab_shell['log_directory'] = "/var/log/gitlab/gitlab-shell/"
|
# gitlab_shell['log_directory'] = "/var/log/gitlab/gitlab-shell/"
|
||||||
# gitlab_shell['custom_hooks_dir'] = "/opt/gitlab/embedded/service/gitlab-shell/hooks"
|
|
||||||
|
|
||||||
# gitlab_shell['auth_file'] = "/var/opt/gitlab/.ssh/authorized_keys"
|
# gitlab_shell['auth_file'] = "/var/opt/gitlab/.ssh/authorized_keys"
|
||||||
|
|
||||||
|
@ -1462,6 +1483,11 @@ nginx['listen_https'] = false
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
|
|
||||||
|
##! Service name used to register Nginx as a Consul service
|
||||||
|
# nginx['consul_service_name'] = 'nginx'
|
||||||
|
##! Semantic metadata used when registering NGINX as a Consul service
|
||||||
|
# nginx['consul_service_meta'] = {}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
## GitLab Logging
|
## GitLab Logging
|
||||||
##! Docs: https://docs.gitlab.com/omnibus/settings/logs.html
|
##! Docs: https://docs.gitlab.com/omnibus/settings/logs.html
|
||||||
|
@ -1640,12 +1666,6 @@ nginx['listen_https'] = false
|
||||||
##! GitLab API JWT Token expiry time
|
##! GitLab API JWT Token expiry time
|
||||||
# gitlab_pages['gitlab_client_jwt_expiry'] = "30s"
|
# gitlab_pages['gitlab_client_jwt_expiry'] = "30s"
|
||||||
|
|
||||||
##! Fallback to legacy storage
|
|
||||||
##! Warning: support for this flag will be removed in %14.3
|
|
||||||
##! If you need to use it, please comment on https://gitlab.com/gitlab-org/gitlab/-/issues/331699
|
|
||||||
##! and describe why
|
|
||||||
# gitlab_pages['use_legacy_storage'] = nil
|
|
||||||
|
|
||||||
##! Advanced settings for API-based configuration for GitLab Pages.
|
##! Advanced settings for API-based configuration for GitLab Pages.
|
||||||
##! The recommended default values are set inside GitLab Pages.
|
##! The recommended default values are set inside GitLab Pages.
|
||||||
##! Should be changed only if absolutely needed.
|
##! Should be changed only if absolutely needed.
|
||||||
|
@ -1917,6 +1937,11 @@ nginx['listen_https'] = false
|
||||||
# prometheus['listen_address'] = 'localhost:9090'
|
# prometheus['listen_address'] = 'localhost:9090'
|
||||||
#
|
#
|
||||||
|
|
||||||
|
##! Service name used to register Prometheus as a Consul service
|
||||||
|
# prometheus['consul_service_name'] = 'prometheus'
|
||||||
|
##! Semantic metadata used when registering Prometheus as a Consul service
|
||||||
|
# prometheus['consul_service_meta'] = {}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
###! **Only needed if Prometheus and Rails are not on the same server.**
|
###! **Only needed if Prometheus and Rails are not on the same server.**
|
||||||
### For example, in a multi-node architecture, Prometheus will be installed on the monitoring node, while Rails will be on the Rails node.
|
### For example, in a multi-node architecture, Prometheus will be installed on the monitoring node, while Rails will be on the Rails node.
|
||||||
|
@ -1966,6 +1991,11 @@ nginx['listen_https'] = false
|
||||||
##! Advanced settings. Should be changed only if absolutely needed.
|
##! Advanced settings. Should be changed only if absolutely needed.
|
||||||
# node_exporter['listen_address'] = 'localhost:9100'
|
# node_exporter['listen_address'] = 'localhost:9100'
|
||||||
|
|
||||||
|
##! Service name used to register Node Exporter as a Consul service
|
||||||
|
# node_exporter['consul_service_name'] = 'node-exporter'
|
||||||
|
##! Semantic metadata used when registering Node Exporter as a Consul service
|
||||||
|
# node_exporter['consul_service_meta'] = {}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
## Prometheus Redis exporter
|
## Prometheus Redis exporter
|
||||||
##! Docs: https://docs.gitlab.com/ee/administration/monitoring/prometheus/redis_exporter.html
|
##! Docs: https://docs.gitlab.com/ee/administration/monitoring/prometheus/redis_exporter.html
|
||||||
|
@ -1984,6 +2014,11 @@ nginx['listen_https'] = false
|
||||||
##! Advanced settings. Should be changed only if absolutely needed.
|
##! Advanced settings. Should be changed only if absolutely needed.
|
||||||
# redis_exporter['listen_address'] = 'localhost:9121'
|
# redis_exporter['listen_address'] = 'localhost:9121'
|
||||||
|
|
||||||
|
##! Service name used to register Redis Exporter as a Consul service
|
||||||
|
# redis_exporter['consul_service_name'] = 'redis-exporter'
|
||||||
|
##! Semantic metadata used when registering Redis Exporter as a Consul service
|
||||||
|
# redis_exporter['consul_service_meta'] = {}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
## Prometheus Postgres exporter
|
## Prometheus Postgres exporter
|
||||||
##! Docs: https://docs.gitlab.com/ee/administration/monitoring/prometheus/postgres_exporter.html
|
##! Docs: https://docs.gitlab.com/ee/administration/monitoring/prometheus/postgres_exporter.html
|
||||||
|
@ -2001,6 +2036,11 @@ nginx['listen_https'] = false
|
||||||
# postgres_exporter['sslmode'] = nil
|
# postgres_exporter['sslmode'] = nil
|
||||||
# postgres_exporter['per_table_stats'] = false
|
# postgres_exporter['per_table_stats'] = false
|
||||||
|
|
||||||
|
##! Service name used to register Postgres Exporter as a Consul service
|
||||||
|
# postgres_exporter['consul_service_name'] = 'postgres-exporter'
|
||||||
|
##! Semantic metadata used when registering Postgres Exporter as a Consul service
|
||||||
|
# postgres_exporter['consul_service_meta'] = {}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
## Prometheus PgBouncer exporter (EE only)
|
## Prometheus PgBouncer exporter (EE only)
|
||||||
##! Docs: https://docs.gitlab.com/ee/administration/monitoring/prometheus/pgbouncer_exporter.html
|
##! Docs: https://docs.gitlab.com/ee/administration/monitoring/prometheus/pgbouncer_exporter.html
|
||||||
|
@ -2137,7 +2177,7 @@ nginx['listen_https'] = false
|
||||||
# 'PATH' => "/opt/gitlab/bin:/opt/gitlab/embedded/bin:/bin:/usr/bin",
|
# 'PATH' => "/opt/gitlab/bin:/opt/gitlab/embedded/bin:/bin:/usr/bin",
|
||||||
# 'HOME' => '/var/opt/gitlab',
|
# 'HOME' => '/var/opt/gitlab',
|
||||||
# 'TZ' => ':/etc/localtime',
|
# 'TZ' => ':/etc/localtime',
|
||||||
# 'PYTHONPATH' => "/opt/gitlab/embedded/lib/python3.7/site-packages",
|
# 'PYTHONPATH' => "/opt/gitlab/embedded/lib/python3.9/site-packages",
|
||||||
# 'ICU_DATA' => "/opt/gitlab/embedded/share/icu/current",
|
# 'ICU_DATA' => "/opt/gitlab/embedded/share/icu/current",
|
||||||
# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/",
|
# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/",
|
||||||
# 'WRAPPER_JSON_LOGGING' => true
|
# 'WRAPPER_JSON_LOGGING' => true
|
||||||
|
@ -2195,6 +2235,12 @@ nginx['listen_https'] = false
|
||||||
# gitaly['pack_objects_cache_enabled'] = true
|
# gitaly['pack_objects_cache_enabled'] = true
|
||||||
# gitaly['pack_objects_cache_dir'] = '/var/opt/gitlab/git-data/repositories/+gitaly/PackObjectsCache'
|
# gitaly['pack_objects_cache_dir'] = '/var/opt/gitlab/git-data/repositories/+gitaly/PackObjectsCache'
|
||||||
# gitaly['pack_objects_cache_max_age'] = '5m'
|
# gitaly['pack_objects_cache_max_age'] = '5m'
|
||||||
|
# gitaly['custom_hooks_dir'] = "/var/opt/gitlab/gitaly/custom_hooks"
|
||||||
|
|
||||||
|
##! Service name used to register Gitaly as a Consul service
|
||||||
|
# gitaly['consul_service_name'] = 'gitaly'
|
||||||
|
##! Semantic metadata used when registering Gitaly as a Consul service
|
||||||
|
# gitaly['consul_service_meta'] = {}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
## Praefect
|
## Praefect
|
||||||
|
@ -2273,6 +2319,11 @@ nginx['listen_https'] = false
|
||||||
# praefect['database_direct_sslkey'] = '/path/to/client-key'
|
# praefect['database_direct_sslkey'] = '/path/to/client-key'
|
||||||
# praefect['database_direct_sslrootcert'] = '/path/to/rootcert'
|
# praefect['database_direct_sslrootcert'] = '/path/to/rootcert'
|
||||||
|
|
||||||
|
##! Service name used to register Praefect as a Consul service
|
||||||
|
# praefect['consul_service_name'] = 'praefect'
|
||||||
|
##! Semantic metadata used when registering Praefect as a Consul service
|
||||||
|
# praefect['consul_service_meta'] = {}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Storage check
|
# Storage check
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -2790,13 +2841,15 @@ package['modify_kernel_parameters'] = __MODIFY_KERNEL_PARAMETERS__
|
||||||
# handler: 'failover_pgbouncer'
|
# handler: 'failover_pgbouncer'
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
|
#
|
||||||
|
# consul['custom_config_dir'] = '/path/to/service/configs/directory'
|
||||||
################################################################################
|
################################################################################
|
||||||
# Service desk email settings (EEP only)
|
# Service desk email settings
|
||||||
################################################################################
|
################################################################################
|
||||||
### Service desk email
|
### Service desk email
|
||||||
###! Allow users to create new service desk issues by sending an email to
|
###! Allow users to create new service desk issues by sending an email to
|
||||||
###! service desk address.
|
###! service desk address.
|
||||||
###! Docs: https://docs.gitlab.com/ee/administration/reply_by_email.html
|
###! Docs: https://docs.gitlab.com/ee/user/project/service_desk.html
|
||||||
# gitlab_rails['service_desk_email_enabled'] = false
|
# gitlab_rails['service_desk_email_enabled'] = false
|
||||||
|
|
||||||
#### Service Desk Mailbox Settings (via `mail_room`)
|
#### Service Desk Mailbox Settings (via `mail_room`)
|
||||||
|
@ -2829,4 +2882,13 @@ package['modify_kernel_parameters'] = __MODIFY_KERNEL_PARAMETERS__
|
||||||
# gitlab_rails['service_desk_email_ssl'] = true
|
# gitlab_rails['service_desk_email_ssl'] = true
|
||||||
# gitlab_rails['service_desk_email_start_tls'] = false
|
# gitlab_rails['service_desk_email_start_tls'] = false
|
||||||
|
|
||||||
|
#### Inbox options (for Microsoft Graph)
|
||||||
|
# gitlab_rails['service_desk_email_inbox_method'] = 'microsoft_graph'
|
||||||
|
# gitlab_rails['service_desk_email_inbox_options'] = {
|
||||||
|
# 'tenant_id': 'YOUR-TENANT-ID',
|
||||||
|
# 'client_id': 'YOUR-CLIENT-ID',
|
||||||
|
# 'client_secret': 'YOUR-CLIENT-SECRET',
|
||||||
|
# 'poll_interval': 60 # Optional
|
||||||
|
# }
|
||||||
|
|
||||||
from_file '/etc/gitlab/gitlab-persistent.rb'
|
from_file '/etc/gitlab/gitlab-persistent.rb'
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "GitLab",
|
"name": "GitLab",
|
||||||
"id": "gitlab",
|
"id": "gitlab",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"version": "14.2.3~ynh1",
|
"version": "14.3.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."
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
gitlab_version="14.2.3"
|
gitlab_version="14.3.0"
|
||||||
|
|
||||||
# sha256sum found here: https://packages.gitlab.com/gitlab
|
# sha256sum found here: https://packages.gitlab.com/gitlab
|
||||||
gitlab_debian_version="buster"
|
gitlab_debian_version="buster"
|
||||||
|
|
||||||
gitlab_x86_64_buster_source_sha256="c83a3f9d73e4b2178b13a856aa41bd7eea5319c0bddec4cc50f29e294e02adda"
|
gitlab_x86_64_buster_source_sha256="c5cfb7b1cfda23ff5d0b0a6651850cc838f5488915f76a28fc7ae80b13f88225"
|
||||||
|
|
||||||
gitlab_arm64_buster_source_sha256="b5980a570c62943b744ec71e5124e3efd88418331edc4f2dde4a14bcefa8b52e"
|
gitlab_arm64_buster_source_sha256="f52869377d872a6514e96b89149d42c97698517d40f86d9de607ce2b8cbc2520"
|
||||||
|
|
||||||
gitlab_arm_buster_source_sha256="323e9c182a95c3f67335907426dc9e917f8a065b4da4014053a84c85b190ee8f"
|
gitlab_arm_buster_source_sha256="b884b64b743b64d05907ed24c1ec50313d30a7b0e43f3bd1e223ae6d215cd1c0"
|
||||||
|
|
||||||
architecture=$(ynh_app_setting_get --app="$app" --key=architecture)
|
architecture=$(ynh_app_setting_get --app="$app" --key=architecture)
|
||||||
|
|
||||||
|
@ -20,8 +20,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="14.2.3"
|
gitlab_version="14.3.0"
|
||||||
gitlab_arm_buster_source_sha256="323e9c182a95c3f67335907426dc9e917f8a065b4da4014053a84c85b190ee8f"
|
gitlab_arm_buster_source_sha256="b884b64b743b64d05907ed24c1ec50313d30a7b0e43f3bd1e223ae6d215cd1c0"
|
||||||
fi
|
fi
|
||||||
gitlab_source_sha256=$gitlab_arm_buster_source_sha256
|
gitlab_source_sha256=$gitlab_arm_buster_source_sha256
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue