From 6e6da2ac1be156712fd7462b1292588dadfc7826 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Thu, 26 Aug 2021 23:49:41 +0200 Subject: [PATCH 1/6] 14.2.1 --- conf/gitlab.rb | 34 +++++++++++++++++++++++++++++++ manifest.json | 2 +- scripts/upgrade.d/upgrade.last.sh | 12 +++++------ 3 files changed, 41 insertions(+), 7 deletions(-) diff --git a/conf/gitlab.rb b/conf/gitlab.rb index 9efc9c8..2e0abf0 100644 --- a/conf/gitlab.rb +++ b/conf/gitlab.rb @@ -931,6 +931,18 @@ gitlab_rails['gitlab_shell_ssh_port'] = __SSH_PORT__ ##! Propagate X-Request-Id if available. Workhorse will generate a random value otherwise. # gitlab_workhorse['propagate_correlation_id'] = false +##! A list of CIDR blocks to allow for propagation of correlation ID. +##! propagate_correlation_id should also be set to true. +##! For example: %w(127.0.0.1/32 192.168.0.1/32) +# gitlab_workhorse['trusted_cidrs_for_propagation'] = nil + +##! A list of CIDR blocks that must match remote IP addresses to use +##! X-Forwarded-For HTTP header for the actual client IP. Used in +##! conjuction with propagate_correlation_id and +##! trusted_cidrs_for_propagation. +##! For example: %w(127.0.0.1/32 192.168.0.1/32) +# gitlab_workhorse['trusted_cidrs_for_x_forwarded_for'] = nil + ##! Log format: default is json, can also be text or none. # gitlab_workhorse['log_format'] = "json" @@ -1416,6 +1428,7 @@ nginx['listen_https'] = false ### Advanced settings # nginx['dir'] = "/var/opt/gitlab/nginx" # nginx['log_directory'] = "/var/log/gitlab/nginx" +# nginx['error_log_level'] = "error" # nginx['worker_processes'] = 4 # nginx['worker_connections'] = 10240 # nginx['log_format'] = '$remote_addr - $remote_user [$time_local] "$request_method $filtered_request_uri $server_protocol" $status $body_bytes_sent "$filtered_http_referer" "$http_user_agent" $gzip_ratio' @@ -2647,6 +2660,9 @@ package['modify_kernel_parameters'] = __MODIFY_KERNEL_PARAMETERS__ # patroni['use_slots'] = true # patroni['replication_password'] = nil # patroni['replication_slots'] = {} +# patroni['callbacks'] = {} +# patroni['recovery_conf'] = {} +# patroni['tags'] = {} ## Standby cluster replication settings # patroni['standby_cluster']['enable'] = false @@ -2705,11 +2721,29 @@ package['modify_kernel_parameters'] = __MODIFY_KERNEL_PARAMETERS__ ## advertized and by default is the same as patroni['port']. # patroni['connect_port'] = '8008' +## Specifies the set of hosts that are allowed to call unsafe REST API endpoints. +## Each item can be an hostname, IP address, or CIDR address. +## All hosts are allowed if this is unset. +# patroni['allowlist'] = [] +# patroni['allowlist_include_members'] = false + ## The username and password to use for basic auth on write commands to the ## Patroni API. If not specified then the API does not use basic auth. # patroni['username'] = nil # patroni['password'] = nil +## TLS configuration for Patroni API. Both certificate and key files are +## required to enable TLS. If not specified then the API uses plain HTTP. +# patroni['tls_certificate_file'] = nil +# patroni['tls_key_file'] = nil +# patroni['tls_key_password'] = nil +# patroni['tls_ca_file'] = nil +# patroni['tls_ciphers'] = nil +# patroni['tls_client_mode'] = nil +# patroni['tls_client_certificate_file'] = nil +# patroni['tls_client_key_file'] = nil +# patroni['tls_verify'] = true + ################################################################################ # Consul (EEP only) ################################################################################ diff --git a/manifest.json b/manifest.json index 6812628..0e642f6 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name": "GitLab", "id": "gitlab", "packaging_format": 1, - "version": "14.1.2~ynh1", + "version": "14.2.1~ynh1", "description": { "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." diff --git a/scripts/upgrade.d/upgrade.last.sh b/scripts/upgrade.d/upgrade.last.sh index 6bcd51c..ab21b48 100644 --- a/scripts/upgrade.d/upgrade.last.sh +++ b/scripts/upgrade.d/upgrade.last.sh @@ -1,15 +1,15 @@ #!/bin/bash -gitlab_version="14.1.2" +gitlab_version="14.2.1" # sha256sum found here: https://packages.gitlab.com/gitlab gitlab_debian_version="buster" -gitlab_x86_64_buster_source_sha256="01e1776daa7ed6062117b7c2ae9425eed6ba200f07192bd52d4fa6febe45f46d" +gitlab_x86_64_buster_source_sha256="3e7246f2b49a9cb608714bc32f330e2b21d1b6f37cf44c31374a8817a16faf96" -gitlab_arm64_buster_source_sha256="f2804db2d0286b6c22efe8671734f56e5f08fd91e2820173b833daa0efae247b" +gitlab_arm64_buster_source_sha256="5967ee8f5b975f26a30469ea9d9492ce4cee06d958e292d1057c30fb9d3ff735" -gitlab_arm_buster_source_sha256="33a33792cbdceed4e64a815997fc06df83aaaab2bac8209f6776da821d25d494" +gitlab_arm_buster_source_sha256="f4553bb6a04fa580f2a4eb5ec5507701ae1c1cb4766cad58568d299d0ef04cae" architecture=$(ynh_app_setting_get --app="$app" --key=architecture) @@ -20,8 +20,8 @@ elif [ "$architecture" = "arm64" ]; then elif [ "$architecture" = "arm" ]; then # If the version for arm doesn't exist, then use an older one if [ -z "$gitlab_arm_buster_source_sha256" ]; then - gitlab_version="14.1.2" - gitlab_arm_buster_source_sha256="33a33792cbdceed4e64a815997fc06df83aaaab2bac8209f6776da821d25d494" + gitlab_version="14.2.1" + gitlab_arm_buster_source_sha256="f4553bb6a04fa580f2a4eb5ec5507701ae1c1cb4766cad58568d299d0ef04cae" fi gitlab_source_sha256=$gitlab_arm_buster_source_sha256 fi From 663aedb97c8f710ad138b7460e3328b2d1795e48 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Thu, 26 Aug 2021 21:49:52 +0000 Subject: [PATCH 2/6] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 20a3e04..d24d578 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features. -**Shipped version:** 14.1.2~ynh1 +**Shipped version:** 14.2.1~ynh1 **Demo:** https://gitlab.com/explore diff --git a/README_fr.md b/README_fr.md index ff3a548..42640d9 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Gestionnaire de dépôts Git proposant des fonctionnalités de wiki, suivi de bugs et de pipeline CI/CD. -**Version incluse :** 14.1.2~ynh1 +**Version incluse :** 14.2.1~ynh1 **Démo :** https://gitlab.com/explore From 0558493344a0972ae703b5d157944a9046bd4f52 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 1 Sep 2021 13:55:39 +0200 Subject: [PATCH 3/6] 14.2.2 --- manifest.json | 2 +- scripts/upgrade.d/upgrade.last.sh | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index 0e642f6..d9830d1 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name": "GitLab", "id": "gitlab", "packaging_format": 1, - "version": "14.2.1~ynh1", + "version": "14.2.2~ynh1", "description": { "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." diff --git a/scripts/upgrade.d/upgrade.last.sh b/scripts/upgrade.d/upgrade.last.sh index ab21b48..6bae1f1 100644 --- a/scripts/upgrade.d/upgrade.last.sh +++ b/scripts/upgrade.d/upgrade.last.sh @@ -1,15 +1,15 @@ #!/bin/bash -gitlab_version="14.2.1" +gitlab_version="14.2.2" # sha256sum found here: https://packages.gitlab.com/gitlab gitlab_debian_version="buster" -gitlab_x86_64_buster_source_sha256="3e7246f2b49a9cb608714bc32f330e2b21d1b6f37cf44c31374a8817a16faf96" +gitlab_x86_64_buster_source_sha256="77de4f76b093c5a849def556c7fa8b9253efee340ad8a79fae2b5e20fd2b4b56" -gitlab_arm64_buster_source_sha256="5967ee8f5b975f26a30469ea9d9492ce4cee06d958e292d1057c30fb9d3ff735" +gitlab_arm64_buster_source_sha256="a468eb0c9220cf7975fda0cecf949a9fad969c621b3408c01f79b4825ebfc0c1" -gitlab_arm_buster_source_sha256="f4553bb6a04fa580f2a4eb5ec5507701ae1c1cb4766cad58568d299d0ef04cae" +gitlab_arm_buster_source_sha256="06041dad5b4697384e6920a737a2b7ba1c730ef540941162075cc8c4c8e8ecff" architecture=$(ynh_app_setting_get --app="$app" --key=architecture) @@ -20,8 +20,8 @@ elif [ "$architecture" = "arm64" ]; then elif [ "$architecture" = "arm" ]; then # If the version for arm doesn't exist, then use an older one if [ -z "$gitlab_arm_buster_source_sha256" ]; then - gitlab_version="14.2.1" - gitlab_arm_buster_source_sha256="f4553bb6a04fa580f2a4eb5ec5507701ae1c1cb4766cad58568d299d0ef04cae" + gitlab_version="14.2.2" + gitlab_arm_buster_source_sha256="06041dad5b4697384e6920a737a2b7ba1c730ef540941162075cc8c4c8e8ecff" fi gitlab_source_sha256=$gitlab_arm_buster_source_sha256 fi From fde548b4bd36ca0d37ff4903683a6cf9f06e13e5 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Wed, 1 Sep 2021 11:55:45 +0000 Subject: [PATCH 4/6] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d24d578..5f6c998 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features. -**Shipped version:** 14.2.1~ynh1 +**Shipped version:** 14.2.2~ynh1 **Demo:** https://gitlab.com/explore diff --git a/README_fr.md b/README_fr.md index 42640d9..7ae47c7 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Gestionnaire de dépôts Git proposant des fonctionnalités de wiki, suivi de bugs et de pipeline CI/CD. -**Version incluse :** 14.2.1~ynh1 +**Version incluse :** 14.2.2~ynh1 **Démo :** https://gitlab.com/explore From 5f2544a392b7e5760fd6075884c98a5a2df84fd0 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Mon, 6 Sep 2021 13:42:11 +0200 Subject: [PATCH 5/6] 14.2.3 --- manifest.json | 2 +- scripts/upgrade.d/upgrade.last.sh | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index d9830d1..3e378b8 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name": "GitLab", "id": "gitlab", "packaging_format": 1, - "version": "14.2.2~ynh1", + "version": "14.2.3~ynh1", "description": { "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." diff --git a/scripts/upgrade.d/upgrade.last.sh b/scripts/upgrade.d/upgrade.last.sh index 6bae1f1..637c3c9 100644 --- a/scripts/upgrade.d/upgrade.last.sh +++ b/scripts/upgrade.d/upgrade.last.sh @@ -1,15 +1,15 @@ #!/bin/bash -gitlab_version="14.2.2" +gitlab_version="14.2.3" # sha256sum found here: https://packages.gitlab.com/gitlab gitlab_debian_version="buster" -gitlab_x86_64_buster_source_sha256="77de4f76b093c5a849def556c7fa8b9253efee340ad8a79fae2b5e20fd2b4b56" +gitlab_x86_64_buster_source_sha256="c83a3f9d73e4b2178b13a856aa41bd7eea5319c0bddec4cc50f29e294e02adda" -gitlab_arm64_buster_source_sha256="a468eb0c9220cf7975fda0cecf949a9fad969c621b3408c01f79b4825ebfc0c1" +gitlab_arm64_buster_source_sha256="b5980a570c62943b744ec71e5124e3efd88418331edc4f2dde4a14bcefa8b52e" -gitlab_arm_buster_source_sha256="06041dad5b4697384e6920a737a2b7ba1c730ef540941162075cc8c4c8e8ecff" +gitlab_arm_buster_source_sha256="323e9c182a95c3f67335907426dc9e917f8a065b4da4014053a84c85b190ee8f" architecture=$(ynh_app_setting_get --app="$app" --key=architecture) @@ -20,8 +20,8 @@ elif [ "$architecture" = "arm64" ]; then elif [ "$architecture" = "arm" ]; then # If the version for arm doesn't exist, then use an older one if [ -z "$gitlab_arm_buster_source_sha256" ]; then - gitlab_version="14.2.2" - gitlab_arm_buster_source_sha256="06041dad5b4697384e6920a737a2b7ba1c730ef540941162075cc8c4c8e8ecff" + gitlab_version="14.2.3" + gitlab_arm_buster_source_sha256="323e9c182a95c3f67335907426dc9e917f8a065b4da4014053a84c85b190ee8f" fi gitlab_source_sha256=$gitlab_arm_buster_source_sha256 fi From 8a0e18e37d0e9eda84c6f69b450470bd93436d8f Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 6 Sep 2021 11:42:36 +0000 Subject: [PATCH 6/6] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5f6c998..0b21136 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features. -**Shipped version:** 14.2.2~ynh1 +**Shipped version:** 14.2.3~ynh1 **Demo:** https://gitlab.com/explore diff --git a/README_fr.md b/README_fr.md index 7ae47c7..cfb9238 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Gestionnaire de dépôts Git proposant des fonctionnalités de wiki, suivi de bugs et de pipeline CI/CD. -**Version incluse :** 14.2.2~ynh1 +**Version incluse :** 14.2.3~ynh1 **Démo :** https://gitlab.com/explore