path: root/tcwg-buildapp.yaml
diff options
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-05-02 09:18:02 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-05-04 15:23:10 +0000
commite4855226b5a5b4ae6a1fa263bb92109a33bd43cb (patch)
treed8eae11a07ac0b24f0d423e5e9a65942f24fc786 /tcwg-buildapp.yaml
parentc1bd4755426662da0a3fb511bff174597b367499 (diff)
tcwg-*: Switch all matrix and multijob jobs to tcwg-coordinator
This change makes all TCWG matrix and multijob "coordination" jobs to run on tcwg-coordinator label. The "coordination" jobs do not consume significant resources and just wait for other jobs to finish. In case of matrix jobs these are "flyweight" jobs, and all TCWG multijobs behave similarly. Another benefit from this change is that git checkouts for "coordination" jobs will no longer be mixed with workspaces of matrix sub-builds of the same jobs, if sub-builds happen to start on the same node as coordination job. This has been auto-generated with the following script $ cat > tcwg-coordinator.sh <<EOF for f in tcwg-*.yaml; do type=$(grep "project-type" $f | sed -e "s/.*: //") case $f in tcwg-bkk16-buildfarm-benchmark.yaml) continue ;; esac case $type in freestyle) continue ;; matrix|multijob) sed -e "s/ node:.*/ node: tcwg-coordinator/" -i $f ;; *) echo "ERROR: Wrong job type: $type"; exit 1 ;; esac done EOF Change-Id: I216abbf903537da2c2bfd3f6d5a1fbf6b8fe4877
Diffstat (limited to 'tcwg-buildapp.yaml')
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-buildapp.yaml b/tcwg-buildapp.yaml
index 440fba53d..eb2b71180 100644
--- a/tcwg-buildapp.yaml
+++ b/tcwg-buildapp.yaml
@@ -39,7 +39,7 @@
default: master
description: 'Jenkins-scripts branch to use'
disabled: false
- node: tcwg-x86_64-build
+ node: tcwg-coordinator
child-workspace: $target/$app
concurrent: true
display-name: 'TCWG ZZZ BuildApp'