mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-18 21:13:56 +01:00
projects-dir.mk: Improve passwordless login
Remove some more obstacles to passwordless login during automated builds. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
64e7338bed
commit
463092cbef
2 changed files with 9 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ ifeq ($(GIT_SSH),)
|
|||
export GIT_SSH := $(CVS_RSH)
|
||||
endif
|
||||
|
||||
export JW_BUILD_SSH_EXTRA_OPTS = -o ControlMaster=auto -o ControlPath=./%r@build:%p -o ControlPersist=60s
|
||||
export JW_BUILD_SSH_EXTRA_OPTS = -o ControlMaster=auto -o ControlPath=/tmp/%r@build:%p -o ControlPersist=3m
|
||||
|
||||
ifneq ($(CLONE_FROM_USER),)
|
||||
export PGIT_CLONE_FROM_USER = $(CLONE_FROM_USER)
|
||||
|
|
@ -60,6 +60,7 @@ PKG_MANAGER_SH ?= /bin/bash $(firstword $(wildcard $(MOD_SCRIPT_DIR)/pkg-m
|
|||
BROWSER ?= firefox
|
||||
GIT_SRV_ADMIN = JW_BUILD_SSH_EXTRA_OPTS="$(JW_BUILD_SSH_EXTRA_OPTS)" $(GIT_SSH) $(JANWARE_USER)@git.jannet.de /opt/jw-build/bin/git-srv-admin.sh
|
||||
CVS_ADMIN = JW_BUILD_SSH_EXTRA_OPTS="$(JW_BUILD_SSH_EXTRA_OPTS)" $(GIT_SSH) $(JANWARE_USER)@git.jannet.de /opt/jw-build/bin/cvs-admin.sh
|
||||
|
||||
# ------------ targets
|
||||
|
||||
all: pull.done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue