aboutsummaryrefslogtreecommitdiff
path: root/openembedded-x86-pre-built-images.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-02-23 19:03:45 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2015-02-23 19:03:45 +0200
commit2209c2a60835ec2e07dec732b97028634ba1f3c9 (patch)
tree7e062b32f621ed0d2fb3d90b615dead3eb9a0da1 /openembedded-x86-pre-built-images.yaml
parent357dcf6b582437c7b771467f3d8fc599020c8d96 (diff)
openembedded-*-pre-built-images*: add job configurations for OE pre-built images
Change-Id: I2947ba1698bfa556483342d2fce80c086780fecd Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'openembedded-x86-pre-built-images.yaml')
-rw-r--r--openembedded-x86-pre-built-images.yaml105
1 files changed, 105 insertions, 0 deletions
diff --git a/openembedded-x86-pre-built-images.yaml b/openembedded-x86-pre-built-images.yaml
new file mode 100644
index 0000000..ee8bd65
--- /dev/null
+++ b/openembedded-x86-pre-built-images.yaml
@@ -0,0 +1,105 @@
+- job:
+ name: openembedded-x86-pre-built-images
+ project-type: matrix
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ disabled: false
+ node: build
+ child-workspace: .
+ display-name: 'OpenEmbedded pre-built images (x86)'
+ axes:
+ - axis:
+ type: slave
+ name: label
+ values:
+ - build
+ - axis:
+ type: user-defined
+ name: gcc_version
+ values:
+ - 4.9
+ - axis:
+ type: user-defined
+ name: MACHINE
+ values:
+ - lng-x86-64
+ - lng-rt-x86-64
+ execution-strategy:
+ sequential: true
+ wrappers:
+ - timestamps
+ - matrix-tie-parent:
+ node: build
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ set -x
+
+ export PATH="$HOME/bin:$PATH"
+
+ # we clean build and populate it from cache
+ bash -x pre-build-do-cleanup.sh
+
+ # do a build
+ bash -x init-and-build.sh -a x86 -g ${gcc_version} virtual/kernel
+
+ cd ${WORKSPACE}
+
+ bash -x post-build-create-image-manifest.sh
+ bash -x post-build-sort-out-downloads.sh
+
+ # Capture what we're building in the build output.
+ repo manifest -r
+
+ cat << EOF > out/BUILD-INFO.txt
+ Format-Version: 0.5
+
+ Files-Pattern: *
+ License-Type: open
+ EOF
+
+ cat << EOF > downloads/BUILD-INFO.txt
+ Format-Version: 0.5
+
+ Files-Pattern: *
+ License-Type: open
+ EOF
+ - ssh:
+ site: 'snapshots.linaro.org'
+ target: '${JOB_NAME}/${BUILD_NUMBER}/openembedded/pre-built/${MACHINE}/${BUILD_NUMBER}'
+ source: 'out/**'
+ timeout: 120000
+ remove-prefix: 'out'
+ always-publish-from-master: true
+ - ssh:
+ site: 'snapshots.linaro.org file-move'
+ target: ''
+ source: ''
+ command: 'reshuffle-files --job-type prebuilt --job-name ${JOB_NAME} --build-num ${BUILD_NUMBER}'
+ timeout: 120000
+ always-publish-from-master: true
+ - ssh:
+ site: 'snapshots.linaro.org'
+ target: '/openembedded/sources'
+ source: 'downloads/**'
+ timeout: 120000
+ remove-prefix: 'downloads'
+ always-publish-from-master: true
+ - ssh:
+ site: 'snapshots.linaro.org file-move'
+ target: ''
+ source: ''
+ command: 'reshuffle-files --job-type openembedded --job-name sources --build-num 1'
+ timeout: 120000
+ always-publish-from-master: true
+ publishers:
+ - email:
+ recipients: 'anders.roxell@linaro.org fathi.boudra@linaro.org koen.kooi@linaro.org riku.voipio@linaro.org trevor.woerner@linaro.org'