Commit Graph

146 Commits

Author SHA1 Message Date
Miroslav Suchý
4b4fed942c copr: install our lograte for httpd
with rotate 5
otherwise old logs get deleted
2019-04-05 10:08:44 +02:00
clime
ceb35381b6 copr-fe: move the copr-frontend crontab to proper copr-frontend (cloud) 2019-01-13 10:12:22 +01:00
clime
4de050af34 copr-fe: install custom crontab to make update_graphs silent
* the problem should be fixed in next Copr release. This can be
removed then unless we want to keep cron configuration in ansible.
2019-01-13 09:56:18 +01:00
Jakub Kadlčík
ada5904d81 Install copr-selinux on all Copr machines 2018-10-08 21:58:53 +02:00
Mikolaj Izdebski
6003eb1279 copr/frontend: Fix task conditionals
<nirik> but I did just hit something amusing... mizdebsk: on
roles/copr/frontend/tasks/main.yml the last play there... I don''t
think "when: False" does what you want. Did you want to disable that?
<nirik> since "False" is just a string, I think it will always
evaluate to True. :)
2018-09-07 05:53:58 +00:00
clime
486b6c4756 copr-fe: remove stale configs 2018-09-06 13:24:09 +02:00
Mikolaj Izdebski
3abf9194b0 Use env_prefix not env_suffix 2018-08-27 20:13:01 +00:00
Mikolaj Izdebski
4b511a2c70 Tag tasks in copr/frontend role 2018-08-27 20:08:56 +00:00
Mikolaj Izdebski
b996789ba9 Cleanup copr.conf 2018-08-27 20:08:55 +00:00
Mikolaj Izdebski
75778f3beb httpd config cleanup for copr-frontend-stg 2018-08-27 20:08:55 +00:00
Mikolaj Izdebski
672d0063e8 Further cleanup of copr/frontend role 2018-08-27 20:08:55 +00:00
Mikolaj Izdebski
b2e2c82ba3 Fix copr-front-stg db password 2018-08-27 11:44:40 +00:00
Mikolaj Izdebski
2753bc3a83 Install python-requests on copr-fe as a workaround 2018-08-27 11:33:45 +00:00
Mikolaj Izdebski
b0477f63df Disable pagure-events copr stg service for now 2018-08-27 11:21:49 +00:00
Mikolaj Izdebski
e6893f5a7b Update db URI for copr stg 2018-08-27 11:00:44 +00:00
Mikolaj Izdebski
8c62133aa7 Fix a typo in copr/frontend 2018-08-27 08:37:26 +00:00
Mikolaj Izdebski
e198c71bc9 Initial cleanup of copr/frontend role 2018-08-27 08:25:54 +00:00
Mikolaj Izdebski
f937315e14 copr/frontend role should not depend on copr/base 2018-08-27 08:11:05 +00:00
clime
b2583fae33 copr-fe: move index rebuilding to the bottom of the playbook 2018-08-24 12:05:28 +02:00
Jakub Kadlčík
51573754bf Fix redirect from copr.fedoraproject.org to copr.fedorainfracloud.org 2018-08-24 12:00:19 +02:00
Jakub Kadlčík
c892543dc3 Use copr_frontend_public_hostname instead of inventory_hostname
Because inventory_hostname is set to copr-fe.cloud.fedoraproject.org
on frontend production instance. However, we want a variable that
is evaluated to copr.fedorainfracloud.org
2018-08-24 12:00:19 +02:00
Jakub Kadlčík
e78f97bfbb Move copr.conf to templates, it has jinja2 macros 2018-08-24 12:00:19 +02:00
Jakub Kadlčík
80a6c7b885 Add https support for copr-fe-dev 2018-08-24 12:00:19 +02:00
Jakub Kadlčík
ae58597b7e Move the WSGIDaemonProcess outside of VirtualHost so it can be used in https config
https://stackoverflow.com/a/11995769/3285282
2018-08-24 12:00:19 +02:00
clime
ba187bfd25 copr-fe: update copr-dist-git urls to use https 2018-08-06 20:50:39 +02:00
clime
228721d777 copr-frontend: update name pagure fedmsg processor 2018-08-04 16:32:42 +02:00
clime
8bea5c3bda copr-frontend: temporary fix for Bug 1582294 - yum-plugin-copr doesn't work 2018-06-11 15:08:18 +02:00
clime
c56b26fb0a copr-frontend: install a newer version of xstatic-jquery-ui-common 2018-04-26 17:21:56 +02:00
clime
201237b9d0 copr-frontend: dep is python3-alembic 2018-02-23 22:55:04 +01:00
clime
811c436340 copr-frontend: it's alembic-3 now 2018-02-23 22:53:41 +01:00
clime
f278a47117 copr-frontend: fix alembic invocation
* see https://bugzilla.redhat.com/show_bug.cgi?id=1536058
2018-02-23 21:29:50 +01:00
clime
176c3bb2fc copr-frontend: allow execmem
* see https://bugzilla.redhat.com/show_bug.cgi?id=1535689
2018-02-23 17:52:26 +01:00
clime
e8ea8a80c8 copr: we no longer use mbs 2018-02-23 08:53:33 +01:00
Till Maas
8f7acb0dde Increase HSTS max age to one year
The HSTS preload list requires this now: https://hstspreload.org/
2018-02-07 12:42:36 +01:00
clime
ead8042cfd copr-frontend: requiring certain versions of a package should be in copr-frontend.spec 2018-01-20 19:13:01 +01:00
clime
8c816c031e copr-frontend: reeanble alembic upgrade head 2018-01-20 18:55:18 +01:00
clime
f825a4549e copr-frontend: prolong graceful restart period for wsgi daemons 2018-01-04 15:48:49 +01:00
clime
7dc96d992a copr-frontend: set maximum-requests=8000 for each wsgi daemon process 2018-01-03 23:16:46 +01:00
clime
e8f6c7f76d copr-frontend: temporary hotfix - do not upgrade db to head 2017-12-18 14:41:16 +01:00
clime
67bbf37aa0 copr-frontend: make DEFER_BUILD_SECONDS 300 2017-10-18 23:02:02 +02:00
clime
ce9be69329 copr-frontend: set high DEFER_BUILD_SECONDS to handle large queue
this high value is probably only temporary
2017-10-18 22:52:23 +02:00
Kevin Fenzi
afef097a3d switch all the include tasks to import tasks 2017-10-17 17:37:03 +00:00
Kevin Fenzi
d9ee0059b4 typo on a massive scale 2017-10-15 20:33:11 +00:00
Kevin Fenzi
69fd8d117a switch all the handlers to import and drop the global static import 2017-10-15 20:29:59 +00:00
Kevin Fenzi
a4ca0db30c more include cleanups 2017-10-15 20:22:53 +00:00
Miroslav Suchý
c3dd8e9764 copr: this is no longer supported in pg9.5 2017-10-11 11:17:48 +02:00
Miroslav Suchý
8d53296868 copr: tune db settings 2017-10-11 11:08:03 +02:00
Patrick Uiterwijk
adcbf72f03 Packageize this, packageize that, packageize the world
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:25:52 +00:00
Kevin Fenzi
5d9b42480b add pxz on copr-fe for backups compression 2017-10-08 17:16:56 +00:00
clime
a6c919d055 copr-frontend: specify copr-dist-git clone url in the frontend config 2017-09-07 10:55:13 +02:00