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

rm status reporting jobs

parent 2e176c8c
No related branches found
No related tags found
No related merge requests found
Pipeline #53916 failed
......@@ -15,35 +15,9 @@ default:
dotenv: juggler.env
stages:
- status-pending
- config
- initialize
- status-running
- status-report
.status:
script:
- |
if [ -n "${GITHUB_SHA}" ] ; then
curl \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${GITHUB_REPO_STATUS_TOKEN}" \
"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/detector_benchmarks ('"$DETECTOR_CONFIG"')"
}' ;
fi
benchmarks:detector:pending:
stage: status-pending
extends: .status
variables:
STATE: "pending"
DESCRIPTION: "Started..."
when: always
- running
common:setup:
stage: config
......@@ -111,24 +85,8 @@ common:benchmarks:
- git -C ${LOCAL_DATA_PATH}/benchmarks checkout ${GITHUB_REF}
benchmarks:running:
stage: status-running
stage: running
needs: ["common:benchmarks"]
trigger:
include:
- local: '/scratch/${CI_PROJECT_NAME}_${CI_PIPELINE_ID}/benchmarks/config.yml'
benchmarks:detector:success:
stage: status-report
extends: .status
variables:
STATE: "success"
DESCRIPTION: "Succeeded!"
when: on_success
benchmarks:detector:failure:
stage: status-report
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