Commit Graph

339 Commits

Author SHA1 Message Date
Michal Konecny
6b0a66cb37 [fedora-messaging] Adding topic_prefix back
Removing the topic_prefix from fedora messaging config files was a bit
premature. So let's put them back in place.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-14 12:40:12 +01:00
Adam Williamson
324e63c1e9 greenwave config changes related to kiwi
The kiwi_build test for containers has been around long enough
that we can require it now. Also, drop live_build requirement
for Workstation because we're going to flip openQA to using Kiwi
to build the Workstation live (just as releng has for the
official one). This doesn't risk allowing broken updates through
as we still require the install_default_update_live tests to
pass, and they can't pass if the image build fails.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-13 15:09:44 -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
Adam Williamson
0aae5fdb1f Tweak coreos block in greenwave config to avoid newline issues
Well, I hope, anyway. This is a nightmare to predict/test because
jinja is weird and ansible puts it in a weird non-standard mode.
But this does the same thing as the product_versions macro we
use for all other releases - just leave out all attempts to avoid
blank lines.

It *might* cause blank lines in some states, but I *think* I found
(while testing product_versions) that blank lines don't break the
parsing. I can't find anywhere in the YAML spec where it actually
defines when a block sequence *ends*, but as a matter of fact it
seems like whatever parser is being used here doesn't choke on
blank lines.

My ideal goal here is that, whatever entries are present or
absent based on the conditionals, we get a clean block sequence
with each entry on its own line and no blank lines, but this
seems to be *incredibly* hard to get jinja to do.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-12 17:03:43 -08:00
Ryan Lerch
9d21b8fff7 greenwave - rename yml templates to .j2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 08:37:32 +10:00
Adam Williamson
1bb258138d greenwave: drop container_build_kiwi gating
It's renamed to kiwi_build, but we can't gate on the new name
yet as not all updates will have it. We'll have to wait for a
while.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-30 21:04:11 -08:00
Kevin Fenzi
72d1781387 geenwave: set correct apiVersion for route
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-30 11:46:13 -08:00
Adam Williamson
3b8a40603e greenwave: drop KDE live build test from gating config
It's named differently now (kiwi_build, not live_build). We don't
really need the build test in the gating config anyway as the
other two tests depend on it. We could add kiwi_build back in a
few months if we really want to, though.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-29 17:49:14 -08:00
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Adam Williamson
af724dbe70 greenwave: looks like we don't need the magic quotes
...but getting rid of all blank lines in all cases looks a bit
impossible, unfortunately.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-27 17:45:03 -08:00
Adam Williamson
045e73bf87 greenwave: hmm that's better. one more thing?
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-27 17:30:37 -08:00
Adam Williamson
617e9c6cd0 greenwave: one more fiddle before I give up and revert
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-27 17:27:41 -08:00
Adam Williamson
fb905be49c greenwave: try something else for newlines...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-27 17:25:06 -08:00
Adam Williamson
f7e4c054d7 greenwave: try and fix newlines
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-27 17:22:13 -08:00
Adam Williamson
4ca50f80bc greenwave: templatize gating config
This uses the release number templates for the product_versions
blocks in the gating config, instead of hardcoding them. I tried
to include some flexibility so we can easily manually flip gating
on or off for Rawhide or Branched - for specific rules, or the
whole file - around branch time, if we need to (sometimes we do,
as we can get in catch-22 situations and stuff during branching).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-27 16:44:50 -08:00
Adam Williamson
5c25ff8af7 greenwave: update policy for F39 EOL
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-26 10:09:57 -08:00
Adam Williamson
aaf3e97fe7 greenwave: gate updates on container build and aarch64 tests
We added tests of container building and a subset of container
and server tests on aarch64 a couple of months back. These have
now been running long enough it should be safe to add them to
the gating config (all pending updates should have had these
tests run against them if appropriate).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-10 14:21:05 -07:00
Adam Williamson
9822f15720 greenwave: enable gating normally for F41 and Rawhide, drop F38
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-16 01:00:46 -04:00
Adam Williamson
f96ce1730b greenwave: temporarily stop gating on upgrade tests for f41
they cannot work until the first branched compose is done and
mirrormanager is pointing somewhere for f41.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-13 16:05:27 -04:00
Samyak Jain
5f164c7347 Branch Fedora 41 from Rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-08-13 14:13:43 +00:00
Adam Williamson
4f3b7a017b Don't gate critpath-standard updates on netinst tests
The @standard group is not in the installer environment or in a
minimal install by default.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-10 09:22:19 -07:00
Adam Williamson
d23d4a03ec greenwave: fix template syntax a bit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-06 08:17:29 -07:00
Adam Williamson
4e233fc189 greenwave: f39 is now oldest stable, drop it from upgrade rules
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-06 07:59:56 -07:00
Jonathan Lebon
93131deacb greenwave: use FedoraCycleNumber for CoreOS policy
That way we don't have to keep updating this file when cutting GA. In
the period where there is no branched release, `{{FedoraCycleNumber+1}}`
conceptually refers to rawhide, though that's more properly covered by
the explicit `fedora-rawhide` version. But at least I don't think it
should do any harm.

Follow-up to 793349a98d ("greenwave: stop gating f39 updates for
CoreOS"), which has more context.
2024-05-30 07:17:32 +00:00
Jonathan Lebon
793349a98d greenwave: stop gating f39 updates for CoreOS
Many of the packages currently gated by the CoreOS tests are also used
outside of the CoreOS artifacts. And so it happens that e.g. Bodhi
updates are opened for releases that CoreOS itself no longer uses.

However, since those releases aren't monitored by CoreOS anymore, no
CoreOS tests run. In that case, we shouldn't be gating updates on those
releases.

Fedora 39 is in this scenario right now. Ideally, we could use symbolic
names here instead like `fedora-latest-stable` or something. For now,
I'll add this to a rebase checklist we have to make sure we update this
list shortly after a GA release.
2024-05-28 19:24:56 +00:00
Adam Williamson
1db6f6132e greenwave: apply requirements disabled during UEFI transition
We had to leave these requirements out while the openQA move to
testing on UEFI by default was in flight. Now it's been done for
several weeks, all pending updates ought to have these results,
so it should be safe to turn these on again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-27 13:58:23 -07:00
Adam Williamson
8529fc787f greenwave: fix a duplicated policy name
Oops. I'm surprised this didn't cause any problems (apparently).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-03 08:30:27 -07:00
Adam Williamson
ca49eaacbc greenwave: don't gate c-p-standard on container tests
This was wrong and I'm surprised we never noticed till now. We
don't schedule these tests on critical-path-standard so we should
not gate on them. The alternative fix is to keep gating and start
testing, but the only thing that's actually in c-p-standard is
fprintd-pam and we don't pull fprintd stuff into containers, so
there's no sense testing it, really.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-03 08:18:43 -07:00
Adam Williamson
07daaed934 greenwave: update gating policy for openQA UEFI switchover
We're landing a big change to make openQA tests UEFI-by-default,
with BIOS as an occasional variant (exact opposite to the current
setup). This adjusts the gating policies appropriately. We have
to temporarily disable gating for a few tests, due to the fact
that there will be 'in-flight' updates which do not have a result
for the 'bios' scenario (they have results for 'uefi' and '64bit',
with '64bit' being a BIOS result; post-switchover, updates will
have a result for '64bit' and 'bios', with '64bit' being a UEFI
result). I will re-enable this in about a month and clean up any
stragglers somehow.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 12:46:50 -07:00
Adam Williamson
262b717d5d greenwave: enable openQA gating for Rawhide post-F40 branch
Also drop F37 from the version lists (it's EOL) and, er, enable
gating on the desktop_backgrounds tests for F39 (whoops, forgot
to do that...a long time ago).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 15:53:16 -08:00
Adam Williamson
12d88f4151 greenwave: add missing contexts to bodhi null policy, update comment
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 15:50:11 -08:00
Jonathan Lebon
81b8a015c0 greenwave: various follow-up fixes
The subject type is `bodhi_update`, not `koji_build` since we're
reporting against an update, not koji builds. Also adjust the id
accordingly.

Add `fedora-41` now that we've branched.

Fixes 0f91c69c5c ("greenwave: gate CoreOS packages on
`coreos.cosa.build-and-test`").
2024-02-14 18:04:10 -05:00
Jonathan Lebon
0f91c69c5c greenwave: gate CoreOS packages on coreos.cosa.build-and-test
Add the contexts to the null policy as a reference and to be nice,
and then add the actual policy for gating CoreOS packages on the
`coreos.cosa.build-and-test` testcase.

See also: https://github.com/coreos/fedora-coreos-tracker/issues/1617
2024-02-14 21:54:36 +00:00
Samyak Jain
2a240052b1 Branch Fedora 40 from Rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-02-13 13:12:33 +00:00
Adam Williamson
bb377670ce Update greenwave policy for F37 EOL
As F38 is now the oldest stable release, we should not require
the update tests for F38 updates.

This *really* needs to happen automatically somehow, sigh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-08 13:28:54 -08:00
Adam Williamson
aa2b65657d greenwave: add Samba AD tests to update gating policy
These have been running stably for some time now, so it should
be OK to gate on them. I have checked through old stuck updates
and unblocked any that would be gated on this, remaining ones
aren't gated on the server tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-17 12:37:27 -07:00
Adam Williamson
505e46f4dd greenwave: enable gating for new Rawhide (fedora-40)
I think I have all tests passing for Rawhide updates again now,
so we can turn this on.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-09 16:25:46 -07:00
Adam Williamson
5eccd8d36b greenwave: disabling gating on desktop_background for f39
We don't have new F39 backgrounds yet, so this test will always
fail. Let's split the test into its own policy so we can easily
control whether we're gating on it (this will be useful for
future cycles, probably).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-09 10:59:42 -07:00
Adam Williamson
5cdfc3acb2 Revert "greenwave: disabling f39 gating till we can get a compose done"
This reverts commit 436e5f9aef.
The updates we needed to get through are through, all others can
wait till we clean things up.
2023-08-08 15:03:53 -07:00
Adam Williamson
436e5f9aef greenwave: disabling f39 gating till we can get a compose done
F39 updates can't pass testing fully till we have a new compose
and can build new non-Rawhide base images, but we need some
updates that are currently pending to go in the compose. It's
a catch-22, just disabling gating till this is sorted seems
like the least worst option.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-08 15:00:16 -07:00
Samyak Jain
2586c03c3f Branch Fedora 39 from Rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2023-08-08 19:46:38 +00:00
Adam Williamson
c46f80362b Revert last two commits to disable some Rawhide gating
We only needed it turned off briefly to force the dnf update
through, turning it back on.
2023-08-07 18:52:07 -07:00
Adam Williamson
053e98567b sigh, also drop fedora-39 from the greenwave policy
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-07 18:40:34 -07:00
Adam Williamson
d5659fc054 temporarily disable Rawhide gating on live install tests
this is incredibly ugly but can't see how else to get the dnf
update merged right now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-07 18:36:25 -07:00
Adam Williamson
fc84286f93 greenwave: enable Rawhide gating on openQA update tests
As per https://pagure.io/fesco/issue/3011 and
https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org/message/G2K2SMYN7ONOJEFQEMCDR7GK72MZQFYB/
this enables gating of Rawhide updates on the same set of tests
used to gate stable and Branched updates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-22 11:36:54 +02:00
Adam Williamson
b2f9aed70a Update greenwave gating policy for F36 EOL
Drop most fedora-36 entries, and don't require upgrade tests on
F37 any more as it is now the oldest stable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-21 17:47:38 -07:00
Adam Williamson
8231a4d4f9 greenwave: update Rawhide policy for 'universal' changes
We're moving most tests out of universal and into Server-dvd-iso.
See os-autoinst-distri-fedora and fedora_openqa commits for more
details on this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-04 09:54:48 -07:00
Adam Williamson
d68f84e7fc greenwave: enable gating for 38
Tests are all passing now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-17 13:36:24 -08:00
Adam Williamson
62b9633653 Disable podman gating for f38 for now
We're not ready to turn gating on for F38 yet, we need a decent
compose and the tests to settle down first.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-13 15:11:20 -08:00
Kevin Fenzi
1551d42f45 openshift: next CRD
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-13 11:54:08 -08:00