Skip to content

Commit 954b3b1

Browse files
authored
Merge pull request #2138 from sameersbn/remove-temp-fixes
remove "Fix for rebase in forks"
2 parents e921ce8 + 8731a68 commit 954b3b1

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ help:
1111
@echo " 5. make purge - stop and remove the container"
1212

1313
build:
14-
@docker build --tag=sameersbn/gitlab .
14+
@docker build --tag=sameersbn/gitlab . \
15+
--build-arg BUILD_DATE="$(shell date +"%Y-%m-%d %H:%M:%S%:z")" \
16+
--build-arg VCS_REF=$(shell git rev-parse --short HEAD)
1517

1618
release: build
17-
@docker build --tag=sameersbn/gitlab:$(shell cat VERSION) .
19+
@docker build --tag=sameersbn/gitlab:$(shell cat VERSION) . \
20+
--build-arg BUILD_DATE="$(shell date +"%Y-%m-%d %H:%M:%S%:z")" \
21+
--build-arg VCS_REF=$(git describe --tags --always)
1822

1923
quickstart:
2024
@echo "Starting postgresql container..."

assets/build/install.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,6 @@ rm -rf ${GITLAB_GITALY_BUILD_DIR}
137137
# remove go
138138
rm -rf ${GITLAB_BUILD_DIR}/go${GOLANG_VERSION}.linux-amd64.tar.gz ${GOROOT}
139139

140-
# Fix for rebase in forks
141-
echo "Linking $(command -v gitaly-ssh) to /"
142-
ln -s "$(command -v gitaly-ssh)" /
143-
144-
# Fix for gitaly-hooks
145-
echo "Linking $(command -v gitaly-hooks) to /"
146-
ln -s "$(command -v gitaly-hooks)" /
147-
148140
# remove HSTS config from the default headers, we configure it in nginx
149141
exec_as_git sed -i "/headers\['Strict-Transport-Security'\]/d" ${GITLAB_INSTALL_DIR}/app/controllers/application_controller.rb
150142

0 commit comments

Comments
 (0)