aboutsummaryrefslogtreecommitdiff
path: root/tcwg-benchmark-release.yaml
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-05-22 09:57:46 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-05-22 10:26:23 +0000
commit150a62fd6c670e804a6368e7fd10036910b75b5f (patch)
treef8f940e2fc823c9c63bcddbe85ec47a6746b0467 /tcwg-benchmark-release.yaml
parentdf1011bacd80629d74898a76f272b35cdc3a0e6b (diff)
downloadconfigs-150a62fd6c670e804a6368e7fd10036910b75b5f.tar.gz
tcwg-benchmark-release: New job to benchmark release
Change-Id: I1a15abdb8567e72183430db38893761edead9e53
Diffstat (limited to 'tcwg-benchmark-release.yaml')
-rw-r--r--tcwg-benchmark-release.yaml68
1 files changed, 68 insertions, 0 deletions
diff --git a/tcwg-benchmark-release.yaml b/tcwg-benchmark-release.yaml
new file mode 100644
index 000000000..d4a24b804
--- /dev/null
+++ b/tcwg-benchmark-release.yaml
@@ -0,0 +1,68 @@
+- job:
+ name: tcwg-benchmark-release
+ project-type: matrix
+ defaults: global
+ properties:
+ - authorization:
+ linaro:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 100
+ parameters:
+ - string:
+ name: release_url
+ default: 'http://releases.linaro.org/components/toolchain/binaries/latest'
+ description: 'Release URL'
+ - string:
+ name: target_list
+ default: 'aarch64-linux-gnu armv8l-linux-gnueabihf arm-linux-gnueabi arm-linux-gnueabihf'
+ description: 'List of targets'
+ disabled: false
+ node: tcwg-coordinator
+ concurrent: true
+ display-name: 'TCWG ZZZ Benchmark Release'
+ axes:
+ - axis:
+ type: slave
+ name: label
+ values:
+ - tcwg-coordinator
+ - axis:
+ type: dynamic
+ name: target
+ values:
+ - target_list
+ execution-strategy:
+ sequential: false
+ wrappers:
+ - timeout:
+ timeout: 600
+ - timestamps
+ - ssh-agent-credentials:
+ users:
+ - 'tcwg-benchmark'
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ set -ex
+
+ # Note that armv8l-linux-gnueabihf will not match "arm-"*, and will run on tx1.
+ case "$target" in
+ "arm-"*) board="tk1" ;;
+ *) board="tx1" ;;
+ esac
+
+ cat > params <<EOF
+ target_list=$board
+ EOF
+ - trigger-builds:
+ - project: 'tcwg-benchmark-christophe'
+ predefined-parameters: |
+ toolchain_url=$release_url/gcc-*-x86_64_$target.tar.xz
+ property-file: params
+ block: true