Improve readability in the CI pipelines by explicitelly stating the input parameters
The CI scripts obtain some of the run time variables from the environment, for instance run_markdown_pipeline.py
does:
settings.setup(parser, validate=[
'GRAV_PATH',
'PIPELINE',
'PIPELINE_SOURCE'
])
Although this way the variable names are not repeated at different places within the script, it doesn't add to the readability of the code.
An idea would be to expand those options in the CI scripts (*.gitlab-ci.yml
) which could be done using the defined variables to avoid repetition, e.g.
run_markdown_pipeline --grav-path $GRAV_PATH
and deprecate obtaining the variables from the environment for the future release.