From 79d7305f45841643c45946d51b20007a883c9d81 Mon Sep 17 00:00:00 2001 From: Arthur Flam Date: Sun, 6 Sep 2020 10:52:43 +0300 Subject: [PATCH] Always update the status on gitlabCI --- qaboard/qa.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qaboard/qa.py b/qaboard/qa.py index 614397d9..57789dbc 100755 --- a/qaboard/qa.py +++ b/qaboard/qa.py @@ -605,8 +605,7 @@ def batch(ctx, batches, batches_files, tuning_search_dict, tuning_search_file, n ) from .gitlab import gitlab_token, update_gitlab_status - always_update = getenvs(('QATOOLS_ALWAYS_UPDATE_GITLAB', 'QA_ALWAYS_UPDATE_GITLAB')) - if gitlab_token and jobs and is_ci and (ctx.obj['batch_label']=='default' or always_update): + if gitlab_token and jobs and is_ci: update_gitlab_status(commit_id, 'failed' if is_failed else 'success', ctx.obj["batch_label"], f"{len(jobs)} results") if is_failed and not no_wait: