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