Skip to content

Conversation

@rsarm
Copy link
Contributor

@rsarm rsarm commented May 12, 2022

Closes #2467

Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't add a configuration parameter to select the mode. Given that we already define the modes having another parameter to control which mode to select can be confusing. I suggest removing that and instead passing the mode options to the emit_pipeline() function with an argument named child_pipeline_opts. We will also need to expand the documentation of the --ci-generate option and feature and explain which options are passed through always and how a user can options to the reframe invocation in the child pipeline.



def _emit_gitlab_pipeline(testcases):
def _emit_gitlab_pipeline(testcases, child_pipeline_opts):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def _emit_gitlab_pipeline(testcases, child_pipeline_opts):
def _emit_gitlab_pipeline(testcases, child_pipeline_opts=None):

And avoid having to change the unit test.

@vkarak vkarak merged commit 26d3827 into reframe-hpc:master May 23, 2022
@rsarm rsarm deleted the ci-cli-options branch February 3, 2023 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Passing --performance-report to generated GitLab CI pipeline

2 participants