vtk-m/Utilities/CI
Kenneth Moreland ecacc89b7d Make reproduce_ci_env.py more tolerant of scripts
When `reproduce_ci_env.py` makes its docker container, it creates a pair
of scripts, `setup-gitlab-env.sh` and `run-gitlab-stage.sh`, inside the
container. These scripts came from the `before_script` and `script` CI
configuration parameters, respectively.

These two scripts were created by joining each item in the CI
configuration lists with `&&` onto a single line. However, this meant
that each list item had to be on its own line or it didn't work. A
recent configuration change meant that one of the configurations
contained multiple shell commands separated by newlines. This change
builds the script with multiple lines (which have to be carefully
escaped in the generated dockerfile).

Also modified these strings to escape quotes (`"`). This is important as
the dockerfile generates these scripts using an `echo` command that
needs to quote all of the arguments together.
2021-10-05 14:18:25 -06:00
..
.gitignore Add scripts to allow developers to replicate CI environments 2020-04-09 13:54:20 -04:00
DeveloperSetup.md Add scripts to allow developers to replicate CI environments 2020-04-09 13:54:20 -04:00
reproduce_ci_env.py Make reproduce_ci_env.py more tolerant of scripts 2021-10-05 14:18:25 -06:00
requirements.txt Add scripts to allow developers to replicate CI environments 2020-04-09 13:54:20 -04:00