Project

General

Profile

Feature #24204

add support to include URL in generic CI phase dashboards

Added by Vito Di Benedetto 6 months ago. Updated 4 months ago.

Status:
Work in progress
Priority:
Normal
Category:
-
Target version:
-
Start date:
03/19/2020
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Stakeholders:
Duration:

Description

For generic CI phase dashboards, like this one:
http://dbweb5.fnal.gov:8080/LarCI/app/build_detail/phase_details?build_id=lar_ci/8081&platform=Linux%203.10.0-1062.12.1.el7.x86_64&phase=trigger_builds&buildtype=slf7%20e19:prof

I would like to be able to include URL similarly to how the CI does for these CI validation dashboard:
http://dbweb5.fnal.gov:8080/LarCI/app/ns:dune/build_detail/test_details?build_id=dune_ci/8155&platform=Linux%203.10.0-1062.9.1.el7.x86_64&buildtype=slf7%20e19:prof&phase=ci_validation&test=sim

where it is used the build/add_test_result API with attributes like this:
fullname=${fullname}&
serverurl=${report_serverurl}&
phase=${phase}&
testname=${testname}&
statisticname=job_summary_link&
platform=${platform}&
buildtype=${report_buildtype}&
hostname=${hostname}&
value=${link};${link_description}&
valuetype=link

For the new case maybe we can keep
statisticname=job_summary_link
and have
testname=end

to have URL in the CI phase dashboard.

The use case for this is to report to the LArSoft dashboard a URL that points to the experiment CI build using the following attribute:
value=${link};${link_description}
however those info will be known when the LArSoft CI build is already completed and the experiment CI build starts.

If hostname and platform attributes could be omitted, this will make things easier for CI scripts to set values for required attributes, because the experiment CI build will run on a different node that the LArSoft CI build.

History

#1 Updated by Vladimir Podstavkov 4 months ago

  • Status changed from New to Work in progress

#2 Updated by Vladimir Podstavkov 4 months ago

Vito,

as for if hostname and platform attributes could be omitted - they are needed to pick the result set the statistics belongs to. Is it a problem?

#3 Updated by Vito Di Benedetto 4 months ago

Vladimir,
it is not a problem for me to provide hostname and platform attributes.
Eventually I could get those info once build_detail/build_details is updated (#24505),
or I can take care to propagate those info from the parent CI build.



Also available in: Atom PDF