aboutsummaryrefslogtreecommitdiff
path: root/tcwg-llvm-staged-build.yaml
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2017-04-24 16:31:19 +0100
committerRenato Golin <renato.golin@linaro.org>2017-04-24 16:31:19 +0100
commitd2d8ad7d095f4d6e2c2df3aa3ece53e613b8b603 (patch)
treeea70179f8d50615d3775eeec23d2980973bc90f5 /tcwg-llvm-staged-build.yaml
parent38df67f3f488549f2083756bdf54400a2ff1525d (diff)
tcwg-llvm-staged-build.yaml: Reduce weight, change queue
Reducing the weight of LLVM jobs to 1, so that we can use more builders in the extended queue, including old builders. Change-Id: Id4f253c95f1adec63c8dc714066db63a06f68995
Diffstat (limited to 'tcwg-llvm-staged-build.yaml')
-rw-r--r--tcwg-llvm-staged-build.yaml12
1 files changed, 3 insertions, 9 deletions
diff --git a/tcwg-llvm-staged-build.yaml b/tcwg-llvm-staged-build.yaml
index 863fd120..7f47f2de 100644
--- a/tcwg-llvm-staged-build.yaml
+++ b/tcwg-llvm-staged-build.yaml
@@ -13,8 +13,6 @@
- build-discarder:
days-to-keep: 10
num-to-keep: 10
- - heavy-job:
- weight: 3
parameters:
- string:
name: revision
@@ -36,12 +34,8 @@
name: testsuite
default: false
description: 'Whether or not to trigger a test-suite with this build.'
- - string:
- name: weight
- default: '3'
- description: 'Container weight, controls limits on memory, pids, cpu.'
disabled: false
- node: tcwg-x86_64-build
+ node: tcwg-x86_64-cam
retry-count: 3
concurrent: true
display-name: 'TCWG LLVM Staged Build'
@@ -75,7 +69,7 @@
# Start build container
builder=$(${WORKSPACE}/nodename2hostname.sh $NODE_NAME)
builder_arch=amd64
- bash ${WORKSPACE}/start-container-docker.sh --arch ${builder_arch} --distro ${build_container_tag} --session-host ${builder} --weight ${weight} > build-container.sh
+ bash ${WORKSPACE}/start-container-docker.sh --arch ${builder_arch} --distro ${build_container_tag} --session-host ${builder} --weight 1 > build-container.sh
# Define CONTAINER, CONTAINER_CLEANUP, session_host and session_port
. ./build-container.sh
@@ -90,7 +84,7 @@
fi
# Setup job parameters and run
- linkjobs=$((weight*7))
+ linkjobs=7
${BUILD_CONTAINER} "cd ${WORKSPACE} && bash -x ${WORKSPACE}/tcwg-llvm-build.sh \
--workspace=${WORKSPACE} \
--buildid=${BUILD_ID} \