#8195 Enable issues tracker for tests/* projects in src.fedoraproject.org
Closed: Fixed 4 years ago by pingou. Opened 4 years ago by bookwar.

See details in https://pagure.io/fedora-ci/general/issue/9

Pagure now supports enabling issues per namespace.
Please enable them for tests


This is the change we need to apply to ansible and run the playbook:

diff --git a/ roles/distgit/pagure/tasks/main.yml b/ roles/distgit/pagure/tasks/main.yml
index d288cfc7b..c00d79302 100644
--- a/ roles/distgit/pagure/tasks/main.yml      
+++ b/ roles/distgit/pagure/tasks/main.yml      
@@ -151,6 +151,7 @@
   - /srv/git/repositories/
   - /srv/git/repositories/forks
   - /srv/git/repositories/requests
+  - /srv/git/repositories/tickets
   tags:
   - gitolite
   - pagure
diff --git a/ roles/distgit/pagure/templates/pagure_shared.cfg b/ roles/distgit/pagure/templates/pagure_shared.cfg
index 050b74eec..af5afc0a7 100644
--- a/ roles/distgit/pagure/templates/pagure_shared.cfg 
+++ b/ roles/distgit/pagure/templates/pagure_shared.cfg 
@@ -17,8 +17,9 @@ DOCS_FOLDER = None
 REQUESTS_FOLDER = '/srv/git/repositories/requests'

 ### Folder containing the tickets repos
-ENABLE_TICKETS = False
-TICKETS_FOLDER = None
+ENABLE_TICKETS = True
+ENABLE_TICKETS_NAMESPACE = ["tests"]
+TICKETS_FOLDER = '/srv/git/repositories/tickets'

 ### Folder containing the clones of the remotes git repo
 REMOTE_GIT_FOLDER = '/srv/git/remotes'

Since this is touching a prod system it'll require either a FBR or wait for unfreeze.

Metadata Update from @kevin:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: src.fp.o

4 years ago

Metadata Update from @pingou:
- Issue untagged with: src.fp.o
- Issue close_status updated to: Fixed
- Issue priority set to: Needs Review (was: Waiting on Assignee)
- Issue status updated to: Closed (was: Open)

4 years ago

Metadata Update from @pingou:
- Issue tagged with: src.fp.o

4 years ago

Login to comment on this ticket.

Metadata