Skip to content

Commit 6124e80

Browse files
author
Vasileios Karakasis
committed
Fine tune docs
1 parent 06afb13 commit 6124e80

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/tutorial_tips_tricks.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,10 +385,11 @@ The following is an example of ``.gitlab-ci.yml`` file that does exactly that:
385385
It defines two stages.
386386
The first one, called ``generate``, will call ReFrame to generate the pipeline specification for the desired tests.
387387
All the usual `test selection options <manpage.html#test-filtering>`__ can be used to select specific tests.
388-
ReFrame will process them as usual, but instead of running the selected tests, it will generate the correct steps for running each test individually as a Gitlab job.
389-
The generated commands contain the configuration, the verbosity level and the :option:`--mode` used to produce the pipeline, while the rest of the cli options will not be included.
390-
Additional cli options can be passed through :option:`--mode`.
391-
We then pass the generated CI pipeline file to second phase as an artifact and we are done!
388+
ReFrame will process them as usual, but instead of running the selected tests, it will generate the correct steps for running each test individually as a Gitlab job in a child pipeline.
389+
The generated ReFrame command that will run each individual test reuses the :option:`-C`, :option:`-R`, :option:`-v` and :option:`--mode` options passed to the initial invocation of ReFrame that was used to generate the pipeline.
390+
Users can define CI-specific execution modes in their configuration in order to pass arbitrary options to the ReFrame invocation in the child pipeline.
391+
392+
Finally, we pass the generated CI pipeline file to second phase as an artifact and we are done!
392393
If ``image`` keyword is defined in ``.gitlab-ci.yml``, the emitted pipeline will use the same image as the one defined in the parent pipeline.
393394
Besides, each job in the generated pipeline will output a separate junit report which can be used to create GitLab badges.
394395

0 commit comments

Comments
 (0)