- job: name: ubuntu-armhf-pre-built-images project-type: matrix defaults: global logrotate: daysToKeep: 30 numToKeep: 30 properties: - authorization: anonymous: - job-read - job-extended-read linaro: - job-build - job-cancel disabled: true node: build display-name: 'Linaro Ubuntu pre-built images (armhf)' scm: - git: url: git://git.linaro.org/ci/pre-built-images.git refspec: +refs/heads/master:refs/remotes/origin/master name: origin branches: - refs/heads/master skip-tag: true shallow-clone: true wipe-workspace: false axes: - axis: type: user-defined name: hwpack values: - arndale - lsk-vexpress - panda - vexpress - axis: type: slave name: label values: - docker-xenial-amd64 execution-strategy: sequential: true wrappers: - timestamps - matrix-tie-parent: node: build builders: - copyartifact: project: ubuntu-armhf-rootfs filter: 'out/linaro-vivid-*.tar.gz' target: artifacts - copyartifact: project: ubuntu-armhf-hwpacks/hwpack=${hwpack},label=build filter: 'out/hwpack_linaro-${hwpack}*.tar.gz' target: artifacts parameter-filters: 'hwpack=${hwpack},label=build' - shell: | #!/bin/bash test -d out || mkdir out sudo mount -t tmpfs -o size=6G tmpfs out case "${hwpack}" in snowball) # XXX Hook to accept ST-Ericsson Limited License Agreement export LIT="lp:~fboudra/linaro-image-tools/ste-license-agreement" ;; lsk-vexpress|vexpress) export BOOTLOADER="uefi" ;; esac export PYTHONUNBUFFERED=1 export HWPACK_JOB_NAME="${JOB_NAME}" export TMPDIR="${WORKSPACE}/out" case "${hwpack}" in arndale|arndale-octa|highbank|midway|lsk-vexpress|panda|snowball|vexpress) export ROOTFS_TYPE="developer nano" python pre-built-images.py ${hwpack} -b developer -b nano ;; esac - ssh: site: 'snapshots.linaro.org' target: '${JOB_NAME}/${BUILD_NUMBER}' source: 'out/**/*.txt, out/**/*.img.gz*' 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 - shell: | #!/bin/bash export PYTHONUNBUFFERED=1 export HWPACK_JOB_NAME="${JOB_NAME}" case "${hwpack}" in arndale|arndale-octa|highbank|midway) export DEVICE_TYPE=${hwpack} ;; panda) export DEVICE_TYPE=panda-es export ROOTFS_TYPE=developer export HWPACK_FILE_NAME=`find out -type f -name '*_developer_*.img.gz' |xargs basename` export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2` export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz} python lava-submit.py export ROOTFS_TYPE=nano export HWPACK_FILE_NAME=`find out -type f -name '*_nano_*.img.gz' |xargs basename` export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2` export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz} python lava-submit.py export DEVICE_TYPE=panda ;; snowball) export DEVICE_TYPE=snowball_sd ;; lsk-vexpress) export DEVICE_TYPE=vexpress-a9 ;; vexpress) export DEVICE_TYPE=vexpress-a9 ;; esac case "${hwpack}" in arndale|arndale-octa|highbank|lsk-vexpress|midway|panda|snowball|vexpress) export ROOTFS_TYPE=developer export HWPACK_FILE_NAME=`find out -type f -name '*_developer_*.img.gz' |xargs basename` export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2` export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz} python lava-submit.py export ROOTFS_TYPE=nano export HWPACK_FILE_NAME=`find out -type f -name '*_nano_*.img.gz' |xargs basename` export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2` export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz} python lava-submit.py ;; esac sudo umount out - ssh: site: 'snapshots.linaro.org' target: '${JOB_NAME}/${BUILD_NUMBER}/vivid' source: 'out/**/*.html' 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 publishers: - email: recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org'