Commit Graph

1081 Commits

Author SHA1 Message Date
Kevin Fenzi
713af9ea3a proxies: move coreos cincinnati to rdu3 openshift
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-24 11:44:16 -07:00
Kevin Fenzi
8f849f9ae0 proxies: we need the ocp-rdu3 sites on all proxies
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-22 08:53:42 -07:00
Kevin Fenzi
bb34f3506a nagios-rdu3: add website, proxy, vpn endpoint
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-20 20:48:07 -07:00
Kevin Fenzi
a6c096617b proxies: openshift rdu3
So, we renamed the cluster with the ocp-rdu3 name, so drop all this
special handling. All the proxies should be able to reach it by that
name and via the vpn endpoints it has.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-16 11:10:08 -07:00
Kevin Fenzi
23d71ae40f proxies / rdu3: set rdu3 proxies to proxy to the rdu3 openshift cluster
The iad2 and rdu3 openshift clusters have the same name
(yes, I know, I was trying to be clever!)
So, in rdu3 we want *.apps.ocp.fedoraproject.org to proxy to the rdu3
cluster and everywhere else to the iad2 cluster (until we move).
This should point proxy01.rdu3 and proxy10.rdu3 the right way.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-16 09:42:55 -07:00
Kevin Fenzi
e7e6db8d8d proxies: rename ocp4-rdu3 to ocp4_rdu3 to hopefully get jinja2 to leave it alone
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-14 14:30:00 -07:00
Kevin Fenzi
2f25595228 proxies / rdu3: perhaps destname cannot have a . in it
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-14 13:40:37 -07:00
Kevin Fenzi
63b02e9098 proxies: use double quotes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-14 13:09:42 -07:00
Kevin Fenzi
99fe2b3fd6 proxies: also install the rdu3 ocp cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-14 13:01:34 -07:00
Kevin Fenzi
2691464323 proxies: set ocp4 false when ocp4-rdu3 is true
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-14 12:56:54 -07:00
Kevin Fenzi
e1132667d3 proxies: add a ocp-rdu3 site/endpoint to get to the new rdu3 prod openshift
We can't use easily the existing hostname/site, as that goes to the
current iad2 cluster, so setup a -rdu3 version for now.
After we switch we can drop this and repoint the main one to the new
cluster.

Hopefully this all works and does the right thing.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-14 12:35:20 -07:00
Adam Williamson
721ffe0df4 proxies: drop caiapi
this isn't a thing any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-28 18:11:11 +00:00
Kevin Fenzi
33415d8399 proxies: riscv reverse proxies are not on ocp4
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-03-27 15:39:00 -07:00
Kevin Fenzi
a4985b880b proxies / riscv-kojipkgs: try and get it to use the right template
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-03-24 16:44:12 -07:00
Kevin Fenzi
3c4d4250c0 proxies / riscv-kojipkgs: also need to set proxyurl
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-03-24 16:34:02 -07:00
Kevin Fenzi
81ca9bd8a1 proxies: add a riscv-kojipkgs virthost/proxy
We are actually just pointing these to the hub for now, but we have them
seperated in case we want to make a seperate kojipkgs for this.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-03-24 16:23:11 -07:00
Francois Andrieu
c906396525 websites: redirect kde to the edition page 2025-03-19 21:14:27 +00:00
Mark Rosenbaum
75fdb66594 Update playbooks/include/proxies-redirects.yml - Updated join.fp.o redirect 2025-03-19 20:58:02 +00:00
Kevin Fenzi
8556f3aba5 proxies / registry: redirect https pages to quay.io
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-17 12:07:06 -08:00
Michal Konecny
6428f8f772 Sunset github2fedmsg and fedmsg
This commit is removing all the fedmsg related stuff from ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-13 10:08:51 +00:00
Michal Konecny
2ec055db6f Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```

Then I went through all the changes and removed the ones that wasn't
expected to be changed.

Fixes https://pagure.io/fedora-infrastructure/issue/12391

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-10 20:31:49 +00:00
Pedro Moura
04bc8ed4d2 Skip fedmsg in stg
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2025-02-04 13:26:04 +00:00
Michael Scherer
d224bd0926 We have a new flock website and so we should use it 2025-02-03 11:02:54 +01:00
Kevin Fenzi
835cc165dd proxies: add tags for riscv-koji
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-27 14:38:20 -08:00
Kevin Fenzi
6675345f58 riscv-koji secondary hub
Here's a pull request to setup a secondary riscv-koji hub.

There are still outstanding issues, but things should be
good enough to merge and deploy the initial instance and
interate from there. Also I plan to run a --check --diff to make sure
there's no changes on primary hubs/etc.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-24 19:12:04 +00:00
Kevin Fenzi
7be10a8cc3 registry: adjust regex for registry html redirect
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-20 16:20:50 -08:00
Mattia Verga
2b4de7b85d another try on registry redirection
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-01-20 23:18:55 +00:00
Michal Konecny
a0720a8029 [proxies] Remove trailing / in redirects
This was first found in epel.io redirect, but it could cause issues in
other redirects as well. It is better to remove them.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-01-18 00:51:47 +00:00
Michal Konecny
0716233b7a [proxies] Fix redirect for epel.io
Fixes https://pagure.io/fedora-infrastructure/issue/12364

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-01-16 12:30:35 +01:00
Justin W. Flory (he/him)
f5368a271c 🔧 proxies-redirects: Redirect parameter for docs.fp.o/dei/ redirect
This commit enhances the redirect regex used for the docs.fp.o redirect
for the DEI Team documentation. I follow @kevin's example from the CPE
to CLE docs redirect, which uses a parameter and redirects a specific
page to the new address. Currently, the DEI Team docs redirect will take
the user to the main page of the team, regardless of what specific page
is visited.

I also added a `docs` tag to the CLE tags redirect, since it is a Fedora
Docs-specific redirect too.

Signed-off-by: Justin W. Flory (he/him) <jwf@redhat.com>
2025-01-15 13:11:24 -05:00
Kevin Fenzi
b30121aee4 proxies / redirectmatch: redirect cpe to cle for docs ( https://pagure.io/cpe/docs/issue/35 )
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-15 09:29:10 -08:00
Ryan Lerch
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +10:00
Ryan Lerch
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
Ryan Lerch
62952df107 ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to  file: with ansible.builtin.file

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00
Ryan Lerch
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
Kevin Fenzi
01030eaf26 staging: new wildcard cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-13 15:18:03 -08:00
Ryan Lerch
2cf38c1f17 [yaml-lint] fix yamllint errors and warnings on plabooks
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-25 19:04:25 +10:00
Kevin Fenzi
81f81668cc proxies: add tag for id cert to allow updating it
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-04 15:14:53 -08:00
Kevin Fenzi
4b2cb0d132 proxies / staging: fix website for bugs redirect on staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-03 18:35:27 -07:00
Kevin Fenzi
47334a564e certificates / staging: new cert for *.apps.ocp.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-03 17:48:39 -07:00
Kevin Fenzi
c04dd50fbf certificates: move to new 2024 wildcard fedoraproject.org cert
The old one expires in about 57 days, but might as well just renew it
early and avoid problems later.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-03 16:50:01 -07:00
Kevin Fenzi
ace9d37537 proxies: fix odcs redirect and add bugs redirect
For ticket 12030 we want to add a 'bugs.fedoraproject.org' redirect to
the page on how to file bugs. This does that and also cleans up an
ordering issue to finish off odcs redirects.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-02 14:00:38 -07:00
Kevin Fenzi
e6abd8cf5e odcs: disable top level redirect
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 18:17:16 -07:00
Kevin Fenzi
d132a63203 odcs: redirectmatch: one more try
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 17:50:13 -07:00
Kevin Fenzi
e099f312a5 odcs: redirectmatch: try again to make mod_alias happy
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 17:26:18 -07:00
Kevin Fenzi
4557148208 odcs: fix syntax
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 17:03:27 -07:00
Kevin Fenzi
1880d23324 odcs: put in a redirectmatch for old mock baseurls
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 16:40:37 -07:00
Kevin Fenzi
5c2d61d9f8 epylog: remove/retire
We haven't used epylog in a long time, it's unmaintained upstream and
never was ported to python3 that I know of.

So, lets stop pretending that it is something we should keep here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 11:37:07 -07:00
Kevin Fenzi
e3e2cb1d93 odcs: retire service ( infra 12192 )
Time to retire ODCS. ELN is moved off and that was the last thing using
it. Thanks for all the service ODCS!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 18:21:51 +00:00
Aurélien Bompard
f26baf7de2 Deploy webhook-to-fedora-messaging to prod
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-09-03 09:57:57 +02:00