Commit Graph

496 Commits

Author SHA1 Message Date
Patrick Uiterwijk
6a8abd2306 We are using basic auth
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-28 15:50:47 +02:00
Patrick Uiterwijk
06c04a3fb9 Commit http push stuff
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-28 15:08:48 +02:00
Patrick Uiterwijk
267ebd639f Use post
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-24 00:07:15 +02:00
Patrick Uiterwijk
30aa2a5557 I had already set this up. Use the registered client ID
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:30:21 +00:00
Patrick Uiterwijk
e2177e7a00 Remove stray A
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:28:02 +00:00
Patrick Uiterwijk
39bfc5317e Only do m_a_openidc in staging
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:26:11 +00:00
Patrick Uiterwijk
5d2c3bd947 This is a template
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:25:36 +00:00
Patrick Uiterwijk
54e41feed7 dependencies are not common for Fedora Infrastructure ansible roles
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:24:21 +00:00
Patrick Uiterwijk
bf392d6e41 Add auth_openidc config
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:17:38 +00:00
Patrick Uiterwijk
b10187776c Install m_a_openidc for pkgs staging
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:09:36 +00:00
Pierre-Yves Chibon
7b9cb9e8a5 Let's point to /openid/ as Patrick said
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-22 15:25:11 +02:00
Pierre-Yves Chibon
f8ce72b87d Use ipsilon in stg for dist-git.stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-22 15:14:18 +02: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
Pierre-Yves Chibon
41688a48ab Turn off sending emails on commit on dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 09:49:21 +02:00
Pierre-Yves Chibon
deadff2000 Add the create_branch ACL to pagure's config on dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-14 21:30:36 +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
Kevin Fenzi
a8714caab3 first cut at changing all the old |changed to is changed per ansible deprecations 2018-05-07 23:51:48 +00:00
Pierre-Yves Chibon
76dcfec4b0 Update the systemd service file for dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-03 12:30:36 +02:00
Pierre-Yves Chibon
b22cdd3e17 Always send fedmsg notification on dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-03 12:08:59 +02:00
Pierre-Yves Chibon
840dea9774 Port the .wsgi file to pagure 4.0
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-03 10:41:27 +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
809489bc7c Disable the fedmsg hook in pagure's ui in dist-git
Since that hook will from now on be enabled for all projects

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-04-17 14:04:01 +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
Nick Bebout
77bd7da1c3 Add BZ email exception for jbwillia 2018-03-29 20:32:49 +00:00
Nick Bebout
230a9e78c9 Add a bugzilla email exception for jbwillia 2018-03-29 17:39:34 +00:00
clime
f915d6bed6 dist-git: add temporary cache_dir_override option 2018-03-27 12:41:10 +02:00
Kevin Fenzi
877215fa7d Make the redirect for pkgs handle more than just / Ticket https://pagure.io/fedora-infrastructure/issue/6785 2018-03-20 18:59:54 +00:00
Kevin Fenzi
5bbb1c5f5e fix invocation of git-check-perms. This is needed to setup hooks on new packages as they are added 2018-03-09 19:01:56 +00:00
clime
4f901eb9cf update dist-git.conf for next dist-git release
* this change is not exactly necessary due to default values, but
  I think it's better to be explicit
2018-02-26 14:46:54 +01:00
Nick Bebout
c737933ae6 Add dustymabe to bugzilla exceptions 2018-02-22 21:13:46 +00:00
Pierre-Yves Chibon
56efae7e16 Do not relying on the existance of 3 spaces to make decisions
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-02-21 15:21:21 +01:00
Pierre-Yves Chibon
445e2eadfc Invert logic of namespace vs pdc type
We are iterating through the gitolite config that is namespace
aware (ie: rpms, modules) and are checking if the repo is in the
list to update, list coming from pdc and thus style aware not
namespaces (ie: rpm, module).
So invert the logic.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-02-20 17:23:21 +01:00
Pierre-Yves Chibon
d640cbbba0 Fix if the entry exists in pdc and not on disk and typo in an error message 2018-02-20 17:22:58 +01:00
Pierre-Yves Chibon
c558e739d8 dist-git doesn't trigger the POST_COMPILE (that was missing anyway
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-02-20 12:54:15 +01:00
Pierre-Yves Chibon
4464bf6eda Fixes some typos in the script updating the gitolite config for mass-branching
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-02-20 12:48:35 +01:00
Pierre-Yves Chibon
f17603d02a Add to dist-git the scripts we use for mass-branching
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-02-20 12:04:15 +01:00
clime
72e42a56b3 update dist-git.conf 2018-02-19 12:34:10 +01:00
Pierre-Yves Chibon
45564e852f List the commit_flag in the list of ACLs supported
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-02-19 11:36:17 +01:00
Pierre-Yves Chibon
3bd998fffe Allow pagure admin to create API token with the commit_flag ACL 2018-02-19 11:16:05 +01:00
Patrick Uiterwijk
4aa1c5bcc3 Block all but internal from pkgs.fp.o and set up robots.txt files
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-08 22:44:06 +00: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
Patrick Uiterwijk
321ad82c19 Unblock pkgs and do redirect instead
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-05 13:17:54 +00:00
Ralph Bean
4d8ad20419 This script seems to be working now. 2018-01-27 08:53:37 +00:00
Kevin Fenzi
c625021c45 only exclude modules in staging, they exist in prod 2018-01-08 20:41:15 +00:00