ci: disable command execution in jobset generation
When GitLab PR descriptions contain markdown inline code blocks they get interpreted as command substitutions in bash. This is because the here-doc string previously allowed for this behavior.
This commit is contained in:
@@ -43,11 +43,11 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
jobsets = pkgs.runCommand "spec-jobsets.json" { } ''
|
jobsets = pkgs.runCommand "spec-jobsets.json" { } ''
|
||||||
cat >$out <<EOF
|
cat >$out <<'EOF'
|
||||||
${builtins.toJSON desc}
|
${builtins.toJSON desc}
|
||||||
EOF
|
EOF
|
||||||
# This is to get nice .jobsets build logs on Hydra
|
# This is to get nice .jobsets build logs on Hydra
|
||||||
cat >tmp <<EOF
|
cat >tmp <<'EOF'
|
||||||
${builtins.toJSON log}
|
${builtins.toJSON log}
|
||||||
EOF
|
EOF
|
||||||
${pkgs.jq}/bin/jq . tmp
|
${pkgs.jq}/bin/jq . tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user