From 40bfa1604b275b1f300ff68dac0405987a6d9b9c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 1 Mar 2021 16:36:20 +0100 Subject: [PATCH] distgit/pagure: Let pagure to manage ssh keys in stg Signed-off-by: Pierre-Yves Chibon --- roles/distgit/pagure/templates/pagure_shared.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/distgit/pagure/templates/pagure_shared.cfg b/roles/distgit/pagure/templates/pagure_shared.cfg index b2554643d9..976244affe 100644 --- a/roles/distgit/pagure/templates/pagure_shared.cfg +++ b/roles/distgit/pagure/templates/pagure_shared.cfg @@ -50,7 +50,11 @@ ENABLE_DEL_PROJECTS = False ENABLE_DEL_FORKS = True ENABLE_GROUP_MNGT = False DEPLOY_KEY = False +{% if env == 'staging' %} +LOCAL_SSH_KEY = True +{% else %} LOCAL_SSH_KEY = False +{% endif %} ALLOW_DELETE_BRANCH = False EMAIL_ON_WATCHCOMMITS = False GIT_HOOK_DB_RO = True