From: Tom Powell Date: Sun, 4 Nov 2018 03:10:43 +0000 (-0700) Subject: use RELASE_TYPE for UI, not TYPE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e8bc2586aceda3491946769fb3c3f1061173be2e;p=GitLab%2Fstricted-build%2Flineage_builder.git use RELASE_TYPE for UI, not TYPE --- diff --git a/tests/.pipeline_success.json.swp b/tests/.pipeline_success.json.swp new file mode 100644 index 0000000..68bf93d Binary files /dev/null and b/tests/.pipeline_success.json.swp differ diff --git a/ui/gitlab/webhooks.py b/ui/gitlab/webhooks.py index b083f35..88cc9dd 100644 --- a/ui/gitlab/webhooks.py +++ b/ui/gitlab/webhooks.py @@ -24,7 +24,7 @@ def process(request): build.build_version = variable.get("value") elif variable.get("key") == "DEVICE": build.build_device = variable.get("value") - elif variable.get("key") == "TYPE": + elif variable.get("key") == "RELEASE_TYPE": build.build_type = variable.get("value") build_stage = {} for stage in stages: