Loading .gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ check-merged-ci-config-is-valid: - git clone -b main --single-branch $repo_url $REPO - | 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" \ | curl --url "https://forge.3gpp.org/rep/api/v4/projects/49/ci/lint?include_merged_yaml=true" \ --header 'Content-Type: application/json' \ --data @- --output $BASELINE_YAML Loading @@ -46,7 +46,7 @@ check-merged-ci-config-is-valid: - 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" \ | curl --url "https://forge.3gpp.org/rep/api/v4/projects/49/ci/lint?include_merged_yaml=true" \ --header 'Content-Type: application/json' \ --data @- --output $MERGED_YAML Loading Loading
.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ check-merged-ci-config-is-valid: - git clone -b main --single-branch $repo_url $REPO - | 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" \ | curl --url "https://forge.3gpp.org/rep/api/v4/projects/49/ci/lint?include_merged_yaml=true" \ --header 'Content-Type: application/json' \ --data @- --output $BASELINE_YAML Loading @@ -46,7 +46,7 @@ check-merged-ci-config-is-valid: - 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" \ | curl --url "https://forge.3gpp.org/rep/api/v4/projects/49/ci/lint?include_merged_yaml=true" \ --header 'Content-Type: application/json' \ --data @- --output $MERGED_YAML Loading