- job: name: lt-qcom-debian-images-tracking-arm64 project-type: freestyle defaults: global logrotate: daysToKeep: 30 numToKeep: 30 properties: - authorization: anonymous: - job-read - job-extended-read - job-workspace linaro-landing-team-qualcomm-personnel: - job-build - job-cancel parameters: - string: name: BUNDLE_STREAM_NAME default: '/public/team/linaro/lt-qualcomm-tracking/' - string: name: DEVICE_TYPE default: 'apq8016-sbc' - string: name: LAVA_SERVER default: 'validation.linaro.org/RPC2/' - string: name: VENDOR default: 'linaro' - string: name: OS_FLAVOUR default: 'jessie' - string: name: PLATFORM_NAME default: 'qcom-snapdragon-arm64' - string: name: ROOTFS default: 'developer,arm64,1800M alip,arm64,1800M' - string: name: SERIAL_CONSOLE default: 'ttyMSM0' - string: name: KERNEL_BRANCH default: 'integration-linux-qcomlt' - string: name: QCOM_FIRMWARE default: 'http://builds.96boards.org/snapshots/dragonboard410c/binaries/20161003/linux-board-support-package-v1.4.zip' - string: name: QCOM_FIRMWARE_MD5 default: 'c93ddb1165f0e23123a02ac3c952f932' - password: name: PRIVATE_KEY default: ${LT_QUALCOMM_PRIVATE_KEY} disabled: false node: docker-jessie-amd64 display-name: 'Qualcomm Debian based images for Snapdragon 410 (tracking branch)' scm: - git: url: https://git.linaro.org/landing-teams/working/qualcomm/kernel.git refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH} name: origin branches: - refs/heads/${KERNEL_BRANCH} skip-tag: true shallow-clone: true wipe-workspace: false wrappers: - timestamps - build-name: name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' builders: - linaro-publish-token - shell: !include-raw: lt-qcom-debian-images-tracking-arm64/builders.sh - shell: | VERSION=`date +%Y%m%d`-${BUILD_NUMBER} export BOOT_URL=http://snapshots.linaro.org/debian/pre-built/snapdragon-tracking-arm64/${BUILD_NUMBER}/boot-${VENDOR}-${OS_FLAVOUR}-${PLATFORM_NAME}-${VERSION}.img.gz export ROOTFS_BUILD_URL=http://snapshots.linaro.org/debian/pre-built/snapdragon-tracking-arm64/${BUILD_NUMBER}/${VENDOR}-${OS_FLAVOUR}-developer-${PLATFORM_NAME}-${VERSION}.img.gz rm -rf configs lci-build-tools git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git git clone --depth 1 http://git.linaro.org/ci/job/configs.git ./lci-build-tools/yaml-to-json.py configs/${JOB_NAME}/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json cat << EOF > post_build_lava_parameters DEVICE_TYPE=${DEVICE_TYPE} BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json LAVA_SERVER=${LAVA_SERVER} EOF - trigger-builds: - project: 'post-build-lava' property-file: post_build_lava_parameters block: true - shell: | VERSION=`date +%Y%m%d`-${BUILD_NUMBER} export BOOT_URL=http://snapshots.linaro.org/debian/pre-built/snapdragon-tracking-arm64/${BUILD_NUMBER}/boot-${VENDOR}-${OS_FLAVOUR}-${PLATFORM_NAME}-${VERSION}.img.gz export ROOTFS_BUILD_URL=http://snapshots.linaro.org/debian/pre-built/snapdragon-tracking-arm64/${BUILD_NUMBER}/${VENDOR}-${OS_FLAVOUR}-developer-${PLATFORM_NAME}-${VERSION}.img.gz ./lci-build-tools/yaml-to-json.py configs/${JOB_NAME}/lava-job-definitions/${DEVICE_TYPE}/template-ltp.yaml > custom_lava_job_definition_ltp.json cat << EOF > post_build_lava_parameters DEVICE_TYPE=${DEVICE_TYPE} BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition_ltp.json LAVA_SERVER=${LAVA_SERVER} EOF - trigger-builds: - project: 'post-build-lava' property-file: post_build_lava_parameters block: true publishers: - email: recipients: 'nicolas.dechesne@linaro.org fathi.boudra@linaro.org srinivas.kandagatla@linaro.org' - ircbot: channels: - name: '#linaro-lt-qcomm' password: ${LT_QCOM_KEY}