mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
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. |
||
---|---|---|
.. | ||
CI | ||
Git | ||
GitSetup | ||
hooks | ||
Scripts | ||
SetupForDevelopment.sh | ||
update-gitsetup.bash | ||
update-third-party.bash |