projects
/
GitLab
/
stricted-build
/
lineage_builder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3618ff0
)
Coerce runner id to a string.
author
Tom Powell
<gitlab@tom.powell.io>
Fri, 16 Nov 2018 03:27:29 +0000
(
03:27
+0000)
committer
Tom Powell
<gitlab@tom.powell.io>
Fri, 16 Nov 2018 03:27:29 +0000
(
03:27
+0000)
ui/gitlab/webhooks.py
patch
|
blob
|
blame
|
history
diff --git
a/ui/gitlab/webhooks.py
b/ui/gitlab/webhooks.py
index 88cc9dd5528cd9b5567022699d9e0a68eb556378..2f156c6effcaef36ffe2f679b766cad3b85c9ea2 100644
(file)
--- a/
ui/gitlab/webhooks.py
+++ b/
ui/gitlab/webhooks.py
@@
-32,7
+32,7
@@
def process(request):
build_stage = stage
runner = build_stage.get("runner")
if runner:
- build.build_runner = Runner.get_or_create_by_id(
runner.get('id'
))
+ build.build_runner = Runner.get_or_create_by_id(
str(runner.get('id')
))
if not build.build_runner.runner_name:
build.build_runner.runner_name = runner.get("description")
date = datetime.datetime.strptime(build_stage.get("created_at"), "%Y-%m-%d %H:%M:%S UTC")