Commit Graph

102 Commits

Author SHA1 Message Date
Patrick Uiterwijk
41cb84229e Fix selinux for Pagure
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-01-26 11:50:37 +00:00
Pierre-Yves Chibon
0562a015e2 Point stg.pagure.io to releases.stg.pagure.org 2017-01-19 19:35:19 +01:00
Todd Zullinger
2abbf6129a pagure: Fix SHA256 hashes for pagure.io and stg.pagure.io
In 4812bc39e (Add the SHA256 of the ssh key, 2016-05-28) the SHA256
fingerprints were added to the wrong section.  The stg.pagure.io
fingerprint is in the pagure.io section and vice versa.  The MD5
fingerprints are correct.

This can be confirmed by checking the output of ssh-keygen with the SSH
pubkey values for each host:

    $ for i in {stg.,}pagure.io.pub; do echo $i; cat $i; for hash in sha256 md5; do ssh-keygen -l -E $hash -f $i; done; echo; done
    stg.pagure.io.pub
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJNu490Rp305zGCJLvhVIrKjL7Xngew3NxgRYeopHBDvj+EFQUqULXtgrI5nUBMSB94RrsuHynFAXYy2m0snHjWzWjbIxM4ZVD2sX4GiKX6qu7WyxcGmGcL08MF919r+JSPL9oWWSq/CvvBF0M1eeqkIpjMZHpVKgR3uTMD5yW994NBLAQi9i1UdwGYNQc1KqWvlvW1XhFFtiIGscIFGRKsUOMvnJvWdU6T+djmzMy4hcahxnsPCZxCjbQpuH1JjihNNVWYOq7Ztjs1gxpTTV19ATp4Z2F95uyyQ3Y+Em9KeXcKXYxwVzYVho5SSB1ZYBL+xAH1osK23PvGD39UYp9
    2048 SHA256:x4xld/tPdeOhbyJcTOxd+IbSZ4OpnBzh/IskocyrOME stg.pagure.io.pub (RSA)
    2048 MD5:69:50:46:24:c7:94:44:f8:8d:83:05:5c:eb:73:fb:c4 stg.pagure.io.pub (RSA)

    pagure.io.pub
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC198DWs0SQ3DX0ptu+8Wq6wnZMrXUCufN+wdSCtlyhHUeQ3q5B4Hgto1n2FMj752vToCfNTn9mWO7l2rNTrKeBsELpubl2jECHu4LqxkRVihu5UEzejfjiWNDN2jdXbYFY27GW9zymD7Gq3u+T/Mkp4lIcQKRoJaLobBmcVxrLPEEJMKI4AJY31jgxMTnxi7KcR+U5udQrZ3dzCn2BqUdiN5dMgckr4yNPjhl3emJeVJ/uhAJrEsgjzqxAb60smMO5/1By+yF85Wih4TnFtF4LwYYuxgqiNv72Xy4D/MGxCqkO/nH5eRNfcJ+AJFE7727F7Tnbo4xmAjilvRria/+l
    2048 SHA256:Gddkd5H7oQ1RaK8WgXSKl7JZP+FgLyidmxbLercJ/JY pagure.io.pub (RSA)
    2048 MD5:90:8e:7f:a3:f7:f1:70:cb:56:77:96:17:44:c4:fc:82 pagure.io.pub (RSA)
2016-12-26 09:19:44 +01:00
Kevin Fenzi
6c0099fb21 Systemd wants service/unit files to get 644, not 755. 2016-12-16 14:50:22 +00:00
Pierre-Yves Chibon
4e06ab7f1a The pagure cert is named .cert not .crt 2016-12-16 15:25:02 +01:00
Pierre-Yves Chibon
54180128b3 Add the httpd/certificate tag to pagure's playbook 2016-12-15 18:23:35 +00:00
Pierre-Yves Chibon
81a5e9791b Move releases.pagure.org to the pagure.io cert 2016-12-15 18:22:50 +00:00
Pierre-Yves Chibon
52e6eeef32 Drop the redirect to https for now on releases.pagure.org 2016-12-15 15:00:51 +00:00
Pierre-Yves Chibon
1ff38f09b7 Bump the upload limit for pagure to 60MB
Fixes https://pagure.io/fedora-infrastructure/issue/5631
2016-12-14 18:44:38 +01:00
Pierre-Yves Chibon
272bf67d58 Clean up and make the apache config working for pagure 2016-12-05 15:52:11 +01:00
Pierre-Yves Chibon
57efdc392a Typi typo... again 2016-12-05 14:52:13 +01:00
Pierre-Yves Chibon
5f9583c7e4 Fix forgotten variable 2016-12-05 14:27:51 +01:00
Pierre-Yves Chibon
c9fab9e1cb Typi typo 2016-12-05 14:25:14 +01:00
Pierre-Yves Chibon
453b2252d0 Fix the namewidth option and add redirect 2016-12-05 14:20:54 +01:00
Pierre-Yves Chibon
c7f68ed8f1 Try moving the releases to pagure.org 2016-12-05 13:57:03 +01:00
Pierre-Yves Chibon
372cf02be2 Order the service in the pagure playbook 2016-12-05 11:05:44 +01:00
Pierre-Yves Chibon
3bd22be340 Bump the maximum upload size to 50MB instead of 4MB
This should please the design team and tbh, also help uploading tarballs of
pagure to pagure.io
2016-11-15 16:31:26 +01:00
Pierre-Yves Chibon
7545023cbb Typi typo, fix pagure 2016-10-19 10:06:24 +02:00
Pierre-Yves Chibon
96df378c0c Enable the stats port for the SSE server 2016-10-18 16:18:50 +02:00
Pierre-Yves Chibon
5d63549bc4 Install and enable haveged on pagure.io 2016-10-13 11:15:54 +02:00
Pierre-Yves Chibon
0174b51be2 Increase the number of blacklisted project names 2016-09-09 17:04:06 +02:00
Pierre-Yves Chibon
029f5225ac Make the CSRF token not time limited 2016-09-08 09:41:59 +02:00
Pierre-Yves Chibon
90d9df07af To use pagure-ci we first need to install it 2016-09-05 11:38:41 +02:00
Pierre-Yves Chibon
24403dcfb1 Start and run pagure_ci on pagure 2016-08-31 16:47:35 +02:00
Pierre-Yves Chibon
f2fd82be96 Adjust pagure's config to add CI integration w/ jenkins 2016-08-31 16:46:32 +02:00
Pierre-Yves Chibon
ed81be3996 Make the short hash 7 characters, not 6 2016-07-29 15:59:32 +02:00
Pierre-Yves Chibon
4812bc39ec Add the SHA256 of the ssh key
Fixes https://pagure.io/pagure/issue/698
2016-05-28 09:19:24 +02:00
Pierre-Yves Chibon
3d0b8523cd Ensure fedmsg-relay is running on pagure frontend 2016-05-28 09:16:41 +02:00
Pierre-Yves Chibon
fba71c42c0 Adjust pagure's config to allow backward-compatible URLs 2016-04-22 20:35:30 +02:00
Pierre-Yves Chibon
a38d133e38 Make pagure link upon login be https 2016-02-03 12:28:03 +01:00
Pierre-Yves Chibon
e0f27c5a74 Let's use the proper configuration key to send email... 2016-01-30 11:38:42 +01:00
Pierre-Yves Chibon
5546f2e99a Prevent a project from being created 2016-01-29 15:35:22 +01:00
Pierre-Yves Chibon
528640825a Pagure should be able to send email 2016-01-28 17:11:13 +01:00
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
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