Commit d4b75f07 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix command linebreak

parent 5970c1f4
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -40,16 +40,16 @@ check-merged-ci-config-is-valid:
      jq --null-input --arg yaml "$(<$REPO/.gitlab-ci.yml)" '.content=$yaml' \
      | curl --url "https://forge.3gpp.org/rep/api/v4/projects/49/ci/lint?include_merged_yaml=true" \
           --header 'Content-Type: application/json' \
           --output $BASELINE_YAML \
           --data @-
           --output $BASELINE_YAML

    - sed -i".bak" "s/\&IVAS_CODEC_CI_REF main/\&IVAS_CODEC_CI_REF ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}/" $REPO/.gitlab-ci.yml
    - |
      jq --null-input --arg yaml "$(<$REPO/.gitlab-ci.yml)" '.content=$yaml' \
      | curl --url "https://forge.3gpp.org/rep/api/v4/projects/49/ci/lint?include_merged_yaml=true" \
           --header 'Content-Type: application/json' \
           --output $MERGED_YAML \
           --data @-
           --output $MERGED_YAML
    - |
      grep "\"valid\": true" $MERGED_YAML
  artifacts: