From 6f6d6711d55d2f65dc9ec33d2bc0906d167d2686 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Mon, 26 Sep 2022 23:52:14 +0000 Subject: [PATCH] feat: Add TZ=New_York date to reports to GitHub --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 272a6856..d4dc20a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,7 +46,7 @@ stages: "https://api.github.com/repos/${GITHUB_REPOSITORY}/statuses/${GITHUB_SHA}" \ -d '{"state":"'"${STATE}"'", "target_url":"'"${CI_PIPELINE_URL}"'", - "description":"'"${DESCRIPTION}"'", + "description":"'"${DESCRIPTION} $(TZ=America/New_York date)"'", "context":"eicweb/reconstruction_benchmarks ('"$DETECTOR_CONFIG"')" }' ; fi @@ -56,7 +56,7 @@ benchmarks:reconstruction:pending: extends: .status variables: STATE: "pending" - DESCRIPTION: "The reconstruction benchmarks are running..." + DESCRIPTION: "Started..." when: always common:setup: @@ -127,7 +127,7 @@ benchmarks:reconstruction:success: extends: .status variables: STATE: "success" - DESCRIPTION: "The reconstruction benchmarks succeeded!" + DESCRIPTION: "Succeeded!" when: on_success benchmarks:reconstruction:failure: @@ -135,5 +135,5 @@ benchmarks:reconstruction:failure: extends: .status variables: STATE: "failure" - DESCRIPTION: "The reconstruction benchmarks failed!" + DESCRIPTION: "Failed!" when: on_failure -- GitLab