Skip to content

Commit a430fdf

Browse files
committed
upgrade to 17.3.4
1 parent 34449af commit a430fdf

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.gitlab-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
17.2.1
1+
17.3.4

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/rtxux/gitlab:17.2.1
1+
FROM sameersbn/gitlab:17.3.4
22

33
# Override files
44
COPY assets/runtime/config/gitlabhq/gitlab.yml ${GITLAB_RUNTIME_DIR}/config/gitlabhq/gitlab.yml

assets/runtime/functions

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,10 @@ gitlab_configure_gitaly() {
351351
gitlab_configure_monitoring() {
352352
echo "Configuring gitlab::monitoring..."
353353

354+
if [ "${GITLAB_MONITORING_IP_WHITELIST}" == "" ]; then
355+
exec_as_git sed -i "/{{GITLAB_MONITORING_IP_WHITELIST}}/d" ${GITLAB_CONFIG}
356+
fi
357+
354358
update_template ${GITLAB_CONFIG} \
355359
GITLAB_MONITORING_UNICORN_SAMPLER_INTERVAL \
356360
GITLAB_MONITORING_IP_WHITELIST \
@@ -1832,13 +1836,13 @@ generate_healthcheck_script() {
18321836
# configure healthcheck script
18331837
## https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html
18341838
local HEALTHCHECK_PROTOCOL="http"
1835-
if [[ "${GITLAB_HTTPS}" == true ]]; then
1839+
if [[ "${GITLAB_HTTPS}" == true && "${SSL_SELF_SIGNED}" == false ]]; then
18361840
HEALTHCHECK_PROTOCOL="${HEALTHCHECK_PROTOCOL}s"
18371841
fi
18381842
cat > /usr/local/sbin/healthcheck <<EOF
18391843
#!/bin/bash
1840-
url=${HEALTHCHECK_PROTOCOL}://localhost${GITLAB_RELATIVE_URL_ROOT}/-/liveness
1841-
options=( '--insecure' '--location' '--silent' )
1844+
url=${HEALTHCHECK_PROTOCOL}://127.0.0.1${GITLAB_RELATIVE_URL_ROOT}/-/liveness
1845+
options=( '--insecure' '--silent' )
18421846
curl "\${options[@]}" \$url
18431847
[[ "\$(curl \${options[@]} -o /dev/null -I -w '%{http_code}' \$url)" == "200" ]]
18441848
EOF

0 commit comments

Comments
 (0)