You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:46:01 UTC

[buildstream] branch lachlanmackenzie/trigger-benchmark-tests created (now a81986b)

This is an automated email from the ASF dual-hosted git repository.

not-in-ldap pushed a change to branch lachlanmackenzie/trigger-benchmark-tests
in repository https://gitbox.apache.org/repos/asf/buildstream.git.


      at a81986b  Add trigger for benchmarking

This branch includes the following new commits:

     new a81986b  Add trigger for benchmarking

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[buildstream] 01/01: Add trigger for benchmarking

Posted by no...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

not-in-ldap pushed a commit to branch lachlanmackenzie/trigger-benchmark-tests
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit a81986bb7b0f8d7f7a6b955b47a2003092f938d6
Author: Lachlan Mackenzie <la...@codethink.co.uk>
AuthorDate: Wed Oct 31 19:39:51 2018 +0000

    Add trigger for benchmarking
---
 .gitlab-ci.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 02a803d..74299d2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,7 @@ stages:
   - prepare
   - test
   - post
+  - benchmark
 
 #####################################################
 #                  Prepare stage                    #
@@ -298,3 +299,22 @@ pages:
   - master
   except:
   - 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