Commit graph

809 commits

Author SHA1 Message Date
Kevin Fenzi
33d6d56322 proxies: point meetbot and meetbot-raw to value01.stg in stg
This should let us test mote on value02

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-14 19:21:44 -08:00
Aurélien Bompard
02f4241972
Missing change for last commit
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-11-12 12:12:07 +01:00
Aurélien Bompard
4e674e2ef5
Expose discourse2fedmsg
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-11-12 12:00:38 +01:00
2633f1fcae proxies: use favicon from getfedora 2021-11-03 23:34:22 +00:00
Rick Elrod
fec1dba8e5 Revert "Revert "Revert "Revert "Revert "Disable prerelease redirects"""""
This reverts commit 62b1e6fbd6.
2021-11-02 07:50:18 -05:00
Kevin Fenzi
3d19bb4fd5 revert decf1ed65e and stop trying to redirect workstation docs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-10-12 09:36:29 -07:00
Kevin Fenzi
6bbacfcf12 proxies: restore old account system for now, breaks signing
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-29 17:33:37 -07:00
Kevin Fenzi
65424b1491 fix path from last commit
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-29 15:59:04 -07:00
Kevin Fenzi
decf1ed65e proxies: redirect / to /main for workstation-working-group
Right now there's a issue in the docs pipeline where it's not handling
the main branch right, add this temp redirect to work around that until
it's fixed properly in docs.

See https://pagure.io/fedora-infrastructure/issue/10243

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-29 15:33:56 -07:00
Kevin Fenzi
5413a21d78 proxies: redirect old packages to new
The old packages app (which was before that the old community app) lived
on https://apps.fedoraproject.org/packages/ It hasn't been active there
since the datacenter move last year (we retired it). A new openshift app
has been created that lives on https://packages.fedoraproject.org now.
We want to redirect the old path to the new one and remove the old
reverseproxy to nowhere.

Fixes infra ticket #10212

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-29 19:07:10 +00:00
Rick Elrod
62b1e6fbd6 Revert "Revert "Revert "Revert "Disable prerelease redirects""""
This reverts commit 70fccad8ea.
2021-09-28 07:51:05 -05:00
Timothée Ravier
4d43b7e377 kinoite.fedoraproject.org: Add site and pipeline
Signed-off-by: Timothée Ravier <tim@siosm.fr>
2021-09-27 19:01:44 +00:00
Kevin Fenzi
1176de7808 pagure / staging: use normal cert, not bundle for stunnel
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-08 12:28:33 -07:00
Kevin Fenzi
6ba659a130 proxies / staging: set the correct chain file here for ssl
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-06 11:24:34 -07:00
David Kirwan
991da5d981 metrics-for-apps: Renamed tag, added firewall rules for proxies
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-09-06 12:36:00 +09:00
Kevin Fenzi
d8193ced1f proxies: env is the full env name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-04 14:34:56 -07:00
Kevin Fenzi
5a8f655671 proxies: add intermediate certs for mirrors.centos.org
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-02 16:56:24 -07:00
Kevin Fenzi
91d645f656 Proxies: also install mirrors.centos.org certs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-02 16:22:56 -07:00
Kevin Fenzi
e5929f6f9b 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>
2021-09-02 16:01:50 -07:00
Mark O Brien
54082babef ocp: fix typo in certificate name 2021-09-02 10:42:46 +01:00
David Kirwan
9f39d76e2c metrics-for-apps: Adding inventory/groupvars/changes for ocp prod
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-09-02 01:37:34 +00:00
Kevin Fenzi
19b66e404b Add matrix well-known files
Matrix can use some well-known uri's for configuration (rfc 8615).
This commit:
* Sets up fedora.im as a seperate side on proxies that redirects to
  getfedora.org and serves a server and client static matrix file.
* gets fedora.im it's own ssl cert via letsencrypt so it's all valid
  (currently it points to proxies generically and gets the
fedoraproject.org cert)
* Adds config to serve matrix client/server well-known static files for
  fedoraproject.org site.

Note that all the acutal contents of these files are empty for now, but
once our matrix server is up we can fill them in properly and re-run the
playbook. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 21:53:56 +00:00
Frank Ch. Eigler
d835aba567 debuginfod proxies: preserve & pass %2F etc.
Apache httpd by default blocks URL-encoded / (%2F) characters in the
URL path, even though these are RFC-compliant.  Enable them and permit
their safe passage to the debuginfod servers.

See also https://stackoverflow.com/a/9933890/661150

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
2021-08-23 11:39:36 +00:00
Kevin Fenzi
ce5c8188d2 proxies: setup askbot redirect to ask (ticket 10140)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-19 13:43:17 -07:00
cc88b49dd2 websites: enable ssl redirect for fedoracommunity 2021-08-16 22:29:43 +00:00
David Kirwan
ef700c72a2 metrics-for-apps: ocp compute nodes run the console
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-16 13:38:06 +09:00
David Kirwan
55185861c8 metrics-for-apps:
- Updating apache proxy config to handle ocp4 CA cert
- place ocp4 CA cert on proxies
- add ocp4 stg ca cert to haproxy/files

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-13 20:02:38 +00:00
Aurélien Bompard
70c435d41f
Adjust self-referencing URL again
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-08-12 17:17:51 +02:00
Aurélien Bompard
fd58efe5b8
Make Datagrepper 2 available in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-08-12 17:06:07 +02:00
Clement Verna
ea2354658f Remove fpdc playbooks and config.
Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-08-10 20:37:12 +00:00
Kevin Fenzi
ccbc500d4f fix tag
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-04 19:49:57 -07:00
Kevin Fenzi
06745a52a4 add cert to proxies-certificates
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-04 19:46:15 -07:00
Kevin Fenzi
b9f0e06735 perhaps a comma is needed here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-04 19:42:57 -07:00
Kevin Fenzi
bd361bc5d3 fix spacing vs quotes issue
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-04 19:41:06 -07:00
Kevin Fenzi
1076e00aed add ocp stg wildcard cert and also point api to use it
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-04 19:39:28 -07:00
Kevin Fenzi
041b82d1ec proxies / ocp: fix app vs apps typo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-27 13:49:40 -07:00
Kevin Fenzi
786bf4e138 ocp / proxies: add ocp4 to staging proxies
We first add a website to proxies-websites, then information to
proxies-reverseproxy about the load-balancer/site, then finally vars
about which hosts are in which blanacer.

We still need to get ssl certs issued, which we can do via dns challenge
and certbot.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-26 09:58:32 -07:00
Kevin Fenzi
b7a031c9fd fedoraloveskde.org: add site and pipeline to deploy it and dns zone
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-06-14 12:49:11 -07:00
Kevin Fenzi
7b28302fae fedocal: remove reverseproxy config for old app, it has moved to openshift
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-06-12 13:23:54 -07:00
Kevin Fenzi
1dc01d036e proxies: packages site is the same in prod and stg with an alias
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-21 11:11:35 -07:00
Brendan Early
e3484c5f3d packages-static: add proxy 2021-05-21 17:38:32 +00:00
Frank Ch. Eigler
7185d7774e debuginfod redirect+proxy: combine into handcrafted httpd conf file 2021-05-20 00:42:32 +00:00
Patrick Uiterwijk
31a3e49c9d proxies: Ensure that Ipsilon is told it's reached over HTTPS
This should make sure that Ipsilon is aware it's reached over HTTPS from
external, and should make it use HTTPS for redirects

Related: https://pagure.io/fedora-infrastructure/issue/9943
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2021-05-12 17:46:22 +02:00
Frank Ch. Eigler
ab51e82014 debuginfod: balance redirect & reverse-proxy better
Our ansible default ansible scripts don't like multiple /suburls being
individually proxied, so we ended up losing /buildid/* and keeping
/metrics.

Switch to using single /-level reverse-proxying AND wiki-redirection
clauses, and use a new template .conf file to break the tie with a
"ProxyPass / !"  directive.
2021-05-11 09:10:34 -04:00
Kevin Fenzi
b9af57fa13 add tags for debuginfod redirects too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-10 11:57:55 -07:00
Frank Ch. Eigler
ada46c240c debuginfod reverse proxy: try v2 for wiki redirect 2021-05-10 18:44:41 +00:00
Frank Ch. Eigler
47b5976abd debuginfod: tweak server configuration and proxy frontend
Codify a few debuginfod process parameters that appear to be working well.

Adjust incoming proxies to redirect the "/" URL to a wiki page, as
requested by FESCO.
2021-05-10 12:24:39 +00:00
Rick Elrod
70fccad8ea Revert "Revert "Revert "Disable prerelease redirects"""
This reverts commit 0b74b995d1.
2021-04-27 07:42:39 -05:00
Pierre-Yves Chibon
d4894b011c proxies: redirect apps.fp.o/calendar to calendar.fp.o in openshift
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-04-09 09:37:51 +02:00
Frank Ch. Eigler
a93b8d24c0 debuginfod proxies: enable gzip
elf/dwarf/source-code data from debuginfod is highly compressible.
Let's trade proxy CPU for reduce network traffic.
2021-04-08 20:58:52 +00:00