diff options
author | CoprDistGit <infra@openeuler.org> | 2025-03-21 17:37:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-03-21 17:37:42 +0000 |
commit | 133ef9d4cb72a5081fab588e821eee4a178afc7e (patch) | |
tree | 76779ef5ca00cab259eb516c4c44eef0b3048cc9 /helpers.patch | |
parent | c3bf05eae09a01b1153504b7e7de2b8c43a34eea (diff) |
automatic import of copr-backend
Diffstat (limited to 'helpers.patch')
-rw-r--r-- | helpers.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/helpers.patch b/helpers.patch deleted file mode 100644 index 33be500..0000000 --- a/helpers.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/copr_backend/helpers.py b/copr_backend/helpers.py -index df2819e0..c85c7396 100644 ---- a/copr_backend/helpers.py -+++ b/copr_backend/helpers.py -@@ -288,6 +288,9 @@ class BackendConfigReader(object): - opts.redis_port = _get_conf( - cp, "backend", "redis_port", "6379") - -+ opts.redis_pwd = _get_conf( -+ cp, "backend", "redis_password", None) -+ - opts.redis_db = _get_conf( - cp, "backend", "redis_db", "0") - - -@@ -416,6 +416,19 @@ class BackendConfigReader(object): - opts.aws_cloudfront_distribution = _get_conf( - cp, "backend", "aws_cloudfront_distribution", None) - -+ opts.message = Munch() -+ opts.message.bootstrap_servers = _get_conf( -+ cp, "message", "bootstrap_servers", None) -+ -+ opts.message.user_name = _get_conf( -+ cp, "message", "user_name", None) -+ -+ opts.message.password = _get_conf( -+ cp, "message", "password", None) -+ -+ opts.message.topic = _get_conf( -+ cp, "message", "topic", None) -+ - # ssh options - opts.ssh = Munch() - opts.ssh.builder_config = _get_conf( |