Update project settings
This commit is contained in:
parent
a0870de1bd
commit
99cfb15518
2 changed files with 3 additions and 3 deletions
|
@ -8,8 +8,6 @@ import logging as log
|
|||
import csv
|
||||
import secrets
|
||||
|
||||
from time import sleep
|
||||
|
||||
|
||||
class Deadline(yaml.YAMLObject):
|
||||
"""A deadline"""
|
||||
|
@ -197,6 +195,8 @@ def sync_project(gl, course, student):
|
|||
student_member = project.members.create({'user_id': student.user.id, 'access_level':
|
||||
gitlab.DEVELOPER_ACCESS})
|
||||
project.keys.create({'title': 'abgabesystem', 'key': open('abgabesystem.key.pub').read()})
|
||||
project.container_registry_enabled = False
|
||||
project.lfs_enabled = False
|
||||
project.save()
|
||||
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ gitlab_rails['gitlab_email_reply_to'] = 'noreply@ips1.ibr.cs.tu-bs.de'
|
|||
# gitlab_rails['gitlab_default_projects_features_wiki'] = true
|
||||
# gitlab_rails['gitlab_default_projects_features_snippets'] = true
|
||||
# gitlab_rails['gitlab_default_projects_features_builds'] = true
|
||||
# gitlab_rails['gitlab_default_projects_features_container_registry'] = true
|
||||
gitlab_rails['gitlab_default_projects_features_container_registry'] = false
|
||||
|
||||
### Automatic issue closing
|
||||
###! See https://docs.gitlab.com/ce/customization/issue_closing.html for more
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue