Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
physics_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
physics_benchmarks
Merge requests
!172
feat: add github status report jobs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: add github status report jobs
github-status-reporting
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Wouter Deconinck
requested to merge
github-status-reporting
into
master
2 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
version 1
fb70c25c
2 years ago
master (base)
and
latest version
latest version
542f70fd
2 commits,
2 years ago
version 1
fb70c25c
1 commit,
2 years ago
1 file
+
47
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
47
−
0
Options
@@ -21,6 +21,7 @@ default:
dotenv
:
juggler.env
stages
:
-
status-pending
-
config
-
initialize
-
compile
@@ -30,6 +31,32 @@ stages:
-
analyze
-
collect
-
finish
-
status-report
.status
:
before_script
:
[]
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}"'",
"context":"eicweb/physics_benchmarks"
}' ;
fi
benchmarks:physics:pending
:
stage
:
status-pending
extends
:
.status
variables
:
STATE
:
"
pending"
DESCRIPTION
:
"
The
physics
benchmarks
are
running..."
when
:
always
common:setup
:
stage
:
config
@@ -99,3 +126,23 @@ summary:
-
results/*
# reports:
# junit: ["results/dvcs/report2.xml"]
benchmarks:physics:success
:
stage
:
status-report
needs
:
-
[
"
summary"
]
extends
:
.status
variables
:
STATE
:
"
success"
DESCRIPTION
:
"
The
physics
benchmarks
succeeded!"
when
:
on_success
benchmarks:physics:failure
:
stage
:
status-report
needs
:
-
[
"
summary"
]
extends
:
.status
variables
:
STATE
:
"
failure"
DESCRIPTION
:
"
The
physics
benchmarks
failed!"
when
:
on_failure
Loading