Configure pagure for archive generation

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2019-01-04 15:25:34 +01:00
parent 2e8edcaf07
commit 4483219295
2 changed files with 8 additions and 2 deletions

View file

@ -238,10 +238,13 @@
# Set-up Pagure
- name: create the /var/www/releases folder
- name: create the folders used for releases and archives
file: state=directory
path=/var/www/releases
path={{ item }}
owner=git group=git mode=0775
with_items:
- /var/www/releases
- /var/www/archives
tags:
- pagure
- web

View file

@ -124,6 +124,9 @@ UPLOAD_FOLDER_URL = 'https://releases.pagure.org/'
{% endif %}
UPLOAD_FOLDER_PATH = '/var/www/releases/'
### Folder where are cached the archives
ARCHIVE_FOLDER = '/var/www/archives/'
### Home folder of the gitolite user
### Folder where to run gl-compile-conf from