From 3186fb9540207174d1fc19d87aba56ff3d0740e1 Mon Sep 17 00:00:00 2001 From: SolidNerd Date: Wed, 27 Jul 2016 20:02:29 +0200 Subject: [PATCH] Add SKIP_STORAGE_VALIDATION to let assets:precompile This is the new way how we could resolve the problem with assets:precompile since 8.10.0 GITLAB MR Link: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5478/commits --- assets/build/install.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/assets/build/install.sh b/assets/build/install.sh index 6e238741..bae48bce 100755 --- a/assets/build/install.sh +++ b/assets/build/install.sh @@ -103,14 +103,8 @@ chown -R ${GITLAB_USER}: ${GITLAB_HOME} exec_as_git cp ${GITLAB_INSTALL_DIR}/config/gitlab.yml.example ${GITLAB_INSTALL_DIR}/config/gitlab.yml exec_as_git cp ${GITLAB_INSTALL_DIR}/config/database.yml.mysql ${GITLAB_INSTALL_DIR}/config/database.yml -# add temporary git respository folder for `assets:precompile` -exec_as_git mkdir -p /home/git/repositories - echo "Compiling assets. Please be patient, this could take a while..." -exec_as_git bundle exec rake assets:clean assets:precompile USE_DB=false >/dev/null 2>&1 - -# cleanup temporary git repository folder for `assets:precompile` -rm -rf /home/git/repositories +exec_as_git bundle exec rake assets:clean assets:precompile USE_DB=false SKIP_STORAGE_VALIDATION=true >/dev/null 2>&1 # remove auto generated ${GITLAB_DATA_DIR}/config/secrets.yml rm -rf ${GITLAB_DATA_DIR}/config/secrets.yml