Kevin Fenzi
f0c80375b5
Remove action: in all roles.
2016-01-06 21:58:31 +00:00
Pierre-Yves Chibon
8832f7c5ca
Blacklist projects as project name on pagure, it's an existing URL
2015-12-07 17:23:23 +01:00
Pierre-Yves Chibon
956a4e4a9b
Install and configure the webhook server for pagure
2015-11-30 16:19:38 +01:00
Pierre-Yves Chibon
d35500929e
Add the datagrepper information to pagure config
2015-11-20 09:47:09 +01:00
Pierre-Yves Chibon
ff845a226d
Move the folder storing the local clone of remote repo one level up
...
This fixes ``gitolite trigger POST_COMPILE`` that barfed on this otherwise, but
I am not sure why.
2015-11-13 15:11:30 +01:00
Patrick Uiterwijk
08568865fe
Replace all restart httpd with reload httpd
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-11-04 23:40:01 +00:00
Ralph Bean
48af59b57c
Future proof ourselves against modern versions of python-psutil.
2015-09-28 18:04:59 +00:00
Kevin Fenzi
2873cdd427
Move all puppet_private stuff to ansible private so we can stop using puppet private.
2015-09-25 18:16:23 +00:00
Pierre-Yves Chibon
2bbe785292
Make pagure.io be before pagure.org so that we always server that SSL cert by default
2015-08-14 00:22:03 +02:00
Pierre-Yves Chibon
74fab3b93b
Fix the GIT_URL for the new pagure version
2015-08-05 21:55:22 +02:00
Pierre-Yves Chibon
8ccd985b70
Move pagure.io above pagure.org to server pagure.io SSL ceret by default
2015-08-05 16:16:52 +02:00
Pierre-Yves Chibon
271d20cfd8
Add the trailing slash to fix the links in the new version of pagure
2015-08-05 16:11:15 +02:00
Pierre-Yves Chibon
1b4501657f
docs in stg now has its own certificate
2015-08-05 16:02:19 +02:00
Pierre-Yves Chibon
a4664e06c6
Create the remotes folder for the remote PR
2015-07-31 02:42:30 +02:00
Patrick Uiterwijk
22e24e21be
Make a pagure.org -> pagure.io redirect
2015-07-29 10:00:53 +00:00
Patrick Uiterwijk
83948e50e3
Separate Pagure main and Pagure docs
...
RCA of issue sent on IRC:
It's a very interresting edge case and related to my previous diag.
In short: both the pagure main app and pagure docs app were using the same process pool (WSGIProcessDaemon).
As soon as they would both be loaded in the same thread, they would both load the FFI (C wrapper) code, and only the
latest process to load it would still have valid type references, the other would start sending wrong references,
which causes it to error out (correctly), because it doesn't know the types it got.
So basically, the fix I just applied is put pagure docs into its own WSGI daemon process, that keeps them nicely separated.
the reason that this didn't hit in staging and why it also worked *sometimes* in production is that it would only crash if:
1. both pagure main app and docs app were loaded in the thread that's used for the current request
2. pagure docs app was loaded last in the current thread, overriding the types for pagure main app, and
3. we have 4 processes with 4 threads each, so each request gets into one of 16 threads, making the staging
not likely to hit the previous two conditions, but prod has so many requests it's likely to hit 1 and 2
2015-07-23 22:13:41 +00:00
Pierre-Yves Chibon
20c9a3e6cb
Works better w/o typo
2015-07-23 09:59:43 +02:00
Pierre-Yves Chibon
aab7b9e5fc
Adjust the apache configuration of docs.pagure.org to be ssl only
2015-07-23 09:57:45 +02:00
Pierre-Yves Chibon
f900885937
Install the ssl certs for docs.pagure.org
2015-07-23 09:56:48 +02:00
Kevin Fenzi
1803473df8
Adjust pagure config to work.
2015-07-23 03:45:11 +00:00
Pierre-Yves Chibon
e4bc1915f8
Do not install file that are not present
2015-07-20 12:19:09 +02:00
Pierre-Yves Chibon
627256cec4
Place all the apache configuration in 0_pagure.conf and drop pagure.conf
2015-07-20 12:17:11 +02:00
Pierre-Yves Chibon
78e628ab26
Another attempt to fix indentation
2015-07-20 11:56:29 +02:00
Pierre-Yves Chibon
0dadaf2a85
Drop location and fix indentation
2015-07-20 11:53:55 +02:00
Pierre-Yves Chibon
a42250530c
And more adjustments
2015-07-20 11:49:49 +02:00
Pierre-Yves Chibon
6e1d0afca2
More adjustements to the apache configuration file
2015-07-20 11:41:35 +02:00
Pierre-Yves Chibon
4cc45d279c
Move the 0_pagure.conf apache configuration file from a file to a template
2015-07-20 11:37:38 +02:00
Pierre-Yves Chibon
cf582b5c3e
Adjust the apache configuration for the docs server
2015-07-20 11:35:08 +02:00
Pierre-Yves Chibon
4126baab19
Fix typo and domain name
2015-07-20 11:25:08 +02:00
Pierre-Yves Chibon
2ced33df9d
Oups, forgot the file
2015-07-20 11:07:30 +02:00
Pierre-Yves Chibon
9469e2a654
Start working on the split of the doc server to a different wsgi app
2015-07-20 11:02:38 +02:00
Pierre-Yves Chibon
bc593245ee
Adjust the EV server URL for pagure prod
2015-06-22 12:25:51 +02:00
Pierre-Yves Chibon
0843a0ba64
Make sure stunnel is correctly working
2015-06-19 00:03:34 +02:00
Pierre-Yves Chibon
f659e160ac
Fix the stunnel configuration and adjust the EV endpoint
2015-06-19 00:03:01 +02:00
Pierre-Yves Chibon
85deb07233
Let's not forget to install stunnel
2015-06-18 19:26:56 +02:00
Pierre-Yves Chibon
bcd2be9627
Start working on stunnel for pagure
2015-06-18 19:19:16 +02:00
Pierre-Yves Chibon
855a751a4c
Back to 8080 for pagure-stg
2015-06-18 17:38:34 +02:00
Pierre-Yves Chibon
ff01b358e0
Move the eventsource port to 9939
2015-06-18 17:17:38 +02:00
Pierre-Yves Chibon
a985c7d91e
Adjust the eventsource server url
2015-06-18 17:05:15 +02:00
Pierre-Yves Chibon
7c9ca85814
Adjust the pagure playbook for 0.2 with the eventsource server
2015-06-18 16:55:24 +02:00
Pierre-Yves Chibon
fa27a2b5fb
Expand the list of blacklisted projects
2015-06-16 11:57:11 +02:00
Pierre-Yves Chibon
c59c50c1df
Ensure all the services are up and running at the end of the playbook
2015-06-16 11:45:17 +02:00
Pierre-Yves Chibon
03dd049529
Let's allow pring statements for now in pagure
2015-06-14 09:56:09 +02:00
Ralph Bean
60dbdd00cf
Try dynamically generating some fedmsg config from group/host vars in staging.
2015-06-12 16:27:45 +00:00
Pierre-Yves Chibon
6646bd3341
Pass on the Authorization header
2015-06-11 11:02:43 +02:00
Pierre-Yves Chibon
54c246199d
Add index for the releases dir
2015-06-05 13:51:16 +02:00
Pierre-Yves Chibon
c3764014a2
Allow everyone on /releases
2015-06-05 13:49:14 +02:00
Pierre-Yves Chibon
dd7253c6ff
Add the missing UPLOAD_FOLDER
2015-06-05 13:46:17 +02:00
Pierre-Yves Chibon
dc5f214a9a
Set the UPLOAD_FOLDER_PATH
2015-06-05 13:42:36 +02:00
Pierre-Yves Chibon
29131d9962
Create the alias for /releases
2015-06-05 13:40:53 +02:00