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
GitLab 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
Expand sidebar
Merged
feat: add github status report jobs
github-status-reporting
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
feat: add github status report jobs
Wouter Deconinck
requested to merge
github-status-reporting
into
master
Aug 16, 2022
Overview
0
Commits
2
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
master
version 1
fb70c25c
Aug 16, 2022
master (base)
and
version 1
latest version
542f70fd
2 commits,
Aug 16, 2022
version 1
fb70c25c
1 commit,
Aug 16, 2022
1 file
+
46
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
46
−
0
View file @ fb70c25c
Edit in single-file editor
Open in Web IDE
Show full file
@@ -21,6 +21,7 @@ default:
dotenv
:
juggler.env
stages
:
-
status-pending
-
config
-
initialize
-
compile
@@ -30,6 +31,31 @@ stages:
-
analyze
-
collect
-
finish
-
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}"'",
"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 +125,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