summaryrefslogtreecommitdiffstats
path: root/gitautodeploy/parsers/gitlabci.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitautodeploy/parsers/gitlabci.py')
-rw-r--r--gitautodeploy/parsers/gitlabci.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/gitautodeploy/parsers/gitlabci.py b/gitautodeploy/parsers/gitlabci.py
index eebf2bd..35d5ed4 100644
--- a/gitautodeploy/parsers/gitlabci.py
+++ b/gitautodeploy/parsers/gitlabci.py
@@ -1,8 +1,9 @@
-from .common import WebhookRequestParser
+from .base import WebhookRequestParserBase
-class GitLabCIRequestParser(WebhookRequestParser):
- def get_repo_configs(self, request_headers, request_body, action):
+class GitLabCIRequestParser(WebhookRequestParserBase):
+
+ def get_matching_projects(self, request_headers, request_body, action):
import json
data = json.loads(request_body)