Commit graph

879 commits

Author SHA1 Message Date
8aa9f03b36 removing taskotron roles 2020-06-17 17:19:15 +00:00
Adam Williamson
ae7fbddd30 Drop another blacklist use
This is in something we're never going to deploy again anyway so
it feels kind of absurd, but hey. The variable isn't actually
defined anywhere any more (tflink wiped the vars files that set
it) so this was actually technically broken. This technically
makes it less broken so I am okay with it!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-06-12 10:12:51 -07:00
Ralph Bean
0023c53d81 Update resultsdb amqp urls 2020-06-10 17:18:03 -04:00
Kamil Páral
53a64f1143 taskotron-trigger: disable rpmdeplint temporarily
Because of https://github.com/fedora-infra/bodhi/issues/3944
2020-04-24 21:34:26 +02:00
Kamil Páral
119fd49bed taskotron trigger: update rules after F32 branched
Update Rawhide number
2020-04-24 21:34:22 +02:00
8c96b12e65 resultsdb: set sebool httpd_execmem=true for fedora-messaging
After the upgrade to fedora-messaging-2.0.1, we started seeing a bunch of 500s
coming out of resultsdb. Turns out that selinux was blocking part of the code
that was emitting messages on rabbitmq. This is apparently a known issue in
python-cryptography [1] and their docs say that the sebool deny_execmem needs
to be off.

Since this is executed by apache, this leads to httpd_execmem needing to be true.
I still don't understand why this started suddenly - the underlying issue in
python-cryptography has been there for a while. Either way, I'm changing the
sebool for resultsdb machines to make sure it doesn't continue to cause problems
for things that are submitting results to resultsdb.
2020-04-24 21:34:21 +02:00
fa73cd4d47 resultsdb: F31+ needs logrotate explicitly installed 2020-04-24 21:34:21 +02:00
ce601394c7 taskotron/vault: use python3-libsemanage instead of python2 2020-04-24 21:34:16 +02:00
33b5278939 taskotron/execdb: use python3-libselinux for execdb machines 2020-04-24 21:34:16 +02:00
b4d43cea42 resultsdb-backend: use python3-libsemanage for newer fedoras 2020-04-24 21:34:16 +02:00
Kamil Páral
b361bc196f taskotron: build only F30 in imagefactory
Oz has troubles building anything newer than F30. But we only need F30
for our minions, so let's simply disable everything else.
2020-04-24 21:34:16 +02:00
Kamil Páral
cbfacfcf67 taskotron: don't build F29 images in imagefactory, it's EOL now 2020-04-24 21:34:16 +02:00
Kamil Páral
710ccf6660 taskotron: make imagefactory unit print debug info 2020-04-24 21:34:16 +02:00
Kamil Páral
cb643d7f00 taskotron: remove hotfix in imagefactory, it's upstream now 2020-04-24 21:34:16 +02:00
8f7f705e67 taskotron: re-enabling hotfix for disposable client timeout increase, use python3 2020-04-24 21:34:16 +02:00
c4a986cad5 taskotron: remove old hotfix for testcloud 2020-04-24 21:34:16 +02:00
84bdb84a65 taskotron: removing packages that probably aren't needed anymore 2020-04-24 21:34:16 +02:00
Kevin Fenzi
81fb4582e7 ansible: change when conditions to use == instead of is when checking strings.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +02:00
Karsten Hopp
c9ed62ac32 update ansible_distribution_major_version conditionals
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2020-04-24 21:34:10 +02:00
Kamil Páral
a5ec3cf33e taskotron: Rawhide is now F32 2020-04-24 21:34:08 +02:00
Kamil Páral
06b6b5b76d taskotron: update trigger rules for F31 Branched
Set Rawhide to F32, and disabled rpmdeplint for F31 temporarily until we
have updated all the pieces.
2020-04-24 21:34:08 +02:00
Kamil Páral
4b95bc7e33 taskotron: don't run rpmdeplint in Rawhide
We've never run it, but it started being scheduled lately due to Rawhide
CI gating.
2020-04-24 21:34:07 +02:00
Kamil Páral
598cf30f5d taskotron: mark rawhide as 31 in baseimages/imagefactory
We forgot to update this.
2019-06-24 13:49:46 +02:00
304bb44d7a taskotron: remove with_items
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2019-06-20 13:50:31 +00:00
Kamil Páral
879a163936 taskotron: fix imagefactory-server cronjob typo 2019-05-29 16:35:13 +02:00
Kamil Páral
4234d8b3a8 taskotron: put imagefactory server cron jobs to /etc/cron.d/ 2019-05-29 16:32:31 +02:00
Kamil Páral
ddc1e9c7d2 taskotron: install imagefactory-client cron jobs into /etc/cron.d 2019-05-29 15:59:08 +02:00
Kamil Páral
076ce8ea28 taskotron: install grokmirror cron jobs into /etc/cron.d 2019-05-29 15:47:32 +02:00
Kamil Páral
5b5b898c26 taskotron-dev: add a missing cron file
I forgot about it in my previous commit 987ba63be3.
2019-05-29 15:34:34 +02:00
Kamil Páral
987ba63be3 taskotron-dev: try a better way to deploy cron files 2019-05-29 15:32:31 +02:00
Kamil Páral
c94ff57bab taskotron: use F30 on minions even in production 2019-05-29 14:56:51 +02:00
Kamil Páral
7f338804b2 taskotron: use F30 minions on stg 2019-05-29 13:27:31 +02:00
6c2a23d44f resultsdb-backend: undoing a url change for taskotron instance
Turns out that there are firewall changes needed for the Taskotron
instance of resultsdb to use the new rabbitmq uri.

Undoing that update until that change can be done
2019-05-24 00:09:30 +00:00
Josef Skladanka
d5118d18d8 Testdays - return yum-install to resultsdb 2019-05-23 09:06:09 +02:00
Kamil Páral
9ab96e16e8 taskotron-dev: use F30 minions (UEFI VMs) 2019-05-22 15:52:32 +02:00
Kamil Páral
adf77a651f taskotron-dev: use F29 minions 2019-05-21 14:38:24 +02:00
Pierre-Yves Chibon
1a09cff25c resultsdb: Adjust the amqp_url on the fedora-messaging config
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-05-20 15:38:00 +02:00
Clement Verna
de0f2763a9 resultsbd: enbale fedora-messaging in prod
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-24 11:22:36 +02:00
Kamil Páral
e22233b5db taskotron: fix duplicate jobs prevention #2
In commit 77cf9ae061 I had the condition inverted, sigh.
2019-04-16 09:28:47 +02:00
Kamil Páral
77cf9ae061 taskotron: fix duplicate jobs prevention
In commit 111fc1805c I forgot to expand a variable.
2019-04-16 09:06:20 +02:00
Kamil Páral
111fc1805c taskotron: prevent duplicate jobs in buildmaster config
There was one remaining case when duplicate jobs could crash the job -
when the tasks were not run simmultanously at all. I added another guard
at the final location of the artifacts, which should hopefully solve it.
2019-04-15 15:27:36 +02:00
Josef Skladanka
d826e19c62 Testdays - use dummy messaging plugin 2019-04-11 20:03:23 +02:00
František Zatloukal
b6bd2113c5 Taskotron: Switch fetch_activity.py to use Python 3 2019-04-11 10:38:44 +02:00
Kamil Páral
780adf71a1 taskotron: upgrade production to F29 2019-04-09 19:27:11 +02:00
Kamil Páral
15a359ad8a taskotron-buildmaster: add comments to httpd config
Because this is a tricky issue that cost us a lot of time to figure out.
2019-03-18 11:11:52 +01:00
e31ba0d65b taskotron: changing location directives to make ws work
the <Location/> directives were in the wrong order and the ws requests
were being swallowed by the wrong directive.
2019-03-15 20:08:00 +00:00
Kamil Páral
633f9fa564 taskotron: allow CRASHED outcome in ResultsDB
Task developers can then track crashed tests and spot the problems.
See https://pagure.io/task-abicheck/issue/19
2019-03-12 16:12:10 +01:00
Pierre-Yves Chibon
88e736ddac taskotron/resultsdb-backend: Fix the mode to be string instead of integer
For unclear reason ansible seems to have issues with mode expressed
in integer while it seems to work much more nicely if they are
provided as string.
So moving to this for now.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-07 12:36:12 +01:00
Pierre-Yves Chibon
5fc5e77269 taskotron/resultsdb-backend: fix the location of the key in the private repo
The certificates are in pki/issued while the keys are in pki/private.
The location to the CA cert is correct though.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-07 12:27:06 +01:00
Pierre-Yves Chibon
d82304c936 taskotron/resultsdb-backend: the stg and prod certificates are named differently
The certificates are resultsdb.crt in prod while they are resultsdb.stg.crt in
staging so by using the ansible variable {{ env_suffix }} we're able to support
both files in one line.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-07 12:24:50 +01:00