copr: use packages.redhat.com and basic HTTP auth

Fix https://github.com/fedora-copr/copr/issues/4141
Fix https://github.com/fedora-copr/copr/issues/4142
This commit is contained in:
Jakub Kadlcik 2026-03-11 16:48:00 +01:00
commit 07f0fe3d12

View file

@ -1,15 +1,20 @@
[cli]
base_url = "https://mtls.internal.console.redhat.com"
base_url = "https://packages.redhat.com"
api_root = "/api/pulp/"
username = ""
password = ""
{% if devel %}
username = "{{ copr_dev_pulp_username }}"
password = "{{ copr_dev_pulp_password }}"
{% else %}
username = "{{ copr_prod_pulp_username }}"
password = "{{ copr_prod_pulp_password }}"
{% endif %}
{% if env == "production" %}
domain = "public-copr"
{% else %}
domain = "public-copr-stage"
{% endif %}
cert = "/home/copr/.config/pulp/copr-pulp.crt"
key = "/home/copr/.config/pulp/copr-pulp.key"
cert = ""
key = ""
verify_ssl = true
format = "json"
dry_run = false