left4me: use https git URL so bw clones locally per-apply

bw's git_deploy.py:103 falls into a per-apply temp clone path when the
repo URL contains '://' (HTTPS, ssh://, …). Without that, it requires
a static git_deploy_repos map file pointing at a long-lived local
clone — which is the wrong shape for left4me, where the source of
truth is git.sublimity.de.

Switching the default to the HTTPS URL means anyone with the bundle
gets a working clone-from-source on `bw apply`, no operator-side
mirror map required.

Note: the host will pull whatever is pushed to git.sublimity.de
master. Push local commits before applying.
This commit is contained in:
CroneKorkN 2026-05-10 18:49:10 +02:00
parent 0479c96ae9
commit 149ce6c870
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -5,7 +5,7 @@ assert node.has_bundle('systemd')
defaults = { defaults = {
'left4me': { 'left4me': {
# Application-wide defaults; node only overrides if it really needs to. # Application-wide defaults; node only overrides if it really needs to.
'git_url': 'git@git.sublimity.de:cronekorkn/left4me', 'git_url': 'https://git.sublimity.de/cronekorkn/left4me.git',
'git_branch': 'master', 'git_branch': 'master',
'secret_key': repo.vault.random_bytes_as_base64_for(f'{node.name} left4me secret_key', length=32).value, 'secret_key': repo.vault.random_bytes_as_base64_for(f'{node.name} left4me secret_key', length=32).value,
'gunicorn_workers': 1, 'gunicorn_workers': 1,