diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -69,6 +69,7 @@ sample-malcontent: HYDRILLA_WEBSITE_ETC_DIR = $(TEST_ROOT_DIR)/etc/guix-container/hydrilla-website MALCONTENT_DIR = $(TEST_ROOT_DIR)/var/lib/hydrilla/malcontent_dirs +GITOLITE_DIR = $(TEST_ROOT_DIR)/var/lib/gitolite3 prepare-test-root: sample-malcontent rm -rf $(TEST_ROOT_DIR) @@ -94,6 +95,13 @@ prepare-test-root: sample-malcontent mkdir -p $(MALCONTENT_DIR)/api_v2 ln -sf api_v2 $(MALCONTENT_DIR)/api_v1 cp -r $</* $(MALCONTENT_DIR)/api_v2/ + @# Prepare replacement `/var/lib/gitolite3` + mkdir -p $(GITOLITE_DIR)/repositories + git clone --bare ./subrepos/sheets-websites/ \ + $(GITOLITE_DIR)/repositories/sheets-websites.git + printf "sheets-websites.git\n" > $(GITOLITE_DIR)/projects.list + chmod -R o-rwx,g-w $(GITOLITE_DIR) + chgrp -R 118 $(GITOLITE_DIR) GUIX_CONTAINER_FLAGS = -e ./container-runner -p ./pidfile -r $(TEST_ROOT_DIR) |