Skip to content

Commit 2e69e0e

Browse files
author
mahendrapaipuri
committed
Add image keyword after stages and remove redundant type conversion to int for verbosity
1 parent 5905fc7 commit 2e69e0e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

reframe/frontend/ci.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def _emit_gitlab_pipeline(testcases):
1919
prefix = 'rfm-stage/${CI_COMMIT_SHORT_SHA}'
2020
checkpath = config.get('general/0/check_search_path')
2121
recurse = config.get('general/0/check_search_recursive')
22-
verbosity = 'v' * int(config.get('general/0/verbose'))
22+
verbosity = 'v' * config.get('general/0/verbose')
2323

2424
def rfm_command(testcase):
2525
if config.filename != '<builtin>':
@@ -59,10 +59,7 @@ def rfm_command(testcase):
5959
# image keyword on the top of CI script, this variable does not exist
6060
image_name = os.getenv('CI_JOB_IMAGE')
6161
if image_name:
62-
json = {
63-
'image': image_name,
64-
**json,
65-
}
62+
json['image'] = image_name
6663

6764
for tc in testcases:
6865
json[f'{tc.check.name}'] = {

0 commit comments

Comments
 (0)