Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
buildstream
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
Container registry
Model registry
Operate
Environments
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
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
BuildStream
buildstream
Commits
a81986bb
You need to sign in or sign up before continuing.
Commit
a81986bb
authored
6 years ago
by
Lachlan
Browse files
Options
Downloads
Patches
Plain Diff
Add trigger for benchmarking
parent
c7ac7e7d
No related branches found
No related tags found
Loading
Pipeline
#35254211
passed
6 years ago
Stage: prepare
Stage: test
Stage: post
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+20
-0
20 additions, 0 deletions
.gitlab-ci.yml
with
20 additions
and
0 deletions
.gitlab-ci.yml
+
20
−
0
View file @
a81986bb
...
@@ -9,6 +9,7 @@ stages:
...
@@ -9,6 +9,7 @@ stages:
-
prepare
-
prepare
-
test
-
test
-
post
-
post
-
benchmark
#####################################################
#####################################################
# Prepare stage #
# Prepare stage #
...
@@ -298,3 +299,22 @@ pages:
...
@@ -298,3 +299,22 @@ pages:
-
master
-
master
except
:
except
:
-
schedules
-
schedules
# Trigger benchmarking
# https://gitlab.com/BuildStream/benchmarks
# The "token" is a trigger token provided by the gitlab ui.
# The "ref" represents the target benchmarking branch (master).
# The "variable[BUILDSTREAM_COMMIT_SHA]" allows the Buildstream
# sha commit that triggers the benchmarking build to be shared
# with the benchmark build (future use).
trigger_benchmark
:
stage
:
benchmark
dependencies
:
-
pages
script
:
-
"
curl
request
POST
--form
token=7cf84951174c387bc23d0afbb1acad
--form
ref=master
--form
variables[BUILDSTREAM_COMMIT_SHA]=$CI_COMMIT_SHA
https://gitlab.com/api/v4/projects/BuildStream%2Fbenchmarks/trigger/pipeline"
only
:
refs
:
-
master
allow_failure
:
true
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment