Commit graph

459 commits

Author SHA1 Message Date
clime
93090a9512 use yum-deprecated in copr-keygen setup atm 2016-10-12 08:38:26 +02:00
clime
08566177da disable usage of testing volume for copr-keygen-dev 2016-10-11 15:36:33 +02:00
clime
e66346a522 mount testing volume for copr-keygen-dev 2016-10-11 11:44:49 +02:00
clime
05018f93ca symlink f26 to rawhide chroots in /etc/mock/ configs 2016-10-05 13:56:45 +02:00
Mikolaj Izdebski
b0156109a7 Copr mock configs should use yum.conf, not dnf.conf
mockchain always appends extra repositories to yum.conf, even if dnf
is set as package manager.  When both dnf.conf and yum.conf are
present, dnf uses only the first one and doesn't use repos added by
mockchain.
2016-10-04 06:39:24 +00:00
Kevin Fenzi
4e0d8bad1d Move these to templates as we have some variables to set. 2016-09-25 16:32:47 +00:00
Kevin Fenzi
79a0cb2dce Make cgitrc and cgitrc.slow files and copy them over instead of lineinline and a remote copy that changes every run. 2016-09-25 16:25:53 +00:00
clime
b45b745046 append to url.redirect, not set over in copr-backend lighttpd.conf 2016-09-21 12:46:51 +02:00
clime
cd4e0a711b copr-backend lighttpd redirect from mageia i386 to mageia i586 2016-09-21 07:08:59 +02:00
clime
179c651e8c pre-install python2-modulemd for copr-backend and also copr-frontend 2016-09-20 06:50:17 +02:00
clime
b6eefb046a install modulemd repo on copr-frontend 2016-09-20 06:15:59 +02:00
clime
fd2a20972b get rid of no longer needed fedpkg downgrade for copr-backend 2016-09-20 06:15:59 +02:00
clime
a09c776cca add copr-service to docker group for copr-dist-git.service 2016-09-19 18:47:02 +02:00
clime
5ebe0801a7 upgrade copr-dist-git if higher version is available 2016-09-19 16:56:27 +02:00
clime
25b81efb87 fix clone url for copr-dist-git 2016-09-15 13:34:00 +02:00
clime
6ec8a7ea2e make copr-dist-git compatible with the latest fedpkg versions 2016-09-14 02:40:44 +02:00
clime
59605d064c remove db setup from copr-frontend main.yml for incompatibility with alembic upgrade head 2016-09-09 10:30:04 +02:00
clime
5463c97775 display clone url in copr cgit repos 2016-09-09 10:12:59 +02:00
clime
c410ab9b8c added fedora-25-ppc64le.cfg to COPR + updated gpgkey references to use distribution-gpg-key keys 2016-09-02 13:52:53 +02:00
Patrick Uiterwijk
a9958af041 Fix copr_ssl naming
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-08-31 19:38:03 +00:00
Patrick Uiterwijk
f1dd7a7432 Unify all ssl cipher suite configurations
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-08-31 19:28:26 +00:00
Miroslav Suchý
7913706e02 copr: distribution-gpg-keys are not yet in ppc64le fedora main repositories
let install it manually for now
it can be removed after few days, or weeks.
2016-08-18 14:05:23 +02:00
Miroslav Suchý
01450c01ab copr: use /var/log/copr-frontend for logging
this default changed recently in upstream, so due selinux we should follow
2016-08-18 11:55:03 +02:00
Miroslav Suchý
2f0540cffc copr: add f25 and remove f22 from image preparation 2016-08-16 12:34:27 +02:00
Miroslav Suchý
f2413bea14 copr: patch all part of mock.cfg, not just updates 2016-08-16 12:32:39 +02:00
clime
449de2320c enable modularity copr repo in copr-backend 2016-08-11 22:46:49 +02:00
clime
a48accc36a allow more time for new key generation on copr-keygen 2016-08-11 22:46:38 +02:00
clime
be9604673a integrate OpenStack ppc64le builders into COPR 2016-08-09 17:22:25 +00:00
Kevin Fenzi
1c6e9a11f4 Another pile of trailing whitespace fixes 2016-08-08 19:42:36 +00:00
Kevin Fenzi
746faca21c comment duplicate scan-path lineinfile that was making 2 tasks change every run 2016-07-21 16:20:49 +00:00
Miroslav Suchý
0113684f11 copr: clean /tmp periodicaly
this is needed mainly due rpm2gem which left files behind
See:
https://github.com/fedora-ruby/gem2rpm/issues/85
2016-07-14 16:37:37 +02:00
Miroslav Suchý
63014c2224 typo 2016-07-13 14:06:05 +02:00
Miroslav Suchý
bc9acd48cc copr builder: update nosync and add F24 2016-07-13 11:28:22 +02:00
Miroslav Suchý
cc79a1be34 copr: switch copr-dist-git to permissive 2016-07-12 09:25:56 +02:00
Miroslav Suchý
bcf4c81524 copr: restore some sane value for copr-dist-git httpd 2016-07-11 15:48:44 +02:00
Miroslav Suchý
92a96a7c02 copr: check if previous cronjob already finished 2016-07-11 15:33:23 +02:00
Miroslav Suchý
cc1658ce3a copr: performance tunning of cgit
See
https://lists.zx2c4.com/pipermail/cgit/2016-July/003153.html

Lets make cron job, which generate the cgitrc file.

Generate the cgitrc every hours and set TTL to 2 hours.
2016-07-11 14:42:48 +02:00
Miroslav Suchý
6dc918f1f5 fixed typo in WHOOSH settings for copr-frontend
created by clime
2016-07-08 10:48:24 +02:00
Miroslav Suchý
6624b6eba0 copr: add LOG_DIR
this will be effective since next release, but lets not forget that
2016-07-07 09:45:56 +02:00
Miroslav Suchý
58754236a0 tune copr-dist-git.conf
cgit can take up to 10 minutes - rarely even longer
Once run, it will create cache, but initial run is long.
So I increased timeout a lot.
But to not take down the server with lots of processes, I limited concurent processes.
In normal situation it is more than enough.
And when cgit creates cache, it can lock down few users. But it will create the cache and next run will be fast.
2016-07-05 20:03:21 +02:00
Miroslav Suchý
ec22b7bb76 copr: more tunning of queue 2016-07-05 20:00:15 +02:00
Miroslav Suchý
7f5d1823dc copr: configure cgit cache 2016-06-30 11:42:35 +02:00
Kevin Fenzi
aca2819807 Replace command with idempotent seboolean module 2016-06-29 19:02:24 +00:00
Miroslav Suchý
76f124fc40 copr: use robots.txt for dist-git 2016-06-29 14:12:04 +02:00
Miroslav Suchý
10e94b4a99 copr: allow httpd to run cgit 2016-06-29 13:21:28 +02:00
Kevin Fenzi
e6f83f3c0f Shouldn't need to restart everytime the playbook runs. 2016-06-28 17:08:54 +00:00
Kevin Fenzi
f21a5f1991 Switch this command to a git_config module call 2016-06-27 14:28:41 +00:00
Kevin Fenzi
97f401af2c Fix tmp tmpfs mount to be idempotent and actually work. 2016-06-27 14:20:43 +00:00
Kevin Fenzi
729e640b1c Drop this recurse for a while 2016-06-26 01:51:58 +00:00
Kevin Fenzi
4cec7a28d7 Drop seperate yum clean all calls. 2016-06-25 22:09:52 +00:00