aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/cdash/utils/constants.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2024-06-24 11:59:56 +0000
committerTibor Frank <tifrank@cisco.com>2024-06-24 12:01:11 +0000
commit1089a589b2f7abe16d1de3d0afcdca1afdd16362 (patch)
tree0f38fb8b1c7931ceab798af8ecd3fe88743752a6 /csit.infra.dash/app/cdash/utils/constants.py
parent17791dda1d6e2d8ce0e963239c571ea66e9f2a69 (diff)
C-Dash: fix telemetry
Change-Id: Ic30b27e0defd91ab2fdc979569485d9f9a01e78b Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'csit.infra.dash/app/cdash/utils/constants.py')
-rw-r--r--csit.infra.dash/app/cdash/utils/constants.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/csit.infra.dash/app/cdash/utils/constants.py b/csit.infra.dash/app/cdash/utils/constants.py
index 7cdfe76ee7..3b6e125d8e 100644
--- a/csit.infra.dash/app/cdash/utils/constants.py
+++ b/csit.infra.dash/app/cdash/utils/constants.py
@@ -118,15 +118,18 @@ class Constants:
# External stylesheets.
EXTERNAL_STYLESHEETS = ["/static/dist/css/bootstrap.css", ]
- # URL to Jenkins
+ # CICD type.
+ CICD_TYPE = get_str_from_env("CICD_TYPE", "jenkins")
+
+ # URL to CICD.
URL_CICD = get_str_from_env("URL_CICD", "https://jenkins.fd.io/job/")
- # URL to logs
+ # URL to logs.
URL_LOGS = get_str_from_env(
"URL_LOGS", "https://logs.fd.io/vex-yul-rot-jenkins-1/"
)
- # URL to the documentation
+ # URL to the documentation.
URL_DOC = get_str_from_env("URL_DOC", "https://csit.fd.io/cdocs/")
URL_DOC_TRENDING = URL_DOC + "methodology/trending/analysis/"
URL_DOC_REL_NOTES = URL_DOC + "release_notes/current/"