From 844d721efab136a1507a308ad82bbd4595cff6a2 Mon Sep 17 00:00:00 2001 From: Steven Achilles Date: Sun, 29 Dec 2019 17:32:52 +0100 Subject: [PATCH] fix(gitlab-shell): let gitlab-shell compile again --- assets/build/install.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/assets/build/install.sh b/assets/build/install.sh index b69018d6..8eb05a1e 100755 --- a/assets/build/install.sh +++ b/assets/build/install.sh @@ -88,12 +88,10 @@ chown -R ${GITLAB_USER}: ${GITLAB_SHELL_INSTALL_DIR} cd ${GITLAB_SHELL_INSTALL_DIR} exec_as_git cp -a config.yml.example config.yml -if [[ -x ./bin/compile ]]; then - echo "Compiling gitlab-shell golang executables..." - ./bin/compile - rm -rf go_build -fi -./bin/install + +echo "Compiling gitlab-shell golang executables..." +exec_as_git bundle install -j"$(nproc)" --deployment --with development test +exec_as_git "PATH=$PATH" make verify setup # remove unused repositories directory created by gitlab-shell install rm -rf ${GITLAB_HOME}/repositories