Rename workhorse binary to gitlab-workhorse

This commit is contained in:
Pirate Praveen 2021-10-29 20:06:32 +05:30
parent ac1c9f9ba3
commit 1a25c27275

4
debian/rules vendored
View file

@ -13,6 +13,10 @@ override_dh_auto_configure:
cp -r workhorse _build/src/gitlab.com/gitlab-org/gitlab
if [ -d workhorse-vendor ]; then mv workhorse-vendor _build/src/gitlab.com/gitlab-org/gitlab/workhorse/vendor; fi
execute_after_dh_auto_build:
# Rename binary to gitlab-workhorse (upstream is passing -o in Makefile)
if [ -f _build/bin/workhorse ]; then mv _build/bin/workhorse _build/bin/gitlab-workhorse; fi
override_dh_auto_test:
dh_auto_test -O--package=gitlab
PATH="$(CURDIR)/_build/bin:$$PATH" dh_auto_test -O--package=gitlab-workhorse