Commit Graph

73 Commits

Author SHA1 Message Date
Kevin Fenzi
29ed16ab01 pkgs: Do not try and allow repoSpanner access to pagure config in prod as it isn't deployed there yet.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-03-06 02:03:20 +00:00
Pierre-Yves Chibon
9aa0c13345 Use quotes... annoying ansible
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-04 17:28:34 +01:00
Pierre-Yves Chibon
238c62b290 Make the certs available to repoSpanner on dist-git/stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-04 17:22:49 +01:00
Pierre-Yves Chibon
48fdb8060e Fix ownership of the certs for pagure and koji
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-04 16:46:07 +01:00
Pierre-Yves Chibon
723b21b2f0 Let's try specifying the mode as a string
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-04 15:20:56 +01:00
Pierre-Yves Chibon
e10aebdca4 Try another way to represent the dict
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-04 15:18:09 +01:00
Pierre-Yves Chibon
1921f94538 Another typo to remove
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-04 15:12:17 +01:00
Pierre-Yves Chibon
977eb9fd1e typi typo
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-04 15:09:25 +01:00
Pierre-Yves Chibon
3490c41c63 src.fp.o: Create /etc/fedora-messaging manually
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-04 14:50:02 +01:00
Pierre-Yves Chibon
4cf80b62a2 Let's try giving it some space(s)
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-04 14:40:55 +01:00
Pierre-Yves Chibon
55b6c9cb63 Start porting pagure at src.fp.o to fedora-messaging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-04 14:26:43 +01:00
Pierre-Yves Chibon
89fce190b9 [distgit/pagure] hotfix the default hook to clean the PR merge status async
This is necessary because of the way our dist-git is deployed, the git hook
only have a read-only access to the database so they can't reset the cached
merge status of the open PRs in the same process so we need to do this via
an async process which is basically what this hotfix does.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-02-27 17:23:25 +01:00
Kevin Fenzi
c86b14b950 pagure / repoSpanner: Fix typo on acl task. It's permissions instead of permission.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-02-23 17:58:22 +00:00
Patrick Uiterwijk
685bdf987f Allow repoSpanner access to pagure cfg
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-02-21 13:02:22 +01:00
Kevin Fenzi
8212ee4f20 pagure: disable pagure_api_key_expire_mail.timer jobs for now.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-02-08 23:49:40 +00:00
Pierre-Yves Chibon
dedb06e674 pagure-dist-git is now officially replacing python-pagure-dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-01-07 15:41:25 +01:00
Pierre-Yves Chibon
9069676c66 Enable the cron job sending reminders about API keys on src.fp.o
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-01-07 15:41:25 +01:00
Pierre-Yves Chibon
de6a872b95 python2-pagure-dist-git got renamed simply python-pagure-dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-11-21 11:19:23 +01:00
Pierre-Yves Chibon
35fdf52ad3 New pagure is now running on src.fp.o
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-11-20 11:05:44 +01:00
Kevin Fenzi
c04137aba8 missed a boolean here 2018-10-10 20:19:44 +00:00
Kevin Fenzi
7887029ffb Some selinux policy for staging. 2018-10-10 20:01:45 +00:00
Pierre-Yves Chibon
1d4dd97959 Don't ignore error when something goes wrong with the services in src.fp.o
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-10-04 16:35:33 +02:00
Pierre-Yves Chibon
8af51edd7e Install and enable the srcfpo theme on src.stg.fp.o
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-09-17 16:42:36 +02:00
Pierre-Yves Chibon
13305abc78 Ignore the milter in pkgs02
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-07-31 09:34:53 +02:00
Kevin Fenzi
8c007d54aa compress logs on pkgs02 2018-07-30 20:23:50 +00:00
Kevin Fenzi
61646457e1 this is roles_path 2018-05-19 18:16:48 +00:00
Pierre-Yves Chibon
e18ba2107b Cleaner way to install from another role
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 12:48:25 +02:00
Pierre-Yves Chibon
689fe7ece7 Fix owner
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 12:46:03 +02:00
Pierre-Yves Chibon
179e53556b One more
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 12:45:04 +02:00
Pierre-Yves Chibon
3ab3d86f26 What about this
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 12:44:12 +02:00
Pierre-Yves Chibon
e2ef9d489d Let's see if this works
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 12:42:06 +02:00
Patrick Uiterwijk
7f9d48bbf1 Revert "Let's only start the services for now"
These services must run on system start or parts of Pagure will be down

This reverts commit 75cafd3584.
2018-05-10 13:25:22 +02:00
Pierre-Yves Chibon
724308a71a Turn back on the cron jobs on dist-git.stg, they got fixed
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-04-23 14:33:04 +02:00
Patrick Uiterwijk
9cbf120b54 Make sure packagers can access the fedmsg key
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-17 18:17:04 +02:00
Pierre-Yves Chibon
c7133fefad Let's disable the cron on staging dist-git until they are fixed
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-04-05 19:02:04 +02:00
Ralph Bean
7c83acbcd0 Back to one copy of pagure-sync-bugzilla.py.j2. 2017-12-15 14:58:18 +00:00
Ralph Bean
b3be475477 Add a staging version of pagure-sync-bugzilla.py to try in staging. 2017-12-14 21:49:29 +00:00
Kevin Fenzi
ceb53f786f fedmsg-relay is not even installed here, so its really not likely to be needed 2017-11-21 00:54:01 +00:00
Pierre-Yves Chibon
a199694786 Make pagure use pygments2 explicitely
Got the +1 from Peter and Patrick on IRC, thanks for that!
2017-10-26 11:06:52 +02:00
Pierre-Yves Chibon
451fac0502 Add the cron job for the new scripts from pagure-dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2017-10-17 11:01:31 +02:00
Patrick Uiterwijk
936e8b261a yum accepted pkg=, package calls it name=
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +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
Ralph Bean
07c1d91914 I'm glad I checked. 2017-10-05 17:09:00 +00:00
Ralph Bean
aab2ea4590 Put a lockwrapper around the bz sync script.
We're out of freeze now.

https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org/thread/3G3IZWH2WLTQPEEGZG6SCBOSF3UW4TMT/
2017-10-05 16:06:31 +00:00
Pierre-Yves Chibon
1c3cf6701c Enable the extras json files on prod 2017-10-04 22:33:01 +02:00
Pierre-Yves Chibon
280da50217 Specify how to run the cron job 2017-09-29 18:47:23 +02:00
Pierre-Yves Chibon
f6d83f9ece Create an /extras endpoint where to put the cron outputs
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2017-09-29 16:13:55 +02:00
Pierre-Yves Chibon
843ef24f40 The remotes folder needs to be accessible to pagure 2017-09-29 16:05:50 +02:00
Pierre-Yves Chibon
55cc72d160 Use 2775 insteads if 0775 so sub directories are created fine 2017-09-05 08:30:07 +02:00
Pierre-Yves Chibon
585dba2a76 Ensure the default directory structure is created 2017-09-04 18:59:47 +02:00