proxies: add mirrors.stg.centos.org for mirrorlist testing in staging

The cert here is gotten from centos.org folks and checked into private.
At some point we will get a longer term cert here so there's less manual
churn. Otherwise we just make a new mirrors.stg.centos.org and proxy it
to mirrorlists just like mirrors.stg.fedoraproject.org.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-09-02 16:01:50 -07:00
parent 242d48fdc2
commit e5929f6f9b
3 changed files with 18 additions and 0 deletions

View file

@ -24,6 +24,11 @@ ocp_wildcard_cert_file: wildcard-2021.apps.ocp.stg.fedoraproject.org.cert
ocp_wildcard_key_file: wildcard-2021.apps.ocp.stg.fedoraproject.org.key
ocp_wildcard_int_file: wildcard-2021.apps.ocp.stg.fedoraproject.org.intermediate.cert
# This is the mirrors.stg.centos.org certs
mirrors_centos_org_cert_name: mirrors.stg.centos.org
mirrors_centos_org_cert_file: mirrors.stg.centos.org.cert
mirrors_centos_org_key_file: mirrors.stg.centos.org.key
fedmsg_prefix: org.fedoraproject
fedmsg_env: stg
deployment_type: stg

View file

@ -362,6 +362,12 @@
destname: mirrormanager-mirrorlist
proxyurl: http://localhost:10002
- role: httpd/reverseproxy
website: mirrors.centos.org
destname: mirrormanager-mirrorlist
proxyurl: http://localhost:10002
when: env == "staging"
- role: httpd/reverseproxy
website: download.fedoraproject.org
destname: mirrormanager-redirector

View file

@ -153,6 +153,13 @@
- www.fedoramirror.net
cert_name: "{{wildcard_cert_name}}"
- role: httpd/website
site_name: mirrors.centos.org
server_aliases:
- mirrors.stg.centos.org
cert_name: "{{mirrors_centos_org_cert_name}}"
when: env == "staging"
- role: httpd/website
site_name: src.fedoraproject.org
server_aliases: [src.stg.fedoraproject.org]