Commit Graph

216 Commits

Author SHA1 Message Date
Clement Verna
012447730e greenwave: enable fedora-messaging debug logs in staging
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-06-26 13:50:25 +02:00
Clement Verna
b291e673f5 Greenwave : Add fedora-31 product in Fedora policies in staging to test rawhide gating
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-06-25 09:20:37 +02:00
Pierre-Yves Chibon
c3922a0508 Revert "greenwave: make prod start using fedora-messaging"
For now we're reverting the change, we seem to trigger some
sort of traceback from fedora-messaging which we'll need to look into.

This reverts commit 07baaf81b1.
2019-05-20 16:23:30 +02:00
Pierre-Yves Chibon
07baaf81b1 greenwave: make prod start using fedora-messaging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-05-20 16:10:20 +02:00
Giulia Naponiello
11f2f80f96 Greenwave stage should point at Koji stage
Signed-off-by: Giulia Naponiello <gnaponie@redhat.com>
2019-03-07 17:29:36 +01:00
Clement Verna
ab4db86c3c greenwave: greenwave now uses a entrypoint script instead of command.
New deployement of greenwave is failing because the way the container
are started have changed. We need to stop overriding the entrypoint.
This will drop our custom timeout for gunicorn.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-05-16 14:39:56 +02:00
Clement Verna
a557b6c166 Greenwave: Add a comment to explain why we use prod koji in stg
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-05 16:04:04 +02:00
Pierre-Yves Chibon
25b12364ea greenwave: Include the topic_prefix in fedora-messaging's config 2019-04-05 15:19:20 +02:00
Clement Verna
acdecfd3ac Greenwave: Use fedora-messaging to publish messages in stg
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-05 14:53:19 +02:00
Clement Verna
bb0f922dc4 Greenwave: Point stg to use prod koji for temporary test
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-05 14:20:03 +02:00
Clement Verna
11ccd305fe Greenwave: Use greenwave.fp.o url instead of the app.os.fp.o
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-05 13:51:51 +02:00
Clement Verna
2d83bce1e6 Greenwave: use the correct greenwave URL in stg
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-05 13:37:14 +02:00
Clement Verna
ead3c8a64d Greenwave: use the correct url to get decision
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-05 13:30:52 +02:00
Pierre-Yves Chibon
4b8f8b16f5 greenwave: Allow considering dist.rpmgrill in stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-05 13:20:41 +02:00
Pierre-Yves Chibon
66f016c725 greenwave: Split the configmap into multiple files, easier to edit/review
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-05 11:32:29 +02:00
Clement Verna
83a7c00ed0 Greenwave: Update policies in stg with fedora-31
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-03 11:36:20 +02:00
Clement Verna
3489800151 Greenwave: try to set fedora-messaging root logger to DEBUG
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-03 11:13:20 +02:00
Clement Verna
17da1591ae Greenwave: Use debug log level in the fedora-messaging consumer
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-03 11:00:11 +02:00
Clement Verna
40e1b382a4 Greenwave: use the correct topic for waiverdb messages
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-03 10:30:57 +02:00
Clement Verna
5b1080f198 Greenwave: Set passive_declares=true in fedora-messaging config
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-03 10:09:38 +02:00
Clement Verna
9c12bb195d Greenwave: use env_suffix in the queue name
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-03 09:50:21 +02:00
Clement Verna
43306e4f51 Greenwave: Use the public address for the rabbitmq cluster
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 20:43:54 +02:00
Clement Verna
4eca9bc091 Greenwave: use SSL (amqps) url
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 20:30:10 +02:00
Clement Verna
167ed318f3 Greenwave: use the internal hostname for rabbitmq so we don't need to resolve the name
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 20:19:20 +02:00
Clement Verna
9604b1f579 Greenwave: Use an HostAliases to define apps.stg.fedoraproject.org ip
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 19:58:44 +02:00
Clement Verna
b26636955e Greenwave: Use a list to run the fedora-messaging consume command
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 19:37:49 +02:00
Clement Verna
834a369647 Greenwave: specify the full path of fedora-messaging
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 17:35:15 +02:00
Clement Verna
0268d53f4c Greenwave: we need the fedora-messaging rpm not only python3-fedora-messaging.
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 16:43:29 +02:00
Clement Verna
6091b1a124 Greenwave: become root before installing fedora-messaging
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 16:32:45 +02:00
Clement Verna
7b1f200c9b Greenwave: Add fedora-messaging to the greenwave container
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 16:24:39 +02:00
Clement Verna
0e153ab8e9 Greenwave: Fix the fedora-messaging consume command
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 16:17:41 +02:00
Clement Verna
451f4a6cca Greenwave: Add wildcard to the message topics
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 15:52:38 +02:00
Clement Verna
1c421f1b76 Greenwave: Configure staging to use Fedora Messaging
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-02 15:48:39 +02:00
Clement Verna
008b1a1231 Greenwave: reduce gunicorn timeout.
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-03-20 13:29:48 +01:00
Clement Verna
931bd8daf5 Greenwave: Increase Openshift and Gunicorn to 10mins
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-03-15 20:32:05 +01:00
Clement Verna
f6784eb283 Greenwave: Increase gunicorn worker timeout
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-03-15 15:08:49 +01:00
Adam Williamson
4aac5fba85 Update Greenwave policy for F30 branching
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-03-06 10:23:18 -08:00
mprahl
c1732f8c2d Use the "prod-fedora" quay.io tag for Greenwave deployments 2019-02-04 14:18:05 +00:00
mprahl
f7ab9a6580 Remove the unused Fedora Atomic CI Greenwave policies in preparation for the Greenwave v1.0.0 release 2019-02-01 14:32:35 +00:00
Adam Williamson
417020477d Tell greenwave to listen for new-style resultsdb fedmsgs
The old-style taskotron fedmsgs were problematic and didn't have
enough data for us.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-01-18 08:29:29 -08:00
Adam Williamson
846d74373e Greenwave Rawhide gating config: drop two tests
The ARM test has been failing forever and I haven't had time to
debug it; in fact I'd like to move it to running on aarch64 at
some point instead. install_no_user does not exist any more for
Workstation since the changes to remove user setup from the
Workstation live installer.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-12-05 13:26:59 -08:00
Randy Barlow
0c3c5a7ffb Define rules for fedora-29-flatpaks in Greenwave.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-30 17:32:38 +00:00
Adam Williamson
0bc53e1122 greenwave config: add openQA policies
This is needed for Bodhi to display openQA update test results,
ever since Bodhi was switched from querying resultsdb directly
for relevant results to getting them via greenwave. If we don't
have a policy at all, greenwave doesn't include the results in
the data it passes to Bodhi.

As with the other policies (for Taskotron and the CI pipeline),
this doesn't specify any actual rules for production, so no
gating will be done. I also didn't specify any rules even for
staging, as openQA tests do not run on *all* updates, and there
isn't a greenwave rule for "test muss pass or not be run" (yet).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-11-29 13:41:44 -08:00
Adam Williamson
c16066bf41 Greenwave config: remove relevance_key and relevance_value
See the a615d681 commit message - as explained there, these
settings are no longer used by Greenwave 0.8+. That commit says
these can be removed once 0.8 is in production; @nirik says we
now have 0.9.11 in stg and 0.9.9 in production.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-11-29 13:17:20 -08:00
Ralph Bean
f819770ed4 Provide greenwave definitions for f28 and f29 container releases.
https://pagure.io/fedora-infrastructure/issue/7368
2018-11-12 21:55:07 +00:00
Giulia Naponiello
4994caacb8 Greenwave - removing hard-coded version
These got resolved:
 - https://github.com/fedora-infra/bodhi/issues/2554
 - https://pagure.io/greenwave/issue/287

So we don't need anymore to specify the 0.9.4 version, but we can
just put it again to "prod".
2018-11-09 11:46:44 +01:00
Ralph Bean
a3ff99a825 Add missing config vars. 2018-11-02 18:46:51 +00:00
Ralph Bean
1ac0afe1a3 Enable opt-in gating on Greenwave
This is for https://pagure.io/fedora-infrastructure/issue/7311
2018-11-02 16:07:32 +00:00
Mohan Boddu
9a3e055741 Bodhi is activated for F29
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2018-08-28 16:45:11 +00:00
Ralph Bean
2735d46895 Pin greenwave to 0.9.4
This is for:

- https://github.com/fedora-infra/bodhi/issues/2554
- https://pagure.io/greenwave/issue/287
2018-08-28 01:58:10 +00:00