1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00

Merge pull request #128 from YunoHost-Apps/testing

13.5.1
This commit is contained in:
Kayou 2020-11-02 14:47:07 +01:00 committed by GitHub
commit eb2e41b788
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 113 additions and 34 deletions

View file

@ -12,7 +12,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
GitLab is a web-based Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features, using an open-source license, developed by GitLab Inc. GitLab is a web-based Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features, using an open-source license, developed by GitLab Inc.
**Shipped version:** 13.4.3 **Shipped version:** 13.5.1
## Screenshots ## Screenshots

View file

@ -12,7 +12,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
GitLab est un gestionnaire Web de dépôt Git fournissant des fonctionnalités de wiki, de rapports de bugs et de pipeline CI/CD. GitLab est une application open source développée par GitLab Inc. GitLab est un gestionnaire Web de dépôt Git fournissant des fonctionnalités de wiki, de rapports de bugs et de pipeline CI/CD. GitLab est une application open source développée par GitLab Inc.
**Version incluse :** 13.4.3 **Version incluse :** 13.5.1
## Captures d'écran ## Captures d'écran

View file

@ -90,8 +90,26 @@ external_url '__GENERATED_EXTERNAL_URL__'
###! By default, we'll allow 95% of the the worker timeout ###! By default, we'll allow 95% of the the worker timeout
# gitlab_rails['max_request_duration_seconds'] = 57 # gitlab_rails['max_request_duration_seconds'] = 57
### GitLab email server settings
###! Docs: https://docs.gitlab.com/omnibus/settings/smtp.html
###! **Use smtp instead of sendmail/postfix.**
# gitlab_rails['smtp_enable'] = true
# gitlab_rails['smtp_address'] = "smtp.server"
# gitlab_rails['smtp_port'] = 465
# gitlab_rails['smtp_user_name'] = "smtp user"
# gitlab_rails['smtp_password'] = "smtp password"
# gitlab_rails['smtp_domain'] = "example.com"
# gitlab_rails['smtp_authentication'] = "login"
# gitlab_rails['smtp_enable_starttls_auto'] = true
# gitlab_rails['smtp_tls'] = false
### Email Settings ### Email Settings
# gitlab_rails['gitlab_email_enabled'] = true # gitlab_rails['gitlab_email_enabled'] = true
##! If your SMTP server does not like the default 'From: gitlab@gitlab.example.com'
##! can change the 'From' with this setting.
# gitlab_rails['gitlab_email_from'] = 'example@example.com' # gitlab_rails['gitlab_email_from'] = 'example@example.com'
# gitlab_rails['gitlab_email_display_name'] = 'Example' # gitlab_rails['gitlab_email_display_name'] = 'Example'
# gitlab_rails['gitlab_email_reply_to'] = 'noreply@example.com' # gitlab_rails['gitlab_email_reply_to'] = 'noreply@example.com'
@ -164,6 +182,7 @@ external_url '__GENERATED_EXTERNAL_URL__'
# gitlab_rails['schedule_migrate_external_diffs_worker_cron'] = "15 * * * *" # gitlab_rails['schedule_migrate_external_diffs_worker_cron'] = "15 * * * *"
# gitlab_rails['ci_platform_metrics_update_cron_worker'] = '47 9 * * *' # gitlab_rails['ci_platform_metrics_update_cron_worker'] = '47 9 * * *'
# gitlab_rails['analytics_instance_statistics_count_job_trigger_worker_cron'] = "50 23 */1 * *" # gitlab_rails['analytics_instance_statistics_count_job_trigger_worker_cron'] = "50 23 */1 * *"
# gitlab_rails['member_invitation_reminder_emails_worker_cron'] = "0 0 * * *"
### Webhook Settings ### Webhook Settings
###! Number of seconds to wait for HTTP response after sending webhook HTTP POST ###! Number of seconds to wait for HTTP response after sending webhook HTTP POST
@ -276,17 +295,17 @@ external_url '__GENERATED_EXTERNAL_URL__'
###! ###!
###! Be sure to use different buckets for each type of object. ###! Be sure to use different buckets for each type of object.
###! Docs: https://docs.gitlab.com/ee/administration/object_storage.html ###! Docs: https://docs.gitlab.com/ee/administration/object_storage.html
gitlab_rails['object_store']['enabled'] = false # gitlab_rails['object_store']['enabled'] = false
gitlab_rails['object_store']['connection'] = {} # gitlab_rails['object_store']['connection'] = {}
gitlab_rails['object_store']['storage_options'] = {} # gitlab_rails['object_store']['storage_options'] = {}
gitlab_rails['object_store']['proxy_download'] = false # gitlab_rails['object_store']['proxy_download'] = false
gitlab_rails['object_store']['objects']['artifacts']['bucket'] = nil # gitlab_rails['object_store']['objects']['artifacts']['bucket'] = nil
gitlab_rails['object_store']['objects']['external_diffs']['bucket'] = nil # gitlab_rails['object_store']['objects']['external_diffs']['bucket'] = nil
gitlab_rails['object_store']['objects']['lfs']['bucket'] = nil # gitlab_rails['object_store']['objects']['lfs']['bucket'] = nil
gitlab_rails['object_store']['objects']['uploads']['bucket'] = nil # gitlab_rails['object_store']['objects']['uploads']['bucket'] = nil
gitlab_rails['object_store']['objects']['packages']['bucket'] = nil # gitlab_rails['object_store']['objects']['packages']['bucket'] = nil
gitlab_rails['object_store']['objects']['dependency_proxy']['bucket'] = nil # gitlab_rails['object_store']['objects']['dependency_proxy']['bucket'] = nil
gitlab_rails['object_store']['objects']['terraform_state']['bucket'] = nil # gitlab_rails['object_store']['objects']['terraform_state']['bucket'] = nil
### Job Artifacts ### Job Artifacts
# gitlab_rails['artifacts_enabled'] = true # gitlab_rails['artifacts_enabled'] = true
@ -390,6 +409,21 @@ gitlab_rails['object_store']['objects']['terraform_state']['bucket'] = nil
# # 'path_style' => false # Use 'host/bucket_name/object' instead of 'bucket_name.host/object' # # 'path_style' => false # Use 'host/bucket_name/object' instead of 'bucket_name.host/object'
# } # }
### GitLab Pages
# gitlab_rails['pages_object_store_enabled'] = false
# gitlab_rails['pages_object_store_remote_directory'] = "pages"
# gitlab_rails['pages_object_store_connection'] = {
# 'provider' => 'AWS',
# 'region' => 'eu-west-1',
# 'aws_access_key_id' => 'AWS_ACCESS_KEY_ID',
# 'aws_secret_access_key' => 'AWS_SECRET_ACCESS_KEY',
# # # The below options configure an S3 compatible host instead of AWS
# # 'host' => 's3.amazonaws.com',
# # 'aws_signature_version' => 4, # For creation of signed URLs. Set to 2 if provider does not support v4.
# # 'endpoint' => 'https://s3.amazonaws.com', # default: nil - Useful for S3 compliant services such as DigitalOcean Spaces
# # 'path_style' => false # Use 'host/bucket_name/object' instead of 'bucket_name.host/object'
# }
### Impersonation settings ### Impersonation settings
# gitlab_rails['impersonation_enabled'] = true # gitlab_rails['impersonation_enabled'] = true
@ -506,6 +540,13 @@ EOS
# } # }
# ] # ]
### FortiAuthenticator authentication settings
# gitlab_rails['forti_authenticator_enabled'] = false
# gitlab_rails['forti_authenticator_host'] = 'forti_authenticator.example.com'
# gitlab_rails['forti_authenticator_port'] = 443
# gitlab_rails['forti_authenticator_username'] = 'admin'
# gitlab_rails['forti_authenticator_access_token'] = 's3cr3t'
### Backup Settings ### Backup Settings
###! Docs: https://docs.gitlab.com/omnibus/settings/backups.html ###! Docs: https://docs.gitlab.com/omnibus/settings/backups.html
@ -687,20 +728,6 @@ gitlab_rails['gitlab_shell_ssh_port'] = __SSH_PORT__
# gitlab_rails['redis_actioncable_instance'] = nil # gitlab_rails['redis_actioncable_instance'] = nil
# gitlab_rails['redis_actioncable_sentinels'] = nil # gitlab_rails['redis_actioncable_sentinels'] = nil
### GitLab email server settings
###! Docs: https://docs.gitlab.com/omnibus/settings/smtp.html
###! **Use smtp instead of sendmail/postfix.**
# gitlab_rails['smtp_enable'] = true
# gitlab_rails['smtp_address'] = "smtp.server"
# gitlab_rails['smtp_port'] = 465
# gitlab_rails['smtp_user_name'] = "smtp user"
# gitlab_rails['smtp_password'] = "smtp password"
# gitlab_rails['smtp_domain'] = "example.com"
# gitlab_rails['smtp_authentication'] = "login"
# gitlab_rails['smtp_enable_starttls_auto'] = true
# gitlab_rails['smtp_tls'] = false
###! **Can be: 'none', 'peer', 'client_once', 'fail_if_no_peer_cert'** ###! **Can be: 'none', 'peer', 'client_once', 'fail_if_no_peer_cert'**
###! Docs: http://api.rubyonrails.org/classes/ActionMailer/Base.html ###! Docs: http://api.rubyonrails.org/classes/ActionMailer/Base.html
# gitlab_rails['smtp_openssl_verify_mode'] = 'none' # gitlab_rails['smtp_openssl_verify_mode'] = 'none'
@ -812,7 +839,7 @@ gitlab_rails['gitlab_shell_ssh_port'] = __SSH_PORT__
# gitlab_workhorse['ha'] = false # gitlab_workhorse['ha'] = false
# gitlab_workhorse['listen_network'] = "unix" # gitlab_workhorse['listen_network'] = "unix"
# gitlab_workhorse['listen_umask'] = 000 # gitlab_workhorse['listen_umask'] = 000
# gitlab_workhorse['listen_addr'] = "/var/opt/gitlab/gitlab-workhorse/socket" # gitlab_workhorse['listen_addr'] = "/var/opt/gitlab/gitlab-workhorse/sockets/socket"
# gitlab_workhorse['auth_backend'] = "http://localhost:8080" # gitlab_workhorse['auth_backend'] = "http://localhost:8080"
##! the empty string is the default in gitlab-workhorse option parser ##! the empty string is the default in gitlab-workhorse option parser
@ -1060,10 +1087,17 @@ sidekiq['listen_port'] = __SIDEKIQ_PORT__
# postgresql['ssl_key_file'] = 'server.key' # postgresql['ssl_key_file'] = 'server.key'
# postgresql['ssl_ca_file'] = '/opt/gitlab/embedded/ssl/certs/cacert.pem' # postgresql['ssl_ca_file'] = '/opt/gitlab/embedded/ssl/certs/cacert.pem'
# postgresql['ssl_crl_file'] = nil # postgresql['ssl_crl_file'] = nil
# postgresql['cert_auth_addresses'] = {
# 'ADDRESS' => {
# database: 'gitlabhq_production',
# user: 'gitlab'
# }
# }
### Replication settings ### Replication settings
###! Note, some replication settings do not require a full restart. They are documented below. ###! Note, some replication settings do not require a full restart. They are documented below.
# postgresql['wal_level'] = "hot_standby" # postgresql['wal_level'] = "hot_standby"
# postgresql['wal_log_hints'] = 'off'
# postgresql['max_wal_senders'] = 5 # postgresql['max_wal_senders'] = 5
# postgresql['max_replication_slots'] = 0 # postgresql['max_replication_slots'] = 0
# postgresql['max_locks_per_transaction'] = 128 # postgresql['max_locks_per_transaction'] = 128
@ -1567,6 +1601,38 @@ nginx['listen_https'] = false
# gitlab_ci['gitlab_ci_add_pusher'] = true # gitlab_ci['gitlab_ci_add_pusher'] = true
# gitlab_ci['builds_directory'] = '/var/opt/gitlab/gitlab-ci/builds' # gitlab_ci['builds_directory'] = '/var/opt/gitlab/gitlab-ci/builds'
################################################################################
## GitLab Kubernetes Agent Server
##! Docs: https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent/blob/master/README.md
################################################################################
##! Enable GitLab KAS
# gitlab_kas['enable'] = true
##! Agent configuration for GitLab KAS
# gitlab_kas['agent_configuration_poll_period'] = 20
# gitlab_kas['agent_gitops_poll_period'] = 20
# gitlab_kas['agent_gitops_project_info_cache_ttl'] = 300
# gitlab_kas['agent_gitops_project_info_cache_error_ttl'] = 60
# gitlab_kas['agent_info_cache_ttl'] = 300
# gitlab_kas['agent_info_cache_error_ttl'] = 60
##! Shared secret used for authentication between KAS and GitLab
# gitlab_kas['api_secret_key'] = nil # Will be generated if not set. Base64 encoded and exactly 32 bytes long.
##! Listen configuration for GitLab KAS
# gitlab_kas['listen_address'] = 'localhost:8150'
# gitlab_kas['listen_network'] = 'tcp'
# gitlab_kas['listen_websocket'] = true
##! Metrics configuration for GitLab KAS
# gitlab_kas['metrics_usage_reporting_period'] = 60
##! Directories for GitLab KAS
# gitlab_kas['dir'] = '/var/opt/gitlab/gitlab-kas'
# gitlab_kas['log_directory'] = '/var/log/gitlab/gitlab-kas'
# gitlab_kas['env_directory'] = '/opt/gitlab/etc/gitlab-kas/env'
################################################################################ ################################################################################
## GitLab Mattermost ## GitLab Mattermost
##! Docs: https://docs.gitlab.com/omnibus/gitlab-mattermost ##! Docs: https://docs.gitlab.com/omnibus/gitlab-mattermost
@ -1969,6 +2035,11 @@ nginx['listen_https'] = false
# 'max_per_repo' => 5 # 'max_per_repo' => 5
# } # }
# ] # ]
#
# gitaly['daily_maintenance_start_hour'] = 22
# gitaly['daily_maintenance_start_minute'] = 30
# gitaly['daily_maintenance_duration'] = '30m'
# gitaly['daily_maintenance_storages'] = ["default"]
################################################################################ ################################################################################
## Praefect ## Praefect
@ -2023,8 +2094,8 @@ nginx['listen_https'] = false
# praefect['sentry_dsn'] = "https://<key>:<secret>@sentry.io/<project>" # praefect['sentry_dsn'] = "https://<key>:<secret>@sentry.io/<project>"
# praefect['sentry_environment'] = "production" # praefect['sentry_environment'] = "production"
# praefect['auto_migrate'] = true # praefect['auto_migrate'] = true
# praefect['database_host'] = 'postgres.internal' # praefect['database_host'] = 'postgres.external'
# praefect['database_port'] = 5432 # praefect['database_port'] = 6432
# praefect['database_user'] = 'praefect' # praefect['database_user'] = 'praefect'
# praefect['database_password'] = 'secret' # praefect['database_password'] = 'secret'
# praefect['database_dbname'] = 'praefect_production' # praefect['database_dbname'] = 'praefect_production'
@ -2034,6 +2105,8 @@ nginx['listen_https'] = false
# praefect['database_sslrootcert'] = '/path/to/rootcert' # praefect['database_sslrootcert'] = '/path/to/rootcert'
# praefect['reconciliation_scheduling_interval'] = '5m' # praefect['reconciliation_scheduling_interval'] = '5m'
# praefect['reconciliation_histogram_buckets'] = '[0.001, 0.005, 0.025, 0.1, 0.5, 1.0, 10.0]' # praefect['reconciliation_histogram_buckets'] = '[0.001, 0.005, 0.025, 0.1, 0.5, 1.0, 10.0]'
# praefect['database_host_no_proxy'] = 'postgres.internal'
# praefect['database_port_no_proxy'] = 5432
################################################################################ ################################################################################
# Storage check # Storage check
@ -2101,6 +2174,7 @@ nginx['listen_https'] = false
# gitlab_rails['kerberos_enabled'] = true # gitlab_rails['kerberos_enabled'] = true
# gitlab_rails['kerberos_keytab'] = /etc/http.keytab # gitlab_rails['kerberos_keytab'] = /etc/http.keytab
# gitlab_rails['kerberos_service_principal_name'] = HTTP/gitlab.example.com@EXAMPLE.COM # gitlab_rails['kerberos_service_principal_name'] = HTTP/gitlab.example.com@EXAMPLE.COM
# gitlab_rails['kerberos_simple_ldap_linking_allowed_realms'] = ['example.com','kerberos.example.com']
# gitlab_rails['kerberos_use_dedicated_port'] = true # gitlab_rails['kerberos_use_dedicated_port'] = true
# gitlab_rails['kerberos_port'] = 8443 # gitlab_rails['kerberos_port'] = 8443
# gitlab_rails['kerberos_https'] = true # gitlab_rails['kerberos_https'] = true
@ -2485,6 +2559,11 @@ nginx['listen_https'] = false
# patroni['use_pg_rewind'] = false # patroni['use_pg_rewind'] = false
# patroni['use_slots'] = true # patroni['use_slots'] = true
## Permanent replication slots for Streaming Replication
# patroni['replication_slots'] = {
# 'geo_secondary' => { 'type' => 'physical' }
# }
## The address and port that Patroni API binds to and listens on. ## The address and port that Patroni API binds to and listens on.
# patroni['listen_address'] = nil # patroni['listen_address'] = nil
# patroni['port'] = '8008' # patroni['port'] = '8008'

View file

@ -2,7 +2,7 @@
"name": "GitLab", "name": "GitLab",
"id": "gitlab", "id": "gitlab",
"packaging_format": 1, "packaging_format": 1,
"version": "13.4.3~ynh1", "version": "13.5.1~ynh1",
"description": { "description": {
"en": "Git-repository manager.", "en": "Git-repository manager.",
"fr": "Gestionnaire de dépôts Git." "fr": "Gestionnaire de dépôts Git."

View file

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
gitlab_version="13.4.3" gitlab_version="13.5.1"
# 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="48eea5c92611f695eeacaea6c5cc3f0120465d02f26d03873512fcea7b5f6860" gitlab_x86_64_buster_source_sha256="d39e10faf5c7b88618e56d2dfcbcd5467c125d1bb346be0182a97169b2bc2f75"
gitlab_arm_buster_source_sha256="b8fd6c7b62872f97c4f943aa085ce8d6f952c5dbdadc0f2e90a11f44d6e3b4a0" gitlab_arm_buster_source_sha256="fbf872c3421767b3b268f34477212e6209b28e614ae4ed8900f121765a3a0264"
architecture=$(ynh_app_setting_get --app="$app" --key=architecture) architecture=$(ynh_app_setting_get --app="$app" --key=architecture)