fix(gitlab-shell): let gitlab-shell compile again

This commit is contained in:
Steven Achilles 2019-12-29 17:32:52 +01:00 committed by Niclas Mietz
parent 6bde6baa7a
commit 844d721efa

View File

@ -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