Lachlan pushed to branch lachlanmackenzie/trigger-benchmark-tests at BuildStream / buildstream
Commits:
- 
c24e35a3
by Lachlan Mackenzie at 2018-11-02T18:05:32Z
1 changed file:
Changes:
| ... | ... | @@ -9,6 +9,7 @@ stages: | 
| 9 | 9 |    - prepare
 | 
| 10 | 10 |    - test
 | 
| 11 | 11 |    - post
 | 
| 12 | +  - benchmark
 | |
| 12 | 13 |  | 
| 13 | 14 |  #####################################################
 | 
| 14 | 15 |  #                  Prepare stage                    #
 | 
| ... | ... | @@ -298,3 +299,17 @@ pages: | 
| 298 | 299 |    - master
 | 
| 299 | 300 |    except:
 | 
| 300 | 301 |    - schedules
 | 
| 302 | + | |
| 303 | +# Trigger benchmarking
 | |
| 304 | +# https://gitlab.com/BuildStream/benchmarks
 | |
| 305 | + | |
| 306 | +trigger_benchmark:
 | |
| 307 | +  stage: benchmark
 | |
| 308 | +  dependencies:
 | |
| 309 | +  - pages
 | |
| 310 | +  script:
 | |
| 311 | +    - "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"
 | |
| 312 | +  only:
 | |
| 313 | +    refs:
 | |
| 314 | +      - master
 | |
| 315 | +  allow_failure: true | 
