summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2016-07-25 13:01:26 +0200
committerGitHub <noreply@github.com>2016-07-25 13:01:26 +0200
commite0f2290fdbbb8d2ee4c9fcb9e531b04bb69232fa (patch)
tree9d64318ec7a65ff457dd17061fb0317423788324
parent580f21ea9a80bfe7062296ac7684489d5375df69 (diff)
parentd61510e55f73ed328dde66f8a6c1138d554ab000 (diff)
downloadgitlab-e0f2290fdbbb8d2ee4c9fcb9e531b04bb69232fa.tar.gz
Merge pull request #131 from chrwen-omicron/enable_container_registry
Added a new project attribute to enable the container registry.
-rw-r--r--gitlab/objects.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 315abde..42d5b38 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -1627,12 +1627,14 @@ class Project(GitlabObject):
requiredCreateAttrs = ['name']
optionalCreateAttrs = ['default_branch', 'issues_enabled', 'wall_enabled',
'merge_requests_enabled', 'wiki_enabled',
- 'snippets_enabled', 'public', 'visibility_level',
- 'namespace_id', 'description', 'path', 'import_url',
+ 'snippets_enabled', 'container_registry_enabled',
+ 'public', 'visibility_level', 'namespace_id',
+ 'description', 'path', 'import_url',
'builds_enabled', 'public_builds']
optionalUpdateAttrs = ['name', 'default_branch', 'issues_enabled',
'wall_enabled', 'merge_requests_enabled',
- 'wiki_enabled', 'snippets_enabled', 'public',
+ 'wiki_enabled', 'snippets_enabled',
+ 'container_registry_enabled', 'public',
'visibility_level', 'namespace_id', 'description',
'path', 'import_url', 'builds_enabled',
'public_builds']