Skip to content
Snippets Groups Projects
Commit 4ebca79f authored by Chase Qi's avatar Chase Qi
Browse files

.oniro-ci: record callback respond in squad


When the callback not dispatchered correctly, the record can be helpful
for debugging in squad.

Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
parent b0793e7d
No related branches found
No related tags found
1 merge request!148ci: enable LAVA boot and smoke tests on qemu devices for new MRs
......@@ -77,7 +77,11 @@
done
# Attach a callback to this build to trigger the lava-report job
squad_build_id="$(curl --silent "$CI_SQUAD_INSTANCE/api/builds/?version=$CI_PIPELINE_ID" | jq -r '.results[0].id')"
curl -X POST $CI_SQUAD_INSTANCE/api/builds/$squad_build_id/callbacks/ --header "Authorization: Token $CI_SQUAD_TOKEN" -F "callback_url=$CALLBACK_URL"
curl --silent \
-X POST "$CI_SQUAD_INSTANCE/api/builds/$squad_build_id/callbacks/" \
-H "Authorization: Token $CI_SQUAD_TOKEN" \
-F "callback_url=$CALLBACK_URL" \
-F "callback_record_response=true"
artifacts:
paths:
- lava_jobs/*.yaml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment