Skip to content

Commit 4fec932

Browse files
committed
Revert incorrect removal of gitlab_configure_assets_access
1 parent 62083ed commit 4fec932

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

assets/runtime/functions

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,6 +2000,11 @@ install_configuration_templates() {
20002000
install_template ${GITLAB_USER}: gitaly/config.toml ${GITLAB_GITALY_CONFIG}
20012001
}
20022002

2003+
gitlab_configure_assets_access() {
2004+
# https://github.com/ustclug/docker-gitlab/issues/4
2005+
chmod 755 ${GITLAB_HOME}
2006+
}
2007+
20032008
configure_gitlab() {
20042009
echo "Configuring gitlab..."
20052010
update_template ${GITLAB_CONFIG} \
@@ -2060,6 +2065,7 @@ configure_gitlab() {
20602065
gitlab_configure_sentry
20612066
generate_healthcheck_script
20622067
gitlab_configure_content_security_policy
2068+
gitlab_configure_assets_access
20632069

20642070
# remove stale gitlab.socket
20652071
rm -rf ${GITLAB_INSTALL_DIR}/tmp/sockets/gitlab.socket

0 commit comments

Comments
 (0)