From 57ddacdda055e710901233e7ff599ed33c731bea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stevan=20Radakovi=C4=87?= <stevan.radakovic@linaro.org> Date: Tue, 7 Jun 2022 10:01:39 +0200 Subject: [PATCH] test-generic.yaml: Fix callback update URL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the SQUAD_INSTANCE variable to the update callback URL Signed-off-by: Stevan Radaković <stevan.radakovic@linaro.org> --- .oniro-ci/test-generic.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.oniro-ci/test-generic.yaml b/.oniro-ci/test-generic.yaml index 80024d09..d43bb57b 100644 --- a/.oniro-ci/test-generic.yaml +++ b/.oniro-ci/test-generic.yaml @@ -73,9 +73,9 @@ for job_def in $(find lava_jobs/ -name "*.yaml"); do echo $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}" curl $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}" - # Attach a callback to this build to trigger the lava-report job - curl -X POST /api/build/$CI_PIPELINE_ID/callbacks/ -F "callback_url=$CALLBACK_URL" done + # Attach a callback to this build to trigger the lava-report job + curl -X POST $CI_SQUAD_INSTANCE/api/build/$CI_PIPELINE_ID/callbacks/ -F "callback_url=$CALLBACK_URL" artifacts: paths: - lava_jobs/*.yaml -- GitLab