aboutsummaryrefslogtreecommitdiff
path: root/linux-linaro-tracking-mainline-ilp32.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'linux-linaro-tracking-mainline-ilp32.yaml')
-rw-r--r--linux-linaro-tracking-mainline-ilp32.yaml174
1 files changed, 0 insertions, 174 deletions
diff --git a/linux-linaro-tracking-mainline-ilp32.yaml b/linux-linaro-tracking-mainline-ilp32.yaml
deleted file mode 100644
index ecc70e25e5..0000000000
--- a/linux-linaro-tracking-mainline-ilp32.yaml
+++ /dev/null
@@ -1,174 +0,0 @@
-- job:
- name: linux-linaro-tracking-mainline-ilp32
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- parameters:
- - string:
- name: BUNDLE_STREAM_NAME
- default: '/public/team/linaro/ilp32/'
- - string:
- name: DEVICE_TYPE
- default: 'juno'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://git.linaro.org/people/andrey.konovalov/linux-linaro-tracking.git
- refspec: +refs/heads/ILP32-patchset-v6-2015.11.18:refs/remotes/origin/ILP32-patchset-v6-2015.11.18
- name: origin
- branches:
- - refs/heads/ILP32-patchset-v6-2015.11.18
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- axes:
- - axis:
- type: user-defined
- name: abi
- values:
- - ilp32
- - lp64
- - axis:
- type: slave
- name: label
- values:
- - docker-xenial-amd64
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- - matrix-tie-parent:
- node: build
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf lci-build-tools
- rm -rf linaro
- rm -rf linaro-configs
- rm -rf builddir*
- rm -rf out
- rm -f linux-*.deb
- }
-
- sudo apt-get update
- sudo apt-get install -y python-requests python-beautifulsoup python-html2text
-
- export LANG=C
- export make_bootwrapper=false
- export make_install=true
- export hwpack_type="vexpress64"
- export kernel_flavour="vexpress64"
- export use_config_fragment=1
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/linaro-base64.conf linaro/configs/distribution.conf linaro/configs/kvm-guest.conf linaro/configs/kvm-host.conf linaro/configs/vexpress64.conf linaro/configs/workaround.conf"
- export MAKE_DTBS=true
- export make_bootwrapper=false
- export ARCH=arm64
- export tcbindir="${HOME}/srv/toolchain/arm64-tc-14.11/bin"
- export toolchain_url="http://releases.linaro.org/14.11/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu.tar.xz"
-
- test -d linaro-configs || git clone -b config-tracking --depth 1 https://git.linaro.org/kernel/configs.git linaro-configs
- test -h linaro || ln -s linaro-configs/linaro
-
- echo "# CONFIG_FTRACE is not set" > linaro/configs/workaround.conf
- [ "${abi}" = "ilp32" ] && echo "CONFIG_AARCH32_EL0=y" >> linaro/configs/workaround.conf
- [ "${abi}" = "ilp32" ] && echo "CONFIG_ARM64_ILP32=y" >> linaro/configs/workaround.conf
-
- test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/ci/lci-build-tools.git
- bash -x lci-build-tools/jenkins_kernel_build_inst
-
- mv hwpack_linaro-${hwpack_type}* out/
-
- cat << EOF > out/startup.nsh
- fs3:\Image dtb=juno\juno.dtb console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/sda5 rootwait rootfstype=ext4 rw verbose debug uefi_debug ignore_loglevel
- EOF
-
- # These tests seem to hang in ILP32
- cat << EOF >> out/skipfile-ilp32
- msgctl07
- msgrcv01
- msgrcv02
- msgrcv03
- msgrcv04
- msgrcv05
- msgrcv06
- msgrcv07
- msgsnd01
- EOF
-
- # Publish to snapshots
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- python ${HOME}/bin/linaro-cp.py out kernel-hwpack/linux-linaro-tracking-mainline-ilp32/${abi}/${BUILD_NUMBER}
-
- KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-tracking-mainline-ilp32/${abi}/${BUILD_NUMBER}"
- HWPACK_BUILD_URL="${KERNEL_URL}/`ls out/hwpack_linaro-${hwpack_type}*.tar.gz |xargs basename`"
- STARTUP_NSH="${KERNEL_URL}/startup.nsh"
-
- # Create post-build-lava parameters
- 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}
- KERNEL_URL=${KERNEL_URL}
- HWPACK_BUILD_URL=${HWPACK_BUILD_URL}
- STARTUP_NSH=${STARTUP_NSH}
- hwpack_type=${hwpack_type}
- EOF
- - inject:
- properties-file: post_build_lava_parameters
- - shell: |
- rootfs="lamp"
- export rootfs_type="lamp-armv8-gcc-4.9"
- [ "${abi}" = "ilp32" ] && {
- rootfs="minimal"
- rootfs_ext="-ltp"
- export rootfs_type="minimal-ltp-armv8-ilp32-gcc-4.9"
- img_abi="-ilp32"
- }
-
- export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv8${img_abi}-rootfs/gcc_version=4.9,label=build,rootfs=${rootfs}${rootfs_ext}/lastSuccessfulBuild/buildNumber`
- export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv8${img_abi}-rootfs/gcc_version=4.9,label=build,rootfs=${rootfs}${rootfs_ext}/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd`
- export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/${rootfs_type}/${ROOTFS_BUILD_NUMBER}/linaro-image-${rootfs}${rootfs_ext}-genericarmv8${img_abi}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.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/linux-linaro-tracking-mainline-ilp32/lava-job-definitions/${DEVICE_TYPE}/template-efi.yaml > custom_lava_job_definition.json
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- publishers:
- - email:
- recipients: 'andrey.konovalov@linaro.org'