Commit graph

28545 commits

Author SHA1 Message Date
Kevin Fenzi
713979b3a0 proxies: add registry-no-cdn host to proxies
This host shares with registry vhost, but if it's used it bypasses downloading from the cdn.
We need this internally on composes that download flatpaks. They need to get them direct
from our registry and not from an external cdn.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Dusty Mabe
2965777f28 openshift-apps/coreos-koji-tagger: add bgilbert to app owners 2020-04-24 21:34:12 +02:00
Jakub Kadlcik
c6468c9120 copr: don't use fm-consumer@copr_messaging in production yet 2020-04-24 21:34:12 +02:00
Jakub Kadlcik
caa32c8ec7 copr: make sure /etc/fedora-messaging directory exists 2020-04-24 21:34:12 +02:00
Jakub Kadlcik
bb7e834f4b copr: copr_pagure_events variable may not be defined 2020-04-24 21:34:12 +02:00
Mikolaj Izdebski
98eb4b1c0f odcs stg: Set ansible_python_interpreter to python3 2020-04-24 21:34:12 +02:00
Mikolaj Izdebski
faf338f69f odcs stg: Move from Fedora 28 to 30 (#8297) 2020-04-24 21:34:12 +02:00
Pierre-Yves Chibon
506031f982 ci-resultsdb: invert the order of the conditional
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:12 +02:00
Pierre-Yves Chibon
ad78982487 resultsdb: don't overrides settings in ci_resultdb...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
3e23b6a7c5 leftover from last commit ;-)
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
31dcc52360 Remove leftover from db786b6
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
b9e3f6f703 Update the Bodhi beta in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Pierre-Yves Chibon
06c334bfa7 resultsdb: run the ci_resultsdb role on resultsdb-stg01.qa but don't run the certbot part
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:12 +02:00
4dcf89170a resultsdb: don't apply ci_resultsdb role to resultsdb-stg01.qa
Just putting in another conditional to the role so that it's not
applied on the taskotron instance
2020-04-24 21:34:12 +02:00
Stephen Smoogen
f94d83453f Make sure names are different for mgmt 2020-04-24 21:34:12 +02:00
Stephen Smoogen
c1188538e6 Add in the ips for other emags 2020-04-24 21:34:12 +02:00
Kevin Fenzi
603fe5e8e9 postgresql / db-koji: Move instead to logging just the slow stuff.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Kevin Fenzi
b5f8425273 postgresql / db-koji01: log queries
I'd like to log queries on db-koji01 for a short time to try and see whats causing us such pain.
After we have collected a bunch of queries we can revert this until we sort out what needs
to be changed. We may also change this log all to log just slow queries (per smooge's suggestion).
Hopefully this will get us the info we need to track this down.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Stephen Smoogen
d068a17db5 add in mac address for dhcp of arm boxes 2020-04-24 21:34:12 +02:00
Jakub Kadlcik
abf8bb7401 copr: start fm-consumer service 2020-04-24 21:34:12 +02:00
Jakub Kadlcik
88befd2c0f copr: install fedora-messaging config 2020-04-24 21:34:12 +02:00
Kevin Fenzi
66c7df9a53 postgresql / db-koji01: more tweaks
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Kevin Fenzi
184f4c93bc postgresql / db_koji01: adjust stuff to hopefully give us good backups.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
b36b749c46 Robosig: fix the CoreOS key names
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
6aecdb6afc Bodhi: fix Apache config to serve static files
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Jakub Kadlcik
711bc6ad71 copr: meh, I forgot to add it into yum conf
Hopefully, it will work now
2020-04-24 21:34:12 +02:00
Jakub Kadlcik
e10da77da8 copr: set best=0 for epel-8 chroots, but outside of a template
Because having it in a template didn't work for me, so either PEBKAC
or we need to figure out, how to do it.
2020-04-24 21:34:12 +02:00
Jakub Kadlcik
15d06b360f copr: temporarily set best=0 for epel-8
See RHBZ: 1756681
2020-04-24 21:34:12 +02:00
Kevin Fenzi
66e45ad988 communishift: adjust for new cert-manager setup.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Clement Verna
d7207c70a2 Bodhi: move the wsgi file where httpd expect it in stg
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:12 +02:00
Adrian Reber
24d5180f47 127.0.01 is not really valid, let's use 127.0.0.1
Signed-off-by: Adrian Reber <adrian@lisas.de>
2020-04-24 21:34:12 +02:00
Kevin Fenzi
6052756805 postgresql_server / db-koji01: Adjust a bunch more for performance.
The current settings cause database dumps to drive the load way up
and make the entire application slow, so we need to adjust.
Using pgtune, these values might well be better.

shared_buffers + effective_cache_size should = total memory.
random_page_cost should be lowered a bunch since we are on ssds there.
1.1 is only slightly more than 1.0 for sequential.
effective_io_concurrency should also be raised a bunch for ssds.
a few other values should be higher based on memory.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Adrian Reber
3f723683c4 New mirrorlist container should listen on 127.0.0.1
As default the mirrorlist container listens on 0.0.0.0. This switches
the listen address to 127.0.0.1.

Signed-off-by: Adrian Reber <adrian@lisas.de>
2020-04-24 21:34:12 +02:00
Adrian Reber
86c4eb91c1 Fixes for rootless mirrorlist containers (staging)
- chown /var/log/mirrormanager to mirrormanager.mirrormanager
- drop selinux relabeling for mounted directories

Signed-off-by: Adrian Reber <adrian@lisas.de>
2020-04-24 21:34:12 +02:00
Pierre-Yves Chibon
198ba09f4c bodhi: don't install bodhi-docs via rpm in the web container
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:12 +02:00
Adrian Reber
2cb4f66f27 Switch staging to new rust based mirrorlist server
Signed-off-by: Adrian Reber <adrian@lisas.de>
2020-04-24 21:34:12 +02:00
Pierre-Yves Chibon
49305e19f0 bodhi: install fedora-messaging in the base image
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:12 +02:00
Pierre-Yves Chibon
92c2ea3c85 bodhi: fix the indentation of the other docker files
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:12 +02:00
Pierre-Yves Chibon
6b8360749b bodhi: let's try some more indentation for the base dockerfile
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:12 +02:00
Clement Verna
7a121506d4 Bodhi: build the stage container base from git
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:12 +02:00
Pierre-Yves Chibon
77670b9610 Bodhi: Split the buildconfig for stg and for prod
This way we can change things in staging without impacting production since
we're in freeze.
Once the freeze is over, we'll likely want to migrate production to the new
way.
While splitting the buildconfig, we're also moving out the docker files to
make the file easier to read.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:12 +02:00
Pierre-Yves Chibon
ebe8d4728a resultsdb: install ci_resultsdb on the stg box
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
b906c4e887 Forgot quotes, sorry
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
266985c3f2 Make those variables available
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
426d9b7b63 We have differnt vars files for staging and prod, use them
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
116ced3334 Make the Bodhi versions more widely available
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
a818d432ef Bodhi's static files dir is now versionned
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Clement Verna
b480336ed0 Bodhi: use python3 to run ansible on the stg backend box
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:12 +02:00
Tomas Hrnciar
70a00e6925 copr-fe: adds PAGURE_INSTANCES 2020-04-24 21:34:12 +02:00
Clement Verna
3fff578533 Bodhi: Move bodhi-backend01.stg to Fedora 30
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:12 +02:00