Skip to content
Snippets Groups Projects
Commit 98c01d61 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

.gitlab-ci.yml: ommit redundant description in github status, report BENCHMARKS_TAG instead

parent 43922140
No related branches found
No related tags found
No related merge requests found
Pipeline #115694 skipped
......@@ -55,5 +55,5 @@ jobs:
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-d '{"context": "eicweb/physics_benchmarks ('"$DETECTOR_CONFIG"')", "state": "pending", "description": "Waiting for response from the EICweb", "target_url": "${{ fromJson(steps.trigger_eicweb.outputs.json).web_url }}"}' \
-d '{"context": "eicweb/physics_benchmarks (nightly, '"$DETECTOR_CONFIG"')", "state": "pending", "description": "Waiting for response from the EICweb", "target_url": "${{ fromJson(steps.trigger_eicweb.outputs.json).web_url }}"}' \
"https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.event.pull_request.head.sha || github.sha }}"
......@@ -54,8 +54,8 @@ stages:
"https://api.github.com/repos/${GITHUB_REPOSITORY}/statuses/${GITHUB_SHA}" \
-d '{"state":"'"${STATE}"'",
"target_url":"'"${CI_PIPELINE_URL}"'",
"description":"'"${DESCRIPTION} $(TZ=America/New_York date)"'",
"context":"eicweb/physics_benchmarks ('"$DETECTOR_CONFIG"')"
"description":"'"$(TZ=America/New_York date)"'",
"context":"eicweb/physics_benchmarks ('"${BENCHMARKS_TAG}"', '"$DETECTOR_CONFIG"')"
}' ;
fi
......@@ -64,7 +64,6 @@ benchmarks:physics:pending:
extends: .status
variables:
STATE: "pending"
DESCRIPTION: "Started..."
when: always
common:setup:
......@@ -142,7 +141,6 @@ benchmarks:physics:success:
extends: .status
variables:
STATE: "success"
DESCRIPTION: "Succeeded!"
after_script:
# Cleanup scratch space
- rm -rfv $LOCAL_DATA_PATH
......@@ -154,5 +152,4 @@ benchmarks:physics:failure:
extends: .status
variables:
STATE: "failure"
DESCRIPTION: "Failed!"
when: on_failure
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment