flask-gogs-maker/settings.default.py

33 lines
871 B
Python
Raw Normal View History

2018-03-03 01:13:50 +01:00
''' GogsMaker settings '''
2018-03-03 02:31:54 +01:00
# Debug mode. **ALWAYS** leave to False in production, this allows remote code
# execution
DEBUG = False
2018-03-03 01:13:50 +01:00
# List of the repositories to work on
HOOKS = [
{
# Name of the repository. This is purely local, and determines the name
# of the directory in which the compilation will happen.
'name': 'foo',
# URL of the repository, as reported by Gogs in its payload.
'url': 'https://git.tobast.fr/tobast/flask-gogs-maker',
# Make targets to be invoked
'targets': ['all'],
2018-03-03 02:31:54 +01:00
# Shared secret with Gogs
'secret': 'shooW8IRei5pah7lahMe',
2018-03-03 01:13:50 +01:00
},
{
'name': 'test-repo',
'url': 'tests/simple-repo',
'targets': ['date', 'touch'],
2018-03-03 02:31:54 +01:00
'secret': 'mi5aesh8eiS6sileiGha',
},
2018-03-03 01:13:50 +01:00
]
2018-03-03 01:45:54 +01:00
# Directory in which the repositories are cloned
CLONE_ROOT = 'repos'