From 4e0c721b045c3381fe2e4234b7d40c29ce1d17a6 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 14 Feb 2024 17:58:05 +0100 Subject: [PATCH] fixups from "feat: add servergitmirrors as a dict support" These slipped by in reviewing fdroidserver!1438 https://gitlab.com/fdroid/fdroidserver/-/jobs/6173435409 --- .gitlab-ci.yml | 2 +- examples/config.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e7f0b25..5c5ad6f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -542,7 +542,7 @@ servergitmirrors: - cp tests/repo/com.politedroid_6.apk /tmp/fdroid/repo/ - cd /tmp/fdroid - touch fdroid-icon.png - - printf "servergitmirrors:\n-\ url:\ $SERVER_GIT_MIRROR\n" >> config.yml + - printf "\nservergitmirrors\x3a 'git@gitlab.com:fdroid/ci-test-servergitmirrors-repo.git'\n" >> config.yml - $PYTHONPATH/fdroid update --verbose --create-metadata - $PYTHONPATH/fdroid deploy --verbose - export DLURL=`grep -Eo 'https://gitlab.com/fdroid/ci-test-servergitmirrors-repo[^"]+' repo/index-v1.json` diff --git a/examples/config.yml b/examples/config.yml index 79f020a6..0a0a54f0 100644 --- a/examples/config.yml +++ b/examples/config.yml @@ -203,6 +203,10 @@ # # servergitmirrors: https://github.com/user/repo # servergitmirrors: +# - https://github.com/user/repo +# - https://gitlab.com/user/repo +# +# servergitmirrors: # - url: https://github.com/user/repo # - url: https://gitlab.com/user/repo # indexOnly: true