Commit graph

38773 commits

Author SHA1 Message Date
Frank Ch. Eigler
ec30610816 debuginfod: n00b ansible yaml structure fixes 2023-05-01 21:42:30 -04:00
Frank Ch. Eigler
358f8efece debuginfod: yamllint compliance 2023-05-01 21:13:27 -04:00
Frank Ch. Eigler
3b73ff3ac4 debuginfod: add tags to our tasks for focused ansible runs 2023-05-01 20:56:54 -04:00
Frank Ch. Eigler
152c7f3d99 debuginfod: drop f33 & f34 from index, prepare for f40+
Tweak the -I/-X regex.
2023-05-02 00:20:27 +00:00
Kevin Fenzi
08a4169fbf move some stg machines from f36->f38
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-01 17:09:49 -07:00
Kevin Fenzi
88b2bfcacc registry-index: just disable reg runs for now.
reg runs and gathers information from the container registry to make a
'pretty' web page at https://registry.fedoraproject.org. However, this
page is pretty useless and really only needs to update after branching
(if then). We may look at redirecting this to a static websites page
that has information on our containers at some point.

In the mean time reg sometimes creates a empty file that syncs out and
causes alerts. So, lets just completely disable it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-01 09:11:45 -07:00
Kevin Fenzi
820284cff8 pkgs / git-hooks: try and use the batcave certs for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-01 08:44:35 -07:00
Kevin Fenzi
b4e9ddf989 pkgs: install correct git-hook certs
Install the 'git-hooks' cert for use with git commits and package
uploads on pkgs. Before this we were... just not installing those
anymore and they had expired.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-01 08:23:37 -07:00
Kevin Fenzi
a4188fc00e download-ib01: fix networking variable names
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-04-30 11:19:56 -07:00
Kevin Fenzi
10155c377d download-ib01: repave with rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-04-30 11:17:14 -07:00
Kevin Fenzi
0776114dc6 Revert "Revert "Revert "[bodhi-backend] Add shared pungi config"""
This reverts commit bf345042d2.

This is breaking all updates composes.
pungi.compose.status.change -- pungi-koji compose of [[ release.id_prefix.title() ]]-7-updates-20230429.0 started https://kojipkgs.fedoraproject.org/compose/updates/[[ release.id_prefix.title() ]]-7-updates-20230429.0

somehow it's not expanding right so reverting it.
2023-04-28 18:13:12 -07:00
Kevin Fenzi
f5ca8fcfbf koji: add scm plugin
Add a scm plugin and some policy for it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-04-28 10:24:20 -07:00
Kevin Fenzi
9a664eadb5 robosignatory: fix key for f38-infra
This should be the infra key, not the normal f38 one.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-04-28 09:29:38 -07:00
Michal Konečný
333cf52dbe [bodhi-backend] Update pungi_multilib.conf
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-28 07:23:48 +00:00
Michal Konečný
bf345042d2 Revert "Revert "[bodhi-backend] Add shared pungi config""
This reverts commit 36c251017e.
2023-04-28 07:23:48 +00:00
Michal Konečný
520b547701 Revert "Revert "Split the pungi_general.conf""
This reverts commit d8127b2799.
2023-04-28 07:23:48 +00:00
Michal Konečný
6ebf3051b3 Revert "Remove pungi_general.conf"
This reverts commit 4f4909a003.
2023-04-28 07:23:48 +00:00
2883c54e67 fix delete_old_oci_images.py
Previously, the delete_old_oci_images.py script sometimes caused a
traceback when trying to get the date from the JSON response for an OIC
image blob. This was because it was trying to read a JSON value that
didnt exist in some cases.

This change simply skips those images -- might update this in the future
to fins a fallback date to use, but for now just skip them.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-04-28 13:58:24 +10:00
David Kirwan
ace5bcea9c fas2discourse: Prod dry-run testing
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2023-04-27 13:03:59 +01:00
Aurélien Bompard
2c3ec79191
FASJSON: enable github rebuild webhook for prod
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-04-27 11:45:31 +02:00
Michal Konečný
0db4f7e8d8 [release-monitoring] Change the syntax of complex commands
Finally, the alembic command works! But only the upgrade one. Thanks @darknao
for help with that. Let's try to fix the rest.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-26 17:58:52 +02:00
Michal Konečný
c91ad0c08e [release-monitoring] Change syntax of command
Let's try to separate every argument in mid hook command.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-26 17:41:01 +02:00
Michal Konečný
0e3024b03a [release-monitoring] Change the command syntax
When debugging the issue I tried to use `sleep 1000` as command for one of the
mid hook containers and this worked. So it seems that the only issue is with how
the command is actually written. So let's try a way that is in the OpenShift
documentation and see if this works.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-26 16:29:06 +02:00
Michal Konečný
470491ca51 [release-monitoring] Fix conversion error
cannot convert int64 to string

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-26 16:15:19 +02:00
Michal Konečný
e4f4cbb21f [release-monitoring] Add sleep to mid hook container for debug
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-26 16:11:26 +02:00
Michal Konečný
afe12ff954 [release-monitoring] Install alembic using pip
I'm running out of ideas, but it seems that the python3-alembic package isn't
visible as a module for /bin/python3 and alembic command doesn't see `anitya`
module. So let's try to install alembic from pip and see if this helps.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-26 15:58:16 +02:00
Michal Konečný
474500919a [release-monitoring] Another try to fix alembic upgrade
The mid hook is still failing, when used with /bin/bash it complains that it
couldn't find `anitya` module.

When used with python3, it complains it couldn't find `alembic` module.

I tried this in vagrant machine locally and the python3 -m alembic works. So
let's try this again.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-26 15:44:46 +02:00
Michal Konečný
a697655559 [release-monitoring] Revert the command mid hook changes
When testing the container locally I found out that the command should still
work, so the issue needs to be somewhere else.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-26 14:30:31 +02:00
Aurélien Bompard
74988bf1ff
Old FMN: update the heartbeat location
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-04-26 11:32:52 +02:00
Aurélien Bompard
2f47c15198
Old FMN: update URL
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-04-26 11:19:58 +02:00
Aurélien Bompard
360e184862
FMN: move the old to -old and redirect to the new
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-04-26 10:55:25 +02:00
Aurélien Bompard
90c81fda70
FMN: log the time of messages
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-04-26 09:28:26 +02:00
Pavel Raiskup
cb87003edc nagios_external: align icmp6 check with 5adeb88890 2023-04-26 09:24:45 +02:00
Pavel Raiskup
56c3f11a48 nagios: fix empty groups members in all-external.cfg.j2 2023-04-26 09:18:06 +02:00
Pavel Raiskup
5adeb88890 nagios: do not rely on ansible_hostname defined for the ipv6 checks
Changing the `host_name` - it was a "fake" non-DNS address anyway
Specify aliases only if ansible_hostname is stated in cached facts,
see https://pagure.io/fedora-infrastructure/issue/11264
2023-04-26 08:22:02 +02:00
Pavel Raiskup
33ccc11860 nagios: don't duplicate the host specifications
Revert "nagios: fix the ibiblio-hosts-ipv6 ifdef"

This reverts commit 4a999c925b.
2023-04-26 00:36:56 +02:00
Kevin Fenzi
8701057445 koji / staging sync: increase tasks start to larger than prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-04-25 12:42:12 -07:00
Adam Williamson
3e52c1c08f openQA: test new openQA scratch build on stg
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-25 11:46:53 -07:00
Pavel Raiskup
4a999c925b nagios: fix the ibiblio-hosts-ipv6 ifdef
Fixes: #11264
2023-04-25 16:29:15 +00:00
Michal Konečný
aa217956b1 [release-monitoring] Fix the syntax of command in deploymentconfig
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-25 17:11:09 +02:00
Michal Konečný
3b729d6337 [release-monitoring] Use correct python command
Fedora 38 doesn't have /bin/python command instead it has /bin/python2 and
/bin/python3. Let's use /bin/python3

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-25 16:22:24 +02:00
Michal Konečný
ea6bcbb762 [release-monitoring] Fix API version - missed few places
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-25 16:09:03 +02:00
Michal Konečný
1f80a4f8a8 [release-monitoring] Fix yamllint issues in deploymentconfig
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-25 14:05:11 +00:00
Michal Konečný
803ef74414 [release-monitoring] Fix API version in deploymentconfig
The v1 as apiVersion is now replaced by apps.openshift.io/v1. Let's fix that.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-25 14:05:11 +00:00
Pavel Raiskup
b35d7d92e2 nagios: disable checks for two non-existing hosts 2023-04-25 15:59:00 +02:00
Michal Konečný
635f371575 [release-monitoring] Fix alembic upgrade
The alembic upgrade doesn't see anitya module for some reason. Calling it as
python module instead works.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-25 13:49:00 +00:00
Pavel Raiskup
ef59994ad5 copr-pulp: disable nagios for now
This is a non-working instance most of the time at this moment.
2023-04-25 15:40:46 +02:00
Michal Konečný
102a9c0129 [release-monitoring] Fix the docs build
The package from PyPI doesn't have sphinx-build-3 command, but instead has only
sphinx-build command. Let's use it instead.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-25 15:36:25 +02:00
Michal Konečný
a853ba0a77 [release-monitoring] Fix docs building
The docs doesn't build with sphinxcontrib-httpdomain 1.7.0 that is available in
Fedora, we need to use version from PyPI to make it work.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-25 15:27:29 +02:00
Michal Konečný
1a18cd1751 [release-monitoring] Update container to F38
The F36 container is failing in staging when build is running. I updated the
[dev env to F38](https://github.com/fedora-infra/anitya/pull/1567) to try if
the issue will still be there and it didn't show up. Let's update the OpenShift
deployment as well.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-04-25 15:10:58 +02:00