From d98b93ffc1dadb2607faada385216201b2898064 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Thu, 19 Nov 2015 19:36:09 +0530 Subject: [PATCH] gitlab-workhorse: upgrade to v.0.4.2 Module formerly known as gitlab-git-http-server --- Changelog.md | 1 + Dockerfile | 4 ++-- assets/build/install.sh | 19 +++++++++---------- assets/runtime/config/nginx/gitlab | 22 +++++++++++----------- assets/runtime/config/nginx/gitlab-ssl | 22 +++++++++++----------- assets/runtime/functions | 5 ----- entrypoint.sh | 1 - 7 files changed, 34 insertions(+), 40 deletions(-) diff --git a/Changelog.md b/Changelog.md index 3f38908d..8a4704f8 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,7 @@ This file only reflects the changes that are made in this image. Please refer to **latest** - gitlab-shell: upgrade to v.2.6.7 +- gitlab-workhorse: upgrade to v.0.4.2 **8.1.4** - gitlab: upgrade to CE v8.1.4 diff --git a/Dockerfile b/Dockerfile index c04dd191..aa940627 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ MAINTAINER sameer@damagehead.com ENV GITLAB_VERSION=8.1.4 \ GITLAB_SHELL_VERSION=2.6.7 \ - GITLAB_GIT_HTTP_SERVER_VERSION=0.3.0 \ + GITLAB_WORKHORSE_VERSION=0.4.2 \ GITLAB_USER="git" \ GITLAB_HOME="/home/git" \ GITLAB_LOG_DIR="/var/log/gitlab" \ @@ -12,7 +12,7 @@ ENV GITLAB_VERSION=8.1.4 \ ENV GITLAB_INSTALL_DIR="${GITLAB_HOME}/gitlab" \ GITLAB_SHELL_INSTALL_DIR="${GITLAB_HOME}/gitlab-shell" \ - GITLAB_GIT_HTTP_SERVER_INSTALL_DIR="${GITLAB_HOME}/gitlab-git-http-server" \ + GITLAB_WORKHORSE_INSTALL_DIR="${GITLAB_HOME}/gitlab-workhorse" \ GITLAB_DATA_DIR="${GITLAB_HOME}/data" \ GITLAB_BUILD_DIR="${GITLAB_CACHE_DIR}/build" \ GITLAB_RUNTIME_DIR="${GITLAB_CACHE_DIR}/runtime" diff --git a/assets/build/install.sh b/assets/build/install.sh index 459950b3..d9074e79 100755 --- a/assets/build/install.sh +++ b/assets/build/install.sh @@ -49,11 +49,11 @@ cd ${GITLAB_SHELL_INSTALL_DIR} exec_as_git cp -a ${GITLAB_SHELL_INSTALL_DIR}/config.yml.example ${GITLAB_SHELL_INSTALL_DIR}/config.yml exec_as_git ./bin/install -echo "Cloning gitlab-git-http-server v.${GITLAB_GIT_HTTP_SERVER_VERSION}..." -exec_as_git git clone -q -b ${GITLAB_GIT_HTTP_SERVER_VERSION} --depth 1 \ - https://gitlab.com/gitlab-org/gitlab-git-http-server.git ${GITLAB_GIT_HTTP_SERVER_INSTALL_DIR} +echo "Cloning gitlab-workhorse v.${GITLAB_WORKHORSE_VERSION}..." +exec_as_git git clone -q -b ${GITLAB_WORKHORSE_VERSION} --depth 1 \ + https://gitlab.com/gitlab-org/gitlab-workhorse.git ${GITLAB_WORKHORSE_INSTALL_DIR} -cd ${GITLAB_GIT_HTTP_SERVER_INSTALL_DIR} +cd ${GITLAB_WORKHORSE_INSTALL_DIR} exec_as_git make # shallow clone gitlab-ce @@ -222,18 +222,17 @@ stdout_logfile=${GITLAB_LOG_DIR}/supervisor/%(program_name)s.log stderr_logfile=${GITLAB_LOG_DIR}/supervisor/%(program_name)s.log EOF -# configure supervisord to start gitlab-git-http-server -cat > /etc/supervisor/conf.d/gitlab-git-http-server.conf < /etc/supervisor/conf.d/gitlab-workhorse.conf <