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