Skip to content

Passing --performance-report to generated GitLab CI pipeline #2467

@flx42

Description

@flx42

Hello,

It would be great to be able to inject additional arguments such as --performance-report and --strict when creating a GitLab CI file with --ci-generate. Right now, using those arguments seems to have no effect when --ci-generate is used.

Alternatively, I suppose a more generic approach could be to have --ci-generate simply passthrough the --mode argument, and thus my problem could be fixed with something like this:

$ cat settings.py
[...]
    'modes': [
        {
           'name': 'ci',
           'options': [
               '--performance-report',
               '--strict',
           ]
        },
    ]

$ reframe -R -c ./tests --ci-generate=./pipeline.yml --mode=ci 

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions