Skip to content
Snippets Groups Projects
Commit e19d9f73 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

feat: Add TZ=New_York date to reports to GitHub

parent 451b9119
No related branches found
No related tags found
1 merge request!181feat: Add TZ=New_York date to reports to GitHub
...@@ -45,7 +45,7 @@ stages: ...@@ -45,7 +45,7 @@ stages:
"https://api.github.com/repos/${GITHUB_REPOSITORY}/statuses/${GITHUB_SHA}" \ "https://api.github.com/repos/${GITHUB_REPOSITORY}/statuses/${GITHUB_SHA}" \
-d '{"state":"'"${STATE}"'", -d '{"state":"'"${STATE}"'",
"target_url":"'"${CI_PIPELINE_URL}"'", "target_url":"'"${CI_PIPELINE_URL}"'",
"description":"'"${DESCRIPTION}"'", "description":"'"${DESCRIPTION} $(TZ=America/New_York date)"'",
"context":"eicweb/physics_benchmarks ('"$DETECTOR_CONFIG"')" "context":"eicweb/physics_benchmarks ('"$DETECTOR_CONFIG"')"
}' ; }' ;
fi fi
...@@ -55,7 +55,7 @@ benchmarks:physics:pending: ...@@ -55,7 +55,7 @@ benchmarks:physics:pending:
extends: .status extends: .status
variables: variables:
STATE: "pending" STATE: "pending"
DESCRIPTION: "The physics benchmarks are running..." DESCRIPTION: "Started..."
when: always when: always
common:setup: common:setup:
...@@ -132,7 +132,7 @@ benchmarks:physics:success: ...@@ -132,7 +132,7 @@ benchmarks:physics:success:
extends: .status extends: .status
variables: variables:
STATE: "success" STATE: "success"
DESCRIPTION: "The physics benchmarks succeeded!" DESCRIPTION: "Succeeded!"
when: on_success when: on_success
benchmarks:physics:failure: benchmarks:physics:failure:
...@@ -140,5 +140,5 @@ benchmarks:physics:failure: ...@@ -140,5 +140,5 @@ benchmarks:physics:failure:
extends: .status extends: .status
variables: variables:
STATE: "failure" STATE: "failure"
DESCRIPTION: "The physics benchmarks failed!" DESCRIPTION: "Failed!"
when: on_failure when: on_failure
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