From 6c2443b06d705f9d5f7a1cce1b25f61d25088b9e Mon Sep 17 00:00:00 2001 From: Riku Voipio Date: Wed, 25 Sep 2019 00:17:39 +0100 Subject: remove deleted jobs from git These jobs were originally attemted to be deleted by Vishal in https://review.linaro.org/c/ci/job/configs/+/31725 The job failed due to renaming issues. It was fixed and the jobs were removed for real in https://ci.linaro.org/job/trigger-ci-job-configs/9687/console Now that the jobs are really gone, remove them from git too. Signed-off-by: Riku Voipio Change-Id: I069575498773a94ee5033f27feefea59fa00d8b6 --- 96boards-reference-centos-installer-staging.yaml | 96 ---- 96boards-reference-centos-installer.yaml | 96 ---- 96boards-reference-debian-installer-staging.yaml | 103 ---- 96boards-reference-debian-installer.yaml | 97 ---- 96boards-reference-grub-efi-arm64.yaml | 123 ----- 96boards-reference-kernel-enterprise.yaml | 66 --- android-tv-hikey-n.yaml | 81 --- .../hikey/build-info/aosp-master-template.txt | 96 ---- android-tv/hikey/builders.sh | 86 --- android-tv/hikey/builders.yaml.inc | 14 - bridge-nfsroot.yaml | 69 --- build-docker-rpm.yaml | 54 -- build-kernel-rpm.yaml | 48 -- check-lava-status.yaml | 80 --- ci-dockerfiles-base.yaml | 75 --- ci-dockerfiles-manifests.yaml | 36 -- ci-dockerfiles-manifests/builders.sh | 33 -- compass-cobbler.yaml | 47 -- compass-db.yaml | 47 -- compass-deck.yaml | 47 -- compass-flannel-cni.yaml | 47 -- compass-mq.yaml | 47 -- compass-tasks.yaml | 65 --- compass/compass-cobbler.sh | 17 - compass/compass-db.sh | 17 - compass/compass-deck.sh | 17 - compass/compass-flannel-cni.sh | 17 - compass/compass-mq.sh | 17 - compass/compass-tasks.sh | 20 - coresight.yaml | 154 ------ davidb-mcuboot.yaml | 71 --- davidb-mcuboot/builders.sh | 79 --- debian-arm64-rootfs.yaml | 94 ---- debian-armhf-rootfs.yaml | 92 ---- debian-x86-rootfs.yaml | 82 --- k8s-auxiliary.yaml | 47 -- k8s/builders.sh | 22 - kselftest.yaml | 72 --- kselftest/builders.sh | 68 --- lava-debian-busybox-armhf-initramfs.yaml | 67 --- lava-debian-jessie-arm64.yaml | 77 --- lava-debian-jessie-armmp-armhf.yaml | 79 --- lava-debian-large-stretch-amd64-vm.yaml | 109 ---- lava-debian-stable-amd64-vm.yaml | 107 ---- lava-debian-stretch-amd64-vm.yaml | 108 ---- lava-debian-stretch-arm64.yaml | 99 ---- lava-debian-stretch-armmp-armhf.yaml | 79 --- ldcg-cloud-image-debian.yaml | 42 -- ldcg-cloud-image/debian/builders.sh | 82 --- ldcg-cloud-image/debian/preseed.cfg | 76 --- leg-docker-registry-image.yaml | 38 -- leg-docker-registry-image/build.sh | 25 - leg-kolla-queens-ldc.yaml | 70 --- leg-kolla-queens.yaml | 62 --- linaro-edk2-prep.yaml | 581 --------------------- linaro-edk2.yaml | 340 ------------ linux-arm-soc-for-next.yaml | 134 ----- linux-ilp32.yaml | 54 -- linux-linaro-stable-lsk-v3.18-pre-merge.yaml | 304 ----------- linux-linaro-stable-lsk-v3.18-rt-pre-merge.yaml | 159 ------ linux-linaro-stable-lsk-v3.18-rt.yaml | 159 ------ linux-linaro-stable-lsk-v3.18.yaml | 304 ----------- linux-linaro-stable-lsk-v4.1-pre-merge.yaml | 304 ----------- linux-linaro-stable-lsk-v4.1-rt.yaml | 159 ------ linux-linaro-stable-lsk-v4.1.yaml | 304 ----------- linux-ltsi.yaml | 131 ----- linux-mainline.yaml | 134 ----- linux-next.yaml | 134 ----- linux-stable.yaml | 133 ----- milo-kbuilder.yaml | 235 --------- milo-kernel-build-complete.yaml | 55 -- netlib-java.yaml | 45 -- netlib-java/builder.sh | 78 --- odp-dpdk-ofp-nginx-httperf.yaml | 55 -- odpi-bigtop-deb.yaml | 162 ------ odpi-bigtop-hadoop-rpm.yaml | 53 -- odpi-bigtop-hive-rpm.yaml | 53 -- odpi-bigtop-rpm.yaml | 27 - odpi-bigtop-rpm/common/builders.sh | 96 ---- odpi-bigtop-rpm/hadoop/builders.sh | 7 - odpi-bigtop-rpm/hive/builders.sh | 9 - odpi-bigtop-rpm/spark/builders.sh | 11 - odpi-bigtop-spark-rpm.yaml | 53 -- ...embedded-armv8-pre-built-images-vexpress64.yaml | 228 -------- qa-check-web-links.yaml | 51 -- qa-kvm-image-ubuntu.yaml | 27 - rpb-debian-installer/builders.sh | 88 ---- rpb-debian-installer/stable/default-preseed.cfg | 11 - rpb-debian-installer/staging/default-preseed.cfg | 11 - rpb-kernel-latest-metapackage.yaml | 81 --- rpb-reference-kernel-rpm.yaml | 100 ---- sid-arm64-rootfs.yaml | 117 ----- sid-armhf-rootfs.yaml | 117 ----- stretch-arm64-rootfs.yaml | 123 ----- trigger-96boards-bubblegum-u-boot.yaml | 34 -- trigger-96boards-bubblegum.yaml | 34 -- trigger-96boards-helium-u-boot.yaml | 34 -- trigger-96boards-helium.yaml | 34 -- trigger-96boards-hikey-atf.yaml | 34 -- trigger-96boards-hikey-mainline-rebase.yaml | 34 -- trigger-coresight.yaml | 46 -- trigger-idlestat.yaml | 73 --- trigger-linux-arm-soc-for-next.yaml | 52 -- trigger-linux-eas.yaml | 46 -- trigger-linux-linaro-tracking-ll-ilp32.yaml | 34 -- trigger-linux-linaro-tracking-ll.yaml | 63 --- trigger-linux-linaro-tracking-llct.yaml | 34 -- trigger-linux-ltsi.yaml | 52 -- trigger-linux-mainline.yaml | 52 -- trigger-linux-next.yaml | 52 -- trigger-linux-stable.yaml | 52 -- trigger-lt-hisilicon-hix5hd2.yaml | 34 -- trigger-oe-recipe-gator.yaml | 54 -- trigger-oe-recipe-kselftests-next.yaml | 69 --- ...ger-openembedded-rootfs-external-toolchain.yaml | 49 -- trigger-stretch-rootfs.yaml | 23 - ubuntu-armhf-hwpacks.yaml | 208 -------- ynk-lof-test.yaml | 64 --- 118 files changed, 10047 deletions(-) delete mode 100644 96boards-reference-centos-installer-staging.yaml delete mode 100644 96boards-reference-centos-installer.yaml delete mode 100644 96boards-reference-debian-installer-staging.yaml delete mode 100644 96boards-reference-debian-installer.yaml delete mode 100644 96boards-reference-grub-efi-arm64.yaml delete mode 100644 96boards-reference-kernel-enterprise.yaml delete mode 100644 android-tv-hikey-n.yaml delete mode 100644 android-tv/hikey/build-info/aosp-master-template.txt delete mode 100755 android-tv/hikey/builders.sh delete mode 100644 android-tv/hikey/builders.yaml.inc delete mode 100644 bridge-nfsroot.yaml delete mode 100644 build-docker-rpm.yaml delete mode 100644 build-kernel-rpm.yaml delete mode 100644 check-lava-status.yaml delete mode 100644 ci-dockerfiles-base.yaml delete mode 100644 ci-dockerfiles-manifests.yaml delete mode 100644 ci-dockerfiles-manifests/builders.sh delete mode 100644 compass-cobbler.yaml delete mode 100644 compass-db.yaml delete mode 100644 compass-deck.yaml delete mode 100644 compass-flannel-cni.yaml delete mode 100644 compass-mq.yaml delete mode 100644 compass-tasks.yaml delete mode 100755 compass/compass-cobbler.sh delete mode 100755 compass/compass-db.sh delete mode 100755 compass/compass-deck.sh delete mode 100755 compass/compass-flannel-cni.sh delete mode 100755 compass/compass-mq.sh delete mode 100755 compass/compass-tasks.sh delete mode 100644 coresight.yaml delete mode 100644 davidb-mcuboot.yaml delete mode 100755 davidb-mcuboot/builders.sh delete mode 100644 debian-arm64-rootfs.yaml delete mode 100644 debian-armhf-rootfs.yaml delete mode 100644 debian-x86-rootfs.yaml delete mode 100644 k8s-auxiliary.yaml delete mode 100755 k8s/builders.sh delete mode 100644 kselftest.yaml delete mode 100755 kselftest/builders.sh delete mode 100644 lava-debian-busybox-armhf-initramfs.yaml delete mode 100644 lava-debian-jessie-arm64.yaml delete mode 100644 lava-debian-jessie-armmp-armhf.yaml delete mode 100644 lava-debian-large-stretch-amd64-vm.yaml delete mode 100644 lava-debian-stable-amd64-vm.yaml delete mode 100644 lava-debian-stretch-amd64-vm.yaml delete mode 100644 lava-debian-stretch-arm64.yaml delete mode 100644 lava-debian-stretch-armmp-armhf.yaml delete mode 100644 ldcg-cloud-image-debian.yaml delete mode 100755 ldcg-cloud-image/debian/builders.sh delete mode 100644 ldcg-cloud-image/debian/preseed.cfg delete mode 100644 leg-docker-registry-image.yaml delete mode 100644 leg-docker-registry-image/build.sh delete mode 100644 leg-kolla-queens-ldc.yaml delete mode 100644 leg-kolla-queens.yaml delete mode 100644 linaro-edk2-prep.yaml delete mode 100644 linaro-edk2.yaml delete mode 100644 linux-arm-soc-for-next.yaml delete mode 100644 linux-ilp32.yaml delete mode 100644 linux-linaro-stable-lsk-v3.18-pre-merge.yaml delete mode 100644 linux-linaro-stable-lsk-v3.18-rt-pre-merge.yaml delete mode 100644 linux-linaro-stable-lsk-v3.18-rt.yaml delete mode 100644 linux-linaro-stable-lsk-v3.18.yaml delete mode 100644 linux-linaro-stable-lsk-v4.1-pre-merge.yaml delete mode 100644 linux-linaro-stable-lsk-v4.1-rt.yaml delete mode 100644 linux-linaro-stable-lsk-v4.1.yaml delete mode 100644 linux-ltsi.yaml delete mode 100644 linux-mainline.yaml delete mode 100644 linux-next.yaml delete mode 100644 linux-stable.yaml delete mode 100644 milo-kbuilder.yaml delete mode 100644 milo-kernel-build-complete.yaml delete mode 100644 netlib-java.yaml delete mode 100755 netlib-java/builder.sh delete mode 100644 odp-dpdk-ofp-nginx-httperf.yaml delete mode 100644 odpi-bigtop-deb.yaml delete mode 100644 odpi-bigtop-hadoop-rpm.yaml delete mode 100644 odpi-bigtop-hive-rpm.yaml delete mode 100644 odpi-bigtop-rpm.yaml delete mode 100755 odpi-bigtop-rpm/common/builders.sh delete mode 100755 odpi-bigtop-rpm/hadoop/builders.sh delete mode 100755 odpi-bigtop-rpm/hive/builders.sh delete mode 100755 odpi-bigtop-rpm/spark/builders.sh delete mode 100644 odpi-bigtop-spark-rpm.yaml delete mode 100644 openembedded-armv8-pre-built-images-vexpress64.yaml delete mode 100644 qa-check-web-links.yaml delete mode 100644 qa-kvm-image-ubuntu.yaml delete mode 100755 rpb-debian-installer/builders.sh delete mode 100644 rpb-debian-installer/stable/default-preseed.cfg delete mode 100644 rpb-debian-installer/staging/default-preseed.cfg delete mode 100644 rpb-kernel-latest-metapackage.yaml delete mode 100644 rpb-reference-kernel-rpm.yaml delete mode 100644 sid-arm64-rootfs.yaml delete mode 100644 sid-armhf-rootfs.yaml delete mode 100644 stretch-arm64-rootfs.yaml delete mode 100644 trigger-96boards-bubblegum-u-boot.yaml delete mode 100644 trigger-96boards-bubblegum.yaml delete mode 100644 trigger-96boards-helium-u-boot.yaml delete mode 100644 trigger-96boards-helium.yaml delete mode 100644 trigger-96boards-hikey-atf.yaml delete mode 100644 trigger-96boards-hikey-mainline-rebase.yaml delete mode 100644 trigger-coresight.yaml delete mode 100644 trigger-idlestat.yaml delete mode 100644 trigger-linux-arm-soc-for-next.yaml delete mode 100644 trigger-linux-eas.yaml delete mode 100644 trigger-linux-linaro-tracking-ll-ilp32.yaml delete mode 100644 trigger-linux-linaro-tracking-ll.yaml delete mode 100644 trigger-linux-linaro-tracking-llct.yaml delete mode 100644 trigger-linux-ltsi.yaml delete mode 100644 trigger-linux-mainline.yaml delete mode 100644 trigger-linux-next.yaml delete mode 100644 trigger-linux-stable.yaml delete mode 100644 trigger-lt-hisilicon-hix5hd2.yaml delete mode 100644 trigger-oe-recipe-gator.yaml delete mode 100644 trigger-oe-recipe-kselftests-next.yaml delete mode 100644 trigger-openembedded-rootfs-external-toolchain.yaml delete mode 100644 trigger-stretch-rootfs.yaml delete mode 100644 ubuntu-armhf-hwpacks.yaml delete mode 100644 ynk-lof-test.yaml diff --git a/96boards-reference-centos-installer-staging.yaml b/96boards-reference-centos-installer-staging.yaml deleted file mode 100644 index d97f92b05c..0000000000 --- a/96boards-reference-centos-installer-staging.yaml +++ /dev/null @@ -1,96 +0,0 @@ -- job: - name: 96boards-reference-centos-installer-staging - project-type: freestyle - 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 - disabled: false - node: docker-centos7-aarch64 - display-name: 'DELETE ME' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}' - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - # Make sure the base image is updated to 7.5.1804 - sudo sed -i 's/\$releasever/7.5.1804/g' /etc/yum.repos.d/CentOS-Base.repo - - sudo yum update -y - sudo yum install -y cpio lorax python-requests wget xz - - # Call lorax to create the netinstall image - sudo rm -rf netinstall - sudo lorax '--product=CentOS Linux' --version=7 --release=7.4.1708 \ - --source=http://mirror.centos.org/altarch/7/os/aarch64/ \ - --source=http://obs.linaro.org/ERP-RPM:/staging/staging/ \ - --isfinal --nomacboot --noupgrade --buildarch=aarch64 '--volid=CentOS 7 aarch64' netinstall/ - - # Modify initrd to include a default kickstart (that includes the external repository) - cd netinstall/images/pxeboot/ - sudo mkdir initrd; cd initrd - sudo sh -c 'xzcat ../initrd.img | cpio -d -i -m' - cat > /tmp/ks.cfg << EOF - repo --name="ERP-RPM:staging" --baseurl=http://obs.linaro.org/ERP-RPM:/staging/staging/ - EOF - sudo cp /tmp/ks.cfg ks.cfg - sudo sh -c 'find . | cpio -o -H newc | xz --check=crc32 --lzma2=dict=512KiB > ../initrd.img' - cd ..; sudo rm -rf initrd - cd ../../.. - - # Final preparation for publishing - mkdir out - cp -rf lorax.log netinstall/.discinfo netinstall/.treeinfo netinstall/EFI netinstall/images netinstall/LiveOS out/ - - # Create MD5SUMS file - (cd out && find -type f -exec md5sum {} \; | sed "s/ \.\// /g" > MD5SUMS.txt) - - # Build information - KERNEL_VERSION=`cat out/images/pxeboot/vmlinuz | gzip -d - | grep -a "Linux version"` - cat > out/HEADER.textile << EOF - - h4. Reference Platform - CentOS Installer (staging) - - CentOS Installer (7) produced with the Reference Platform Kernel package. - - Check "https://github.com/Linaro/documentation/blob/master/Reference-Platform/EECommon/Install-CentOS-7.md":https://github.com/Linaro/documentation/blob/master/Reference-Platform/EECommon/Install-CentOS-7.md for the install instructions. - - Build Description: - * Build URL: "$BUILD_URL":$BUILD_URL - * Kernel: $KERNEL_VERSION - EOF - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --server ${PUBLISH_SERVER} \ - --link-latest \ - out reference-platform/components/centos-installer-staging/${BUILD_NUMBER}/ - - trigger-builds: - - project: erp-test-automation-matrix - predefined-parameters: | - BUILD_ENV=staging - BUILD_NUM=${BUILD_NUMBER} - BUILD_DISTRO=centos - publishers: - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/96boards-reference-centos-installer.yaml b/96boards-reference-centos-installer.yaml deleted file mode 100644 index b46684feab..0000000000 --- a/96boards-reference-centos-installer.yaml +++ /dev/null @@ -1,96 +0,0 @@ -- job: - name: 96boards-reference-centos-installer - project-type: freestyle - 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 - disabled: false - node: docker-centos7-aarch64 - display-name: 'DELETE ME' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}' - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - # Make sure the base image is updated to 7.5.1804 - sudo sed -i 's/\$releasever/7.5.1804/g' /etc/yum.repos.d/CentOS-Base.repo - - sudo yum update -y - sudo yum install -y cpio lorax python-requests wget xz - - # Call lorax to create the netinstall image - sudo rm -rf netinstall - sudo lorax '--product=CentOS Linux' --version=7 --release=7.5.1804 \ - --source=http://mirror.centos.org/altarch/7/os/aarch64/ \ - --source=http://obs.linaro.org/ERP-RPM:/18.06/stable/ \ - --isfinal --nomacboot --noupgrade --buildarch=aarch64 '--volid=CentOS 7 aarch64' netinstall/ - - # Modify initrd to include a default kickstart (that includes the external repository) - cd netinstall/images/pxeboot/ - sudo mkdir initrd; cd initrd - sudo sh -c 'xzcat ../initrd.img | cpio -d -i -m' - cat > /tmp/ks.cfg << EOF - repo --name="ERP-RPM:18.06" --baseurl=http://obs.linaro.org/ERP-RPM:/18.06/stable/ - EOF - sudo cp /tmp/ks.cfg ks.cfg - sudo sh -c 'find . | cpio -o -H newc | xz --check=crc32 --lzma2=dict=512KiB > ../initrd.img' - cd ..; sudo rm -rf initrd - cd ../../.. - - # Final preparation for publishing - mkdir out - cp -rf lorax.log netinstall/.discinfo netinstall/.treeinfo netinstall/EFI netinstall/images netinstall/LiveOS out/ - - # Create MD5SUMS file - (cd out && find -type f -exec md5sum {} \; | sed "s/ \.\// /g" > MD5SUMS.txt) - - # Build information - KERNEL_VERSION=`cat out/images/pxeboot/vmlinuz | gzip -d - | grep -a "Linux version"` - cat > out/HEADER.textile << EOF - - h4. Reference Platform - CentOS Installer - - CentOS Installer (7) produced with the Reference Platform Kernel package. - - Check "https://platforms.linaro.org/documentation/Reference-Platform/Platforms/Enterprise/Documentation/Installation/Centos/README.md":https://platforms.linaro.org/documentation/Reference-Platform/Platforms/Enterprise/Documentation/Installation/Centos/README.md for the install instructions. - - Build Description: - * Build URL: "$BUILD_URL":$BUILD_URL - * Kernel: $KERNEL_VERSION - EOF - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --server ${PUBLISH_SERVER} \ - --link-latest \ - out reference-platform/components/centos-installer/${BUILD_NUMBER}/ - - trigger-builds: - - project: erp-test-automation-matrix - predefined-parameters: | - BUILD_ENV=stable - BUILD_NUM=${BUILD_NUMBER} - BUILD_DISTRO=centos - publishers: - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/96boards-reference-debian-installer-staging.yaml b/96boards-reference-debian-installer-staging.yaml deleted file mode 100644 index c88bd5dc96..0000000000 --- a/96boards-reference-debian-installer-staging.yaml +++ /dev/null @@ -1,103 +0,0 @@ -- job: - name: 96boards-reference-debian-installer-staging - project-type: freestyle - 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: PUB_DEST - default: 'reference-platform/components/debian-installer-staging/${BUILD_NUMBER}' - - string: - name: kernel_abi_version - description: 'kernel version to use' - default: '' - disabled: false - node: docker-stretch-arm64-leg - display-name: 'DELETE ME' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}' - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - set -ex - cat <local.list - deb http://obs.linaro.org/ERP:/18.06/Debian_9/ ./ - deb http://obs.linaro.org/ERP:/19.03/Debian_9/ ./ - deb http://obs.linaro.org/ERP:/staging/Debian_9/ ./ - EOF - - cat < sources.list.udeb - deb [trusted=yes] http://obs.linaro.org/ERP:/19.03/Debian_9/debian-installer ./ - deb [trusted=yes] http://obs.linaro.org/ERP:/staging/Debian_9/debian-installer ./ - deb http://deb.debian.org/debian stretch main/debian-installer - deb http://deb.debian.org/debian stretch-backports main/debian-installer - deb http://deb.debian.org/debian stretch non-free - deb http://deb.debian.org/debian stretch-backports non-free - EOF - - cat < localudebs - linaro-erp-staging-udeb - linaro-erp-udeb - EOF - - wget -q https://git.linaro.org/ci/job/configs.git/plain/rpb-debian-installer/staging/default-preseed.cfg -O default-preseed - - shell: - !include-raw: rpb-debian-installer/builders.sh - - shell: | - #!/bin/bash - # Build information - KERNEL_VERSION=`grep -a "Linux version" out/debian-installer/arm64/linux` - cat > out/HEADER.textile << EOF - - h4. Reference Platform - Debian Installer (staging) - - Debian Installer (Stretch) produced with the Reference Platform Kernel package. - - Check "https://github.com/Linaro/documentation/blob/master/Reference-Platform/EECommon/Install-Debian-Stretch.md":https://github.com/Linaro/documentation/blob/master/Reference-Platform/EECommon/Install-Debian-Stretch.md for the install instructions. - - Build Description: - * Build URL: "$BUILD_URL":$BUILD_URL - * Debian Installer version: $DEB_INSTALLER_VERSION - * Kernel: $KERNEL_VERSION - EOF - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --server ${PUBLISH_SERVER} \ - --link-latest \ - out ${PUB_DEST} - - trigger-builds: - - project: erp-test-automation-matrix - predefined-parameters: | - BUILD_ENV=staging - BUILD_NUM=${BUILD_NUMBER} - BUILD_DISTRO=debian - publishers: - - groovy-postbuild: - script: - !include-raw: - - rpb-openembedded/postbuild.groovy - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - - email-ext: - recipients: 'qa-team@linaro.org' - always: true - diff --git a/96boards-reference-debian-installer.yaml b/96boards-reference-debian-installer.yaml deleted file mode 100644 index 55f88e5a37..0000000000 --- a/96boards-reference-debian-installer.yaml +++ /dev/null @@ -1,97 +0,0 @@ -- job: - name: 96boards-reference-debian-installer - project-type: freestyle - 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: PUB_DEST - default: 'reference-platform/components/debian-installer/${BUILD_NUMBER}' - disabled: false - node: docker-stretch-arm64-leg - display-name: 'DELETE ME' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}' - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - set -e - cat <local.list - deb http://obs.linaro.org/ERP:/18.06/Debian_9/ ./ - deb http://obs.linaro.org/ERP:/19.03/Debian_9/ ./ - EOF - - cat < sources.list.udeb - deb [trusted=yes] http://obs.linaro.org/ERP:/19.03/Debian_9/debian-installer ./ - deb http://deb.debian.org/debian stretch main/debian-installer - deb http://deb.debian.org/debian stretch-backports main/debian-installer - deb http://deb.debian.org/debian stretch non-free - deb http://deb.debian.org/debian stretch-backports non-free - EOF - - cat < localudebs - linaro-erp-udeb - EOF - - wget -q https://git.linaro.org/ci/job/configs.git/plain/rpb-debian-installer/stable/default-preseed.cfg -O default-preseed - - shell: - !include-raw: rpb-debian-installer/builders.sh - - shell: | - #!/bin/bash - set -e - # Build information - KERNEL_VERSION=`grep -a "Linux version" out/debian-installer/arm64/linux` - cat > out/HEADER.textile << EOF - - h4. Reference Platform - Debian Installer - - Debian Installer (Stretch) produced with the Reference Platform Kernel package. - - Check "https://platforms.linaro.org/documentation/Reference-Platform/Platforms/Enterprise/Documentation/Installation/Debian/README.md":https://platforms.linaro.org/documentation/Reference-Platform/Platforms/Enterprise/Documentation/Installation/Debian/README.md for the install instructions. - - Build Description: - * Build URL: "$BUILD_URL":$BUILD_URL - * Debian Installer version: $DEB_INSTALLER_VERSION - * Kernel: $KERNEL_VERSION - EOF - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --server ${PUBLISH_SERVER} \ - --link-latest \ - out ${PUB_DEST} - - trigger-builds: - - project: erp-test-automation-matrix - predefined-parameters: | - BUILD_ENV=stable - BUILD_NUM=${BUILD_NUMBER} - BUILD_DISTRO=debian - publishers: - - groovy-postbuild: - script: - !include-raw: - - rpb-openembedded/postbuild.groovy - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - - email-ext: - recipients: 'qa-team@linaro.org' - always: true - diff --git a/96boards-reference-grub-efi-arm64.yaml b/96boards-reference-grub-efi-arm64.yaml deleted file mode 100644 index fa82f2b786..0000000000 --- a/96boards-reference-grub-efi-arm64.yaml +++ /dev/null @@ -1,123 +0,0 @@ -- job: - name: 96boards-reference-grub-efi-arm64 - project-type: freestyle - 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 - disabled: false - node: docker-jessie-arm64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf out - } - - GRUB_EFI_BIN_PKG=grub-efi-arm64-bin - echo "deb http://repo.linaro.org/ubuntu/linaro-overlay jessie main" > local.list - sudo cp local.list /etc/apt/sources.list.d/ - sudo apt-get update - sudo apt-get install -y --no-install-recommends $GRUB_EFI_BIN_PKG python-requests - - mkdir out - - cat << EOF > out/grub.configfile - search.fs_label rootfs root - set prefix=(\$root)'/boot/grub' - configfile \$prefix/grub.cfg - EOF - - cat << EOF > out/grub-sd.configfile - set root=(hd1,msdos2) - set prefix=(\$root)'/boot/grub' - configfile \$prefix/grub.cfg - EOF - - GRUB_MODULES="boot chain configfile echo efinet eval ext2 fat font gettext gfxterm gzio help linux loadenv lsefi normal part_gpt part_msdos read regexp search search_fs_file search_fs_uuid search_label terminal terminfo test tftp time" - grub-mkimage \ - --verbose \ - --config=out/grub.configfile \ - --output=out/grubaa64.efi \ - --format=arm64-efi \ - $GRUB_MODULES - - grub-mkimage \ - --verbose \ - --config=out/grub-sd.configfile \ - --output=out/grubaa64-sd.efi \ - --format=arm64-efi \ - $GRUB_MODULES - - # Build information - cat > out/HEADER.textile << EOF - - h4. Reference Platform - GRUB UEFI - - GRUB UEFI build consumed by the Reference Platform Builds - - Build Description: - * Build URL: "$BUILD_URL":$BUILD_URL - * Grub modules used: - - EOF - echo -n "bc. " >> out/HEADER.textile - echo $GRUB_MODULES >> out/HEADER.textile - cat >> out/HEADER.textile << EOF - - * Grub config used (roofs search with label): - - EOF - echo -n "bc. " >> out/HEADER.textile - cat out/grub.configfile >> out/HEADER.textile - cat >> out/HEADER.textile << EOF - - * Grub config used (sdcard): - - EOF - echo -n "bc. " >> out/HEADER.textile - cat out/grub-sd.configfile >> out/HEADER.textile - cat >> out/HEADER.textile << EOF - - * $GRUB_EFI_BIN_PKG package: - - EOF - echo -n "bc. " >> out/HEADER.textile - apt-cache show $GRUB_EFI_BIN_PKG >> out/HEADER.textile - - # Create MD5SUMS file - (cd out && md5sum g* > MD5SUMS.txt) - - # Publish - 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 - time python ${HOME}/bin/linaro-cp.py \ - --server ${PUBLISH_SERVER} \ - --link-latest \ - out reference-platform/components/grub/${BUILD_NUMBER} - publishers: - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/96boards-reference-kernel-enterprise.yaml b/96boards-reference-kernel-enterprise.yaml deleted file mode 100644 index 292d20fa12..0000000000 --- a/96boards-reference-kernel-enterprise.yaml +++ /dev/null @@ -1,66 +0,0 @@ -- job: - name: 96boards-reference-kernel-enterprise - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 60 - numToKeep: 60 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - parameters: - - string: - name: KERNEL_GIT_BRANCH - default: 'erp-noupstream' - - string: - name: KERNEL_GIT_URL - default: 'https://github.com/Linaro/rpk.git' - - string: - name: DEBIAN_GIT_BRANCH - default: 'rpb-stretch-2019' - - string: - name: DEBIAN_GIT_URL - default: 'https://github.com/Linaro/debian-kernel-packaging.git' - - string: - name: TARGET_REPO - default: 'ERP:staging' - disabled: false - node: docker-stretch-arm64-leg - display-name: 'DELETE ME' - scm: - - git: - url: ${KERNEL_GIT_URL} - refspec: +refs/heads/${KERNEL_GIT_BRANCH}:refs/remotes/origin/${KERNEL_GIT_BRANCH} - name: origin - branches: - - refs/heads/${KERNEL_GIT_BRANCH} - basedir: linux - skip-tag: true - shallow-clone: false - wipe-workspace: false - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}' - builders: - - linaro-publish-token - - shell: - !include-raw: rpb-kernel-enterprise-deb/build.sh - publishers: - - archive: - artifacts: '*.dsc, *.xz' - - trigger-parameterized-builds: - - project: build-package-obs - property-file: build-package-params - condition: SUCCESS - - email: - recipients: 'rp-enterprise@linaro.org packages@lists.linaro.org' - diff --git a/android-tv-hikey-n.yaml b/android-tv-hikey-n.yaml deleted file mode 100644 index 699bbda785..0000000000 --- a/android-tv-hikey-n.yaml +++ /dev/null @@ -1,81 +0,0 @@ -- job: - name: android-tv-hikey-n - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-extended-read - - job-configure - - job-build - - job-cancel - - build-discarder: - days-to-keep: 60 - num-to-keep: 60 - parameters: - - string: - name: ART_URL - default: https://android-qa-reports.linaro.org/api/ - - string: - name: BUILD_DIR - default: r-lcr-nougat - - string: - name: BUILD_CONFIG_FILENAME - default: android-tv-hikey-n - disabled: true - node: docker-xenial-aosp - display-name: 'DELETE ME' - concurrent: true - triggers: - - gerrit: - server-name: __ANY__ - trigger-on: - - change-merged-event - projects: - - project-compare-type: 'PLAIN' - project-pattern: 'android-patchsets' - branches: - - branch-compare-type: 'PLAIN' - branch-pattern: 'master' - file-paths: - - compare-type: 'PLAIN' - pattern: 'hikey-n-workarounds' - - compare-type: 'PLAIN' - pattern: 'hikey-tv' - - compare-type: 'PLAIN' - pattern: 'NOUGAT-RLCR-PATCHSET' - - project-compare-type: 'PLAIN' - project-pattern: 'device/linaro/common' - branches: - - branch-compare-type: 'PLAIN' - branch-pattern: 'linaro-nougat' - - project-compare-type: 'PLAIN' - project-pattern: 'platform/manifest' - branches: - - branch-compare-type: 'PLAIN' - branch-pattern: 'linaro-nougat-tv' - file-paths: - - compare-type: 'PLAIN' - pattern: 'hikey.xml' - - compare-type: 'PLAIN' - pattern: 'linaro.xml' - - project-compare-type: 'PLAIN' - project-pattern: 'android-build-configs' - branches: - - branch-compare-type: 'PLAIN' - branch-pattern: 'master' - file-paths: - - compare-type: 'PLAIN' - pattern: 'aosp-tv-hikey-n' - wrappers: - - timestamps - - timeout: - timeout: 500 - builders: - !include: android-tv/hikey/builders.yaml.inc - publishers: - !include: android-lcr/common/publishers.yaml.inc - diff --git a/android-tv/hikey/build-info/aosp-master-template.txt b/android-tv/hikey/build-info/aosp-master-template.txt deleted file mode 100644 index 4d5033e255..0000000000 --- a/android-tv/hikey/build-info/aosp-master-template.txt +++ /dev/null @@ -1,96 +0,0 @@ -Format-Version: 0.5 - -Files-Pattern: *.png, installed-files.txt, changelog.txt, cache.img, cache.img.xz, boot.img, ramdisk.img, boot_fat.img, boot_fat.uefi.img, boot_fat.uefi.img.xz, boot.img.xz, boot_fat.img.xz, userdata.img, userdata-4gb.img.xz, userdata.img.xz, *.xml, kernel_config, MANIFEST, MD5SUMS, *.sh, -License-Type: open - -Files-Pattern: system.img, system.img.xz, *.zip -License-Type: open -Theme: linaro -License-Text: END USER LICENCE AGREEMENT FOR THE MALI GPU USERSPACE DRIVER (“MALI GPU DRIVER”) -

- THIS END USER LICENCE AGREEMENT (“LICENCE”) IS A LEGAL AGREEMENT BETWEEN YOU (EITHER A SINGLE INDIVIDUAL, OR SINGLE LEGAL ENTITY) AND ARM LIMITED ("ARM") FOR THE USE OF THE SOFTWARE ACCOMPANYING THIS LICENCE. ARM IS ONLY WILLING TO LICENSE THE SOFTWARE TO YOU ON CONDITION THAT YOU ACCEPT ALL OF THE TERMS IN THIS LICENCE. BY CLICKING “I AGREE” OR BY INSTALLING OR OTHERWISE USING OR COPYING THE SOFTWARE YOU INDICATE THAT YOU AGREE TO BE BOUND BY ALL OF THE TERMS OF THIS LICENCE. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENCE, ARM IS UNWILLING TO LICENSE THE SOFTWARE TO YOU AND YOU MAY NOT INSTALL, USE OR COPY THE SOFTWARE, AND YOU SHOULD PROMPTLY RETURN THE SOFTWARE TO YOUR SUPPLIER. -

-

- “Software” means any software, firmware and data accompanying this Licence, any printed, electronic or online documentation supplied with it under the terms of this Licence for the MALI GPU Driver. -

-

-

- 1. LICENCE GRANTS TO YOU. -

- 1.1 ARM hereby grants to you, subject to the terms and conditions of this Licence, a non-exclusive, non-transferable, revocable, worldwide licence to: (i) use the Software or certain components or optional functionality in the Software, as applicable, solely for the purposes of designing or developing applications for use in conjunction with MALI GPU based products manufactured under licence from ARM; and (ii) modify the Software or certain components or optional functionality in the Software for the purposes of porting the Software to your target; -

-

-

- 2. RESTRICTIONS ON USE OF THE SOFTWARE. -

- COPYING: You shall not use or copy the Software except as expressly authorised in this Licence. You may make one additional copy of the delivered Software for backup or archival purposes. -

-

- BENCHMARKING: This Licence does not prevent you from using the Software for internal benchmarking purposes. However, you shall treat any and all benchmarking data relating to the Software, and any other results of your use or testing of the Software which are indicative of its performance, efficacy, reliability or quality, as confidential information and you shall not disclose such information to any third party without the express written permission of ARM. -

-

- COPYRIGHT AND RESERVATION OF RIGHTS: The Software is owned by ARM or its licensors and is protected by copyright and other intellectual property laws and international treaties. The Software is licensed not sold. You acquire no rights to the Software other than as expressly provided by this Licence. You shall not remove from the Software any copyright notice or other notice and shall ensure that any such notice is reproduced in any copies of the whole or any part of the Software made by you or other permitted users. -

-

- REVERSE ENGINEERING: Except to the extent that such activity is permitted by applicable law you shall not reverse engineer, decompile or disassemble any of the Software. If the Software was provided to you in Europe you shall not reverse engineer, decompile or disassemble any of the Software for the purposes of error correction. -

-

-

- 3. SUPPORT. -

- ARM is not under an obligation to provide support, but it may do so at its own discretion, and if it does, it will only be in respect of the Software as delivered and not any modifications thereto. -

-

-

- 4. NO WARRANTIES. -

- YOU AGREE THAT THE SOFTWARE IS LICENSED “AS IS”, AND THAT ARM EXPRESSLY DISCLAIMS ALL REPRESENTATIONS, WARRANTIES, CONDITIONS OR OTHER TERMS, EXPRESS OR IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, SATISFACTORY QUALITY, AND FITNESS FOR A PARTICULAR PURPOSE. -

-

- YOU EXPRESSLY ASSUME ALL LIABILITIES AND RISKS, FOR USE OR OPERATION OF SOFTWARE APPLICATIONS, INCLUDING WITHOUT LIMITATION, SOFTWARE APPLICATIONS DESIGNED OR INTENDED FOR MISSION CRITICAL APPLICATIONS, SUCH AS PACEMAKERS, WEAPONRY, AIRCRAFT NAVIGATION, FACTORY CONTROL SYSTEMS, ETC. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. -

-

-

- 5. LIMITATION OF LIABILITY. -

- TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL ARM BE LIABLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES (INCLUDING LOSS OF PROFITS) ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE WHETHER BASED ON A CLAIM UNDER CONTRACT, TORT OR OTHER LEGAL THEORY, EVEN IF ARM WAS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -

-

- ARM does not seek to limit or exclude liability for death or personal injury arising from ARM's negligence or ARM’s fraud and because some jurisdictions do not permit the exclusion or limitation of liability for consequential or incidental damages the above limitation relating to liability for consequential damages may not apply to you. -

-

- NOTWITHSTANDING ANYTHING TO THE CONTRARY CONTAINED IN THIS LICENCE, THE MAXIMUM LIABILITY OF ARM TO YOU IN AGGREGATE FOR ALL CLAIMS MADE AGAINST ARM IN CONTRACT TORT OR OTHERWISE UNDER OR IN CONNECTION WITH THE SUBJECT MATTER OF THIS LICENCE SHALL NOT EXCEED THE GREATER OF: (I) THE TOTAL OF SUMS PAID BY YOU TO ARM (IF ANY) FOR THIS LICENCE; AND (II) $10.00 USD. THE EXISTENCE OF MORE THAN ONE CLAIM WILL NOT ENLARGE OR EXTEND THE LIMIT. -

-

-

- 6. CONFIDENTIALITY. -

- You acknowledge that the Software and any benchmarking data and related information mentioned in Clause 2 may contain trade secrets and confidential material and you agree to maintain all such information in confidence and apply security measures no less stringent than the measures which you apply to protect your own like information, but not less than a reasonable degree of care, to prevent their unauthorised disclosure and use. Subject to any restrictions imposed by applicable law, the period of confidentiality shall be indefinite. You agree not to use any such information other than in normal use of the Software under the licences granted in this Licence. -

-

-

- 7. U.S. GOVERNMENT END USERS. -

- US Government Restrictions: Use, duplication, reproduction, release, modification, disclosure or transfer of the Software is restricted in accordance with the terms of this Licence. -

-

-

- 8. TERM AND TERMINATION. -

- This Licence shall remain in force until terminated by you or by ARM. Without prejudice to any of its other rights if you are in breach of any of the terms and conditions of this Licence then ARM may terminate this Licence immediately upon giving written notice to you or on thirty (30) days written notice without cause. You may terminate this Licence at any time. Upon termination of this Licence by you or by ARM , you shall stop using the Software and confidential information and destroy all copies of the Software and confidential information in your possession, together with all documentation and related materials. The provisions of clauses 4, 5, 6, 7, 8 and 9 shall survive termination of this Licence. -

-

-

- 9. GENERAL. -

- This Licence is governed by English Law. Except where ARM agrees otherwise in: (i) a written contract signed by you and ARM; or (ii) a written contract provided by ARM and accepted by you, this is the only agreement between you and ARM relating to the Software and it may only be modified by written agreement between you and ARM. Except as expressly agreed in writing, this Licence may not be modified by purchase orders, advertising or other representation by any person. If any clause or sentence in this Licence is held by a court of law to be illegal or unenforceable the remaining provisions of this Licence shall not be affected thereby. The failure by ARM to enforce any of the provisions of this Licence, unless waived in writing, shall not constitute a waiver of ARM's rights to enforce such provision or any other provision of this Licence in the future. -

-

- At ARM’s request, you agree to check your computers for installations of the Software and any other information requested by ARM relating to Software installation and to provide this information to ARM. You agree that auditors nominated by ARM may also perform such checking and reporting on behalf of ARM by prior appointment during your normal business hours on seven (7) days’ notice. ARM shall bear the auditors’ costs for that audit unless it reveals unlicensed usage in which case you shall promptly reimburse ARM for all reasonable costs and expenses, including professional fees, relating to such audit. Any information which is disclosed to ARM or such auditors during checking or audit shall be treated as your confidential information and shall only be used by ARM for licence management, compliance and enforcement purposes. -

-

- The Software provided under this Licence is subject to U.S. export control laws, including the U.S. Export Administration Act and its associated regulations, and may be subject to export or import regulations in other countries. You agree to comply fully with all laws and regulations of the United States and other countries ("Export Laws") to assure that the Software, is not (1) exported, directly or indirectly, in violation of Export Laws, either to any countries that are subject to U.S.A. export restrictions or to any end user who has been prohibited from participating in the U.S.A. export transactions by any federal agency of the U.S.A. government; or (2) intended to be used for any purpose prohibited by Export Laws, including, without limitation, nuclear, chemical, or biological weapons proliferation. -

-

- Mali GPU Userspace LES-PRE-20376 -

diff --git a/android-tv/hikey/builders.sh b/android-tv/hikey/builders.sh deleted file mode 100755 index beb525f086..0000000000 --- a/android-tv/hikey/builders.sh +++ /dev/null @@ -1,86 +0,0 @@ -# Build Android -rm -rf build/out build/android-patchsets build/device/linaro/hikey -mkdir -p build/ -cd build/ -wget https://dl.google.com/dl/android/aosp/linaro-hikey-20170523-4b9ebaff.tgz -tar -xvf linaro-hikey-20170523-4b9ebaff.tgz -yes "I ACCEPT" | ./extract-linaro-hikey.sh -cd - - -build-tools/node/build us-east-1.ec2-git-mirror.linaro.org "${CONFIG}" -cp -a /home/buildslave/srv/${BUILD_DIR}/build/out/*.json /home/buildslave/srv/${BUILD_DIR}/build/out/*.xml ${WORKSPACE}/ - -# Build Live TV app -cd build/ -source build/envsetup.sh -tapas LiveTv arm64 -make LiveTv -cp -r out/target/product/generic_arm64/system//priv-app/LiveTv/ out/system/priv-app/ -rm -rf out/target -cd - - -mkdir -p apps/ -cd apps/ -export ANDROID_HOME=/home/buildslave/srv/android-sdk/ -mkdir -p /home/buildslave/.android/ -echo "count=0" > /home/buildslave/.android/repositories.cfg - -rm -rf ExoPlayer androidtv-sample-inputs - -mkdir -p /home/buildslave/srv/${BUILD_DIR}/build/out/data/app/ - -git clone https://github.com/googlesamples/androidtv-sample-inputs -cd androidtv-sample-inputs/ -sed -i "s/23.0.3/26.0.2/g" app/build.gradle library/build.gradle -./gradlew assembleDebug -cp app/build/outputs/apk/app-debug.apk /home/buildslave/srv/${BUILD_DIR}/build/out/data/app/ -cd - - -git clone https://github.com/google/ExoPlayer -cd ExoPlayer -sed -i "s/23.0.3/26.0.2/g" build.gradle -./gradlew assembleDebug -cp ./demos/main/buildout/outputs/apk/withExtensions/debug/demo-withExtensions-debug.apk /home/buildslave/srv/${BUILD_DIR}/build/out/data/app/ -cd - - -# Compress images -cd /home/buildslave/srv/${BUILD_DIR}/build/out -host/linux-x86/bin/make_ext4fs -s -T -1 -S root/file_contexts -L data -l 5588893184 -a data userdata.img data -host/linux-x86/bin/make_ext4fs -s -T -1 -S root/file_contexts.bin -L system -l 1610612736 -a system system.img system system -host/linux-x86/bin/make_ext4fs -s -T -1 -S root/file_contexts -L data -l 1342177280 -a data userdata-4gb.img data - -# publish fip.bin and l-loader.bin -cp dist/fip.bin dist/l-loader.bin . -rm -f ramdisk.img -for image in "boot.img" "boot_fat.uefi.img" "system.img" "userdata.img" "userdata-4gb.img" "cache.img" "fip.bin" "l-loader.bin"; do - echo "Compressing ${image}" - xz ${image} -done - -rm -rf BUILD-INFO.txt -wget https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/android-tv/hikey/build-info/aosp-master-template.txt -O BUILD-INFO.txt - -# Publish parameters -cat << EOF > ${WORKSPACE}/publish_parameters -PUB_SRC=${PWD} -PUB_DEST=/android/${JOB_NAME}/${BUILD_NUMBER} -EOF - -cd /home/buildslave/srv/${BUILD_DIR} -PUB_DEST=/android/${JOB_NAME}/${BUILD_NUMBER} -# Construct post-build-lava parameters -source build-configs/${BUILD_CONFIG_FILENAME} -cat << EOF > ${WORKSPACE}/post_build_lava_parameters -DEVICE_TYPE=${LAVA_DEVICE_TYPE:-${TARGET_PRODUCT}} -TARGET_PRODUCT=${TARGET_PRODUCT} -MAKE_TARGETS=${MAKE_TARGETS} -JOB_NAME=${JOB_NAME} -BUILD_NUMBER=${BUILD_NUMBER} -BUILD_URL=${BUILD_URL} -LAVA_SERVER=validation.linaro.org/RPC2/ -IMAGE_EXTENSION=img.xz -FRONTEND_JOB_NAME=${JOB_NAME} -DOWNLOAD_URL=http://snapshots.linaro.org/${PUB_DEST} -CUSTOM_JSON_URL=https://git.linaro.org/qa/test-plans.git/plain/android/hikey-v2/template-xtest-lmg.yaml -SKIP_REPORT=true -EOF diff --git a/android-tv/hikey/builders.yaml.inc b/android-tv/hikey/builders.yaml.inc deleted file mode 100644 index 721b796933..0000000000 --- a/android-tv/hikey/builders.yaml.inc +++ /dev/null @@ -1,14 +0,0 @@ - - shell: - !include-raw: - - android-lcr/common/builders.sh - - android-tv/hikey/builders.sh - - inject: - properties-file: publish_parameters - - linaro-publish-token - - shell: - !include-raw: - - android/linaro-publisher.sh - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true diff --git a/bridge-nfsroot.yaml b/bridge-nfsroot.yaml deleted file mode 100644 index d4b6509d53..0000000000 --- a/bridge-nfsroot.yaml +++ /dev/null @@ -1,69 +0,0 @@ -- job: - name: bridge-nfsroot - project-type: freestyle - defaults: global - description: | - * Create a minimal initramfs with bridge-nfsroot functionality - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - num-to-keep: 30 - days-to-keep: 30 - parameters: - - string: - name: DEB_ARCH - default: 'armhf arm64 amd64' - disabled: true - node: docker-jessie-arm64 - retry-count: 3 - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/suihkulokki/bridge-nfsroot.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - 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: | - #!/bin/bash - - sudo apt-get -q=2 update - sudo apt-get install -y python-requests cpio wget - - rm -rf out && mkdir out - - set -ex - - for arch in ${DEB_ARCH}; do - ./mkinitrd.sh ${arch} - mv initramfs.${arch}.cpio.gz out/ - done - - # Publish to snapshots - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --api_version 3 \ - --link-latest \ - out components/bridge-nfsroot/${BUILD_NUMBER} - publishers: - - email: - recipients: 'anders.roxell@linaro.org fathi.boudra@linaro.org' - diff --git a/build-docker-rpm.yaml b/build-docker-rpm.yaml deleted file mode 100644 index aa9914f207..0000000000 --- a/build-docker-rpm.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- job: - name: build-docker-rpm - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - artifactNumToKeep: 1 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - disabled: true - node: docker-centos7-aarch64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - shell: | - #!/bin/bash - - set -ex - - sudo yum install -y \ - btrfs-progs-devel \ - device-mapper-devel \ - git \ - glibc-static \ - go-md2man \ - golang \ - make \ - rpm-build \ - selinux-policy \ - selinux-policy-devel \ - sqlite-devel \ - wget \ - yum-utils - - sudo wget http://repo.linaro.org/rpm/linaro-overlay/centos-7/linaro-overlay.repo -O /etc/yum.repos.d/linaro-overlay.repo - yumdownloader --source docker - rpm -i docker-*.src.rpm - sudo yum-builddep --nogpg -y ~/rpmbuild/SPECS/docker.spec || true - rpmbuild -ba ~/rpmbuild/SPECS/docker.spec - ln -s ~/rpmbuild - publishers: - - archive: - artifacts: 'rpmbuild/*RPMS/**' - diff --git a/build-kernel-rpm.yaml b/build-kernel-rpm.yaml deleted file mode 100644 index c811709fd8..0000000000 --- a/build-kernel-rpm.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- job: - name: build-kernel-rpm - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - artifactNumToKeep: 1 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - disabled: true - node: docker-centos7-aarch64 - display-name: 'DELETE ME' - parameters: - - string: - name: source - description: 'source url for the SRPM' - wrappers: - - timestamps - builders: - - shell: | - #!/bin/bash - - set -ex - - sudo yum install -y wget git rpm-build yum-utils make openssl-devel - sudo wget http://repo.linaro.org/rpm/linaro-overlay/centos-7/linaro-overlay.repo -O /etc/yum.repos.d/linaro-overlay.repo - - wget --progress=dot -e dotbytes=2M $source - rpm -i *.src.rpm - - sudo yum-builddep --nogpg -y ~/rpmbuild/SPECS/kernel*.spec || true - rpmbuild -vv --without debug --without doc --without debuginfo -ba ~/rpmbuild/SPECS/kernel*.spec - ln -s ~/rpmbuild - publishers: - - archive: - artifacts: 'rpmbuild/*RPMS/**' - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/check-lava-status.yaml b/check-lava-status.yaml deleted file mode 100644 index 3fe50ae941..0000000000 --- a/check-lava-status.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- job: - name: check-lava-status - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 90 - numToKeep: 90 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - parameters: - - string: - name: LAVA_JOB_ID_POOL - default: '' - - password: - name: LAVA_USER - default: ${LAVA_USER} - - password: - name: LAVA_TOKEN - default: ${LAVA_TOKEN} - disabled: true - node: master - display-name: 'DELETE ME' - triggers: - - timed: 'H/5 * * * *' - wrappers: - - timestamps - publishers: - - groovy-postbuild: | - import groovy.net.xmlrpc.* - - void log(msg) { - manager.listener.logger.println(msg) - } - - def job = hudson.model.Hudson.instance.getItem("check-lava-status") - def property = job.getProperty(hudson.model.ParametersDefinitionProperty.class) - def parameter = property.getParameterDefinition("LAVA_JOB_ID_POOL") - def lavaJobIdPool = parameter.getDefaultValue().tokenize() - def lavaJobIdPoolClone = lavaJobIdPool.clone() - def lavaUser = property.getParameterDefinition("LAVA_USER").getDefaultValue() - def lavaToken = property.getParameterDefinition("LAVA_TOKEN").getDefaultValue() - - lavaJobIdPool.each { - def pblJob = hudson.model.Hudson.instance.getItem("post-build-lava") - def variables = pblJob.getBuildByNumber(it.toInteger()).getBuildVariables() - def lavaServer = variables.LAVA_SERVER - def lavaJobId = variables.LAVA_JOB_ID - def buildUrl = variables.BUILD_JOB.tokenize("/") - def buildName = buildUrl[4] - if (buildUrl.size() == 7) { - buildName += "/" + buildUrl[5] - } - def buildNumber = buildUrl.last().toInteger() - def build = hudson.model.Hudson.instance.getItemByFullName(buildName).getBuildByNumber(buildNumber) - - def lavaLab = new XMLRPCServerProxy("https://${lavaServer}") - lavaLab.setBasicAuth(lavaUser, lavaToken) - def response = lavaLab.invokeMethod("scheduler.job_status", [lavaJobId]) - log response - switch (response.job_status) { - case ["Complete", "Incomplete", "Canceled"]: - lavaJobIdPoolClone.remove(it) - log "LAVA job removed: " + lavaJobId - // update build job information (badge, shortText, description) - description = build.getDescription() - description = description.replaceAll(">${lavaJobId}<", ">${lavaJobId} - ${response.job_status}<") - build.setDescription(description) - break - } - } - - lavaJobIdPool = lavaJobIdPoolClone.join(" ") - parameter.setDefaultValue(lavaJobIdPool) - job.save() -# classpath: -# - "/usr/share/groovy/lib/groovy-xmlrpc-0.8.jar" - diff --git a/ci-dockerfiles-base.yaml b/ci-dockerfiles-base.yaml deleted file mode 100644 index 4ec9ace598..0000000000 --- a/ci-dockerfiles-base.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- job: - name: ci-dockerfiles-base - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 90 - num-to-keep: 200 - disabled: true - node: build-arm64 - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/ci/dockerfiles.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - wipe-workspace: false - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - shell: | - #!/bin/bash - - set -e - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - rm -rf ${HOME}/.docker - } - - mkdir -p ${HOME}/.docker - sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json - chmod 0600 ${HOME}/.docker/config.json - - # FIXME: include all the variants (centos, fedora, etc...) - for arch in arm64 armhf; do - for distro in debian ubuntu; do - if [ "${distro}" == "debian" ]; then - suite=stretch - mirror=http://deb.debian.org/debian - fi - if [ "${distro}" == "ubuntu" ]; then - suite=xenial - mirror=http://ports.ubuntu.com - fi - sudo debootstrap --arch=${arch} --variant=minbase ${suite} base-${arch}-${distro}-${suite} ${mirror} - sudo rm -rf base-arm*/var/lib/apt/lists/* base-arm*/tmp/* base-arm*/var/tmp/* - sudo tar -C base-${arch}-${distro}-${suite} -c . | docker import - linaro/base-${arch}-${distro}:${suite} - sudo rm -rf base-${arch}-${distro}-${suite} - docker push linaro/base-${arch}-${distro}:${suite} - done - done - diff --git a/ci-dockerfiles-manifests.yaml b/ci-dockerfiles-manifests.yaml deleted file mode 100644 index b0c58e8d60..0000000000 --- a/ci-dockerfiles-manifests.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- job: - name: ci-dockerfiles-manifests - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 90 - num-to-keep: 200 - disabled: true - node: docker-stretch-amd64 - display-name: 'DELETE ME' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - shell: - !include-raw: ci-dockerfiles-manifests/builders.sh - publishers: - - email: - recipients: riku.voipio@linaro.org, fathi.boudra@linaro.org - diff --git a/ci-dockerfiles-manifests/builders.sh b/ci-dockerfiles-manifests/builders.sh deleted file mode 100644 index f32f9367d3..0000000000 --- a/ci-dockerfiles-manifests/builders.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -set -ex - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -if ! sudo apt-get -q=2 update; then - echo "INFO: apt update error - try again in a moment" - sleep 15 - sudo apt-get -q=2 update || true -fi -if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y manifest-tool; then - echo "INFO: apt install error - try again in a moment" - sleep 15 - sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y manifest-tool -fi - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -rm -rf ${WORKSPACE}/* - -git clone --depth 1 https://git.linaro.org/ci/docker-manifests.git -cd docker-manifests -for manifest in *.yaml; do - manifest-tool push from-spec ${manifest} -done diff --git a/compass-cobbler.yaml b/compass-cobbler.yaml deleted file mode 100644 index 5fd5551fd9..0000000000 --- a/compass-cobbler.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: compass-cobbler - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: false - node: build-arm64 - concurrent: true - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/compass-cobbler.git - branches: - - origin/arm64 - basedir: compass-cobbler - skip-tag: true - shallow-clone: true - wipe-workspace: true - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-cobbler.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass-db.yaml b/compass-db.yaml deleted file mode 100644 index 7a1e6886da..0000000000 --- a/compass-db.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: compass-db - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/compass-db.git - branches: - - origin/arm64 - basedir: compass-db - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-db.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass-deck.yaml b/compass-deck.yaml deleted file mode 100644 index 390abced7c..0000000000 --- a/compass-deck.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: compass-deck - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/compass-deck.git - branches: - - origin/arm64 - basedir: compass-deck - skip-tag: true - shallow-clone: true - wipe-workspace: true - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-deck.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass-flannel-cni.yaml b/compass-flannel-cni.yaml deleted file mode 100644 index ecf620cf56..0000000000 --- a/compass-flannel-cni.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: compass-flannel-cni - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/flannel-cni.git - branches: - - origin/arm64 - basedir: flannel-cni - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-flannel-cni.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass-mq.yaml b/compass-mq.yaml deleted file mode 100644 index 0d70b940c7..0000000000 --- a/compass-mq.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: compass-mq - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/compass-mq.git - branches: - - origin/arm64 - basedir: compass-mq - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-mq.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass-tasks.yaml b/compass-tasks.yaml deleted file mode 100644 index fc9ab8012e..0000000000 --- a/compass-tasks.yaml +++ /dev/null @@ -1,65 +0,0 @@ -- scm: - name: compass-tasks - scm: - - git: - url: https://github.com/yibo-cai/compass-tasks.git - branches: - - origin/arm64 - basedir: compass-tasks - skip-tag: true - shallow-clone: true - wipe-workspace: true - -- scm: - name: compass-tasks-k8s - scm: - - git: - url: https://github.com/yibo-cai/compass-tasks-k8s.git - branches: - - origin/arm64 - basedir: compass-tasks-k8s - skip-tag: true - shallow-clone: true - wipe-workspace: true - -- job: - name: compass-tasks - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - compass-tasks - - compass-tasks-k8s - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-tasks.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass/compass-cobbler.sh b/compass/compass-cobbler.sh deleted file mode 100755 index c3fd6543bd..0000000000 --- a/compass/compass-cobbler.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -docker build -t linaro/compass-cobbler:latest compass-cobbler -docker push linaro/compass-cobbler:latest diff --git a/compass/compass-db.sh b/compass/compass-db.sh deleted file mode 100755 index 297b909f55..0000000000 --- a/compass/compass-db.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -docker build -t linaro/compass-db:latest compass-db -docker push linaro/compass-db:latest diff --git a/compass/compass-deck.sh b/compass/compass-deck.sh deleted file mode 100755 index 88f7f3848b..0000000000 --- a/compass/compass-deck.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -docker build -t linaro/compass-deck:latest compass-deck -docker push linaro/compass-deck:latest diff --git a/compass/compass-flannel-cni.sh b/compass/compass-flannel-cni.sh deleted file mode 100755 index 3c4683abb3..0000000000 --- a/compass/compass-flannel-cni.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -# push linaro/flannel-cni-arm64:v0.2.0 -cd flannel-cni && make diff --git a/compass/compass-mq.sh b/compass/compass-mq.sh deleted file mode 100755 index 6a15225738..0000000000 --- a/compass/compass-mq.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -docker build -t linaro/compass-mq:latest compass-mq -docker push linaro/compass-mq:latest diff --git a/compass/compass-tasks.sh b/compass/compass-tasks.sh deleted file mode 100755 index 0d93aaab32..0000000000 --- a/compass/compass-tasks.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -docker build -t linaro/compass-tasks:latest compass-tasks -docker push linaro/compass-tasks:latest - -docker build -t linaro/compass-tasks-k8s:latest compass-tasks-k8s -docker push linaro/compass-tasks-k8s:latest diff --git a/coresight.yaml b/coresight.yaml deleted file mode 100644 index 5636fb31b4..0000000000 --- a/coresight.yaml +++ /dev/null @@ -1,154 +0,0 @@ -- job: - name: coresight - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - parameters: - - string: - name: BUNDLE_STREAM_NAME - default: '/public/team/linaro/coresight/' - - string: - name: LAVA_SERVER - default: 'validation.linaro.org/RPC2/' - - string: - name: ROOTFS_BUILD_URL - default: 'http://releases.linaro.org/15.03/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20150323-328.rootfs.tar.gz' - - string: - name: ROOTFS_BUILD_NUMBER - default: '328' - disabled: true - node: build - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: http://git.linaro.org/kernel/coresight.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: dynamic - name: defconfig - values: - - defconfig_list - - axis: - type: slave - name: label - values: - - build - 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 builddir* - rm -rf out - rm -f *deb - git reset --hard - } - - export LANG=C - CCACHE_DIR="$HOME/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export make_install=true - export kernel_flavour="${defconfig}" - export use_config_fragment=1 - export conf_filenames="arch/arm/configs/${defconfig}_defconfig linaro/configs/coresight.conf" - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - case "${defconfig}" in - hisi) - export DEVICE_TYPE=d01 - ;; - vexpress) - export hwpack_type=vexpress - export DEVICE_TYPE=vexpress-tc2 - ;; - esac - - # Create coresight config fragment - mkdir -p linaro/configs - cat << EOF > linaro/configs/coresight.conf - CONFIG_CORESIGHT=y - CONFIG_CORESIGHT_LINKS_AND_SINKS=y - CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y - CONFIG_CORESIGHT_SINK_TPIU=y - CONFIG_CORESIGHT_SINK_ETBV10=y - CONFIG_CORESIGHT_SOURCE_ETM3X=y - CONFIG_LBDAF=y - EOF - - test -d lci-build-tools || git clone https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools - bash lci-build-tools/jenkins_kernel_build_inst - - # Publish to snapshots - [ "${defconfig}" = "vexpress" ] && mv hwpack_linaro-${hwpack_type}* out/ - - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/coresight/${defconfig}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 50G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/coresight/${defconfig}/${BUILD_NUMBER} - DTB_URL=${KERNEL_URL}/dtbs - [ "${defconfig}" = "vexpress" ] && HWPACK_BUILD_URL=${KERNEL_URL}/`ls out/hwpack_linaro-${hwpack_type}_*_armhf_supported.tar.gz |xargs basename` - - 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} - DTB_URL=${DTB_URL} - HWPACK_BUILD_URL=${HWPACK_BUILD_URL} - hwpack_type=${hwpack_type} - EOF - - inject: - properties-file: post_build_lava_parameters - - shell: | - 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/coresight/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - publishers: - - email: - recipients: 'mathieu.poirier@linaro.org fathi.boudra@linaro.org' - diff --git a/davidb-mcuboot.yaml b/davidb-mcuboot.yaml deleted file mode 100644 index 81f34ec8aa..0000000000 --- a/davidb-mcuboot.yaml +++ /dev/null @@ -1,71 +0,0 @@ -- job: - name: davidb-mcuboot - project-type: matrix - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: master - child-workspace: . - display-name: 'DELETE ME' - axes: - - axis: - type: slave - name: label - values: - - docker-xenial-amd64-13 - - axis: - type: user-defined - name: ZEPHYR_GCC_VARIANT - values: -# - gccarmemb - - zephyr - - axis: - type: user-defined - name: PLATFORM - values: - - frdm_k64f - - axis: - type: user-defined - name: PROJECT - values: - - mcuboot - wrappers: - - timestamps - builders: - - shell: - !include-raw: davidb-mcuboot/builders.sh - - inject: - properties-file: env_var_parameters - - build-name-setter: - template: '#${BUILD_NUMBER}-${GIT_COMMIT}' - macro: true - - linaro-publish-token - - shell: | - #!/bin/bash - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --api_version 3 \ - --link-latest \ - out/${PLATFORM} components/kernel/mcuboot/${ZEPHYR_GCC_VARIANT}/${PROJECT}/${PLATFORM}/${BUILD_NUMBER} - - rm -rf out - publishers: - - email: - recipients: 'david.brown@linaro.org' - diff --git a/davidb-mcuboot/builders.sh b/davidb-mcuboot/builders.sh deleted file mode 100755 index 7324daa332..0000000000 --- a/davidb-mcuboot/builders.sh +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/bash - -sudo apt-get -q=2 update -sudo apt-get -q=2 -y install ccache cmake g++-multilib gcc-arm-none-eabi git \ - python-requests python-serial python3-serial python3-ply \ - python3-yaml socat rsync device-tree-compiler \ - python3-crypto python3-pyasn1 python3-ecdsa python3-pip - -pip3 install --user pyelftools - -set -ex - -echo "Current directory: " -pwd -echo "Environment" -env - -# Build starts out in ${WORKSPACE} -# Clean any previous runs. -rm -rf ${WORKSPACE}/zephyr -rm -rf ${WORKSPACE}/mcuboot - -git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools ${HOME}/depot_tools -PATH=${HOME}/depot_tools:${PATH} -git clone --depth 1 https://github.com/zephyrproject-rtos/zephyr ${WORKSPACE}/zephyr -git clone --depth 1 https://github.com/runtimeco/mcuboot ${WORKSPACE}/mcuboot -# (cd ${WORKSPACE}/mcuboot; git fetch origin pull/85/head; git checkout -b pull85 FETCH_HEAD) -echo "GIT_COMMIT=$(git rev-parse --short=8 HEAD)" > env_var_parameters - -# Toolchains are pre-installed and come from: -# https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/6-2017q2/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 -# https://github.com/zephyrproject-rtos/meta-zephyr-sdk/releases/download/0.9.1/zephyr-sdk-0.9.1-setup.run -# To install Zephyr SDK: ./zephyr-sdk-0.9.1-setup.run --quiet --nox11 -- <<< "${HOME}/srv/toolchain/zephyr-sdk-0.9.1" - -case "${ZEPHYR_GCC_VARIANT}" in - gccarmemb) - export GCCARMEMB_TOOLCHAIN_PATH="${HOME}/srv/toolchain/gcc-arm-none-eabi-6-2017-q2-update" - ;; - zephyr) - mkdir -p ${HOME}/opt - ln -sf ${HOME}/srv/toolchain/zephyr-sdk-0.9.1 ${HOME}/opt/zephyr-sdk-0.9.1 - export ZEPHYR_SDK_INSTALL_DIR="${HOME}/opt/zephyr-sdk-0.9.1" - ;; -esac - -# Set build environment variables -LANG=C -ZEPHYR_BASE=${WORKSPACE}/zephyr -export ZEPHYR_GCC_VARIANT=zephyr -PATH=${ZEPHYR_BASE}/scripts:${PATH} -export LANG ZEPHYR_BASE PATH -#CCACHE_DIR="${HOME}/srv/ccache" -#CCACHE_UNIFY=1 -#CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros -#USE_CCACHE=1 -#export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS USE_CCACHE -env |grep '^ZEPHYR' - -echo "" -echo "########################################################################" -echo " Build" -echo "########################################################################" - -# make_wrapper=zmake -# [ "${PROJECT}" = "zephyr.js" ] && make_wrapper=zmake-z.js -# bash -x ${make_wrapper} ${PROJECT} BOARD=${PLATFORM} - -cd ${WORKSPACE} -source zephyr/zephyr-env.sh -cd ${WORKSPACE}/mcuboot/samples/zephyr -make full.bin BOARD=${PLATFORM} - -cd ${WORKSPACE} -mkdir -p out/${PLATFORM} -# TODO: Get a timestamp or something in this artifact. -mv mcuboot/samples/zephyr/full.bin ${WORKSPACE}/out/${PLATFORM} - -#CCACHE_DIR=${CCACHE_DIR} ccache -M 30G -#CCACHE_DIR=${CCACHE_DIR} ccache -s diff --git a/debian-arm64-rootfs.yaml b/debian-arm64-rootfs.yaml deleted file mode 100644 index d3756c4c40..0000000000 --- a/debian-arm64-rootfs.yaml +++ /dev/null @@ -1,94 +0,0 @@ -- job: - name: debian-arm64-rootfs - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - artifactNumToKeep: 1 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-build - - job-cancel - disabled: true - node: build - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: git://git.linaro.org/ci/ubuntu-build-service.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - clean: - after: true - wipe-workspace: false - axes: - - axis: - type: slave - name: label - values: - - docker-jessie-arm64 - - axis: - type: user-defined - name: rootfs - values: - - alip - - developer - - installer - wrappers: - - timestamps - - matrix-tie-parent: - node: build - - timeout: - timeout: 120 - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - sudo umount builddir - } - - sudo apt-get update - sudo apt-get install -y --no-install-recommends cpio debootstrap live-build python-requests uuid-runtime - sudo dpkg -i --force-all packages/live-build_3.0.5-1linaro1_all.deb - - dpkg -s qemu-user-static |grep '^Version' - dpkg -s live-build |grep '^Version' - - test -d builddir || mkdir builddir - sudo mount -t tmpfs -o size=6G tmpfs builddir - cp -a jessie-arm64-${rootfs} builddir/ - cd builddir/jessie-arm64-${rootfs} - ./configure - make - - cd ${WORKSPACE} - sudo rm -rf out && mkdir out - sudo mv builddir/jessie-arm64-${rootfs}/linaro-jessie-* out - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out debian/images/${rootfs}-arm64/${BUILD_NUMBER} - publishers: - - trigger: - project: '96boards-reference-platform-debian' - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/debian-armhf-rootfs.yaml b/debian-armhf-rootfs.yaml deleted file mode 100644 index 5c72150092..0000000000 --- a/debian-armhf-rootfs.yaml +++ /dev/null @@ -1,92 +0,0 @@ -- job: - name: debian-armhf-rootfs - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - artifactNumToKeep: 1 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-build - - job-cancel - disabled: true - node: build - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: git://git.linaro.org/ci/ubuntu-build-service.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - clean: - after: true - wipe-workspace: false - axes: - - axis: - type: slave - name: label - values: - - docker-jessie-armhf - - axis: - type: user-defined - name: rootfs - values: - - alip - - developer - - installer - wrappers: - - timestamps - - matrix-tie-parent: - node: build - - timeout: - timeout: 120 - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - sudo umount builddir - } - - sudo apt-get update - sudo apt-get install -y --no-install-recommends cpio debootstrap live-build python-requests uuid-runtime - sudo dpkg -i --force-all packages/live-build_3.0.5-1linaro1_all.deb - - dpkg -s qemu-user-static |grep '^Version' - dpkg -s live-build |grep '^Version' - - test -d builddir || mkdir builddir - sudo mount -t tmpfs -o size=6G tmpfs builddir - cp -a jessie-armhf-${rootfs} builddir/ - cd builddir/jessie-armhf-${rootfs} - ./configure - make - - cd ${WORKSPACE} - sudo rm -rf out && mkdir out - sudo mv builddir/jessie-armhf-${rootfs}/linaro-jessie-* out - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out debian/images/${rootfs}-armhf/${BUILD_NUMBER} - publishers: - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/debian-x86-rootfs.yaml b/debian-x86-rootfs.yaml deleted file mode 100644 index 73c2f21a41..0000000000 --- a/debian-x86-rootfs.yaml +++ /dev/null @@ -1,82 +0,0 @@ -- job: - name: debian-x86-rootfs - 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 - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: git://git.linaro.org/ci/ubuntu-build-service.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - clean: true - wipe-workspace: false - axes: - - axis: - type: slave - name: label - values: - - build - - axis: - type: user-defined - name: rootfs - values: - - nano - execution-strategy: - sequential: true - wrappers: - - timestamps - - matrix-tie-parent: - node: build - - timeout: - timeout: 120 - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - sudo umount builddir - } - - dpkg -s qemu-user-static |grep '^Version' - dpkg -s live-build |grep '^Version' - - test -d builddir || mkdir builddir - sudo mount -t tmpfs -o size=6G tmpfs builddir - cp -a jessie-x86-${rootfs} builddir/ - cd builddir/jessie-x86-${rootfs} - ./configure - make - - cd ${WORKSPACE} - sudo rm -rf out && mkdir out - sudo mv builddir/jessie-x86-${rootfs}/linaro-jessie-* out - time python ${HOME}/bin/linaro-cp --api_version 3 --link-latest out debian/images/${rootfs}-x86/${BUILD_NUMBER} - publishers: - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/k8s-auxiliary.yaml b/k8s-auxiliary.yaml deleted file mode 100644 index 8ad1af9fc6..0000000000 --- a/k8s-auxiliary.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: k8s-auxiliary - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/autoscaler.git - branches: - - origin/arm64 - basedir: git-autoscaler - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: k8s/builders.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org riku.voipio@linaro.org fathi.boudra@linaro.org' - diff --git a/k8s/builders.sh b/k8s/builders.sh deleted file mode 100755 index 264caa5f1b..0000000000 --- a/k8s/builders.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -set -ex - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -# Build addon-resizer -pushd git-autoscaler/addon-resizer -rm -f .docker-tag -make container ARCH=arm64 -# push to linaro/addon-resizer-arm64:2.1 -docker push $(cat .docker-tag) -popd diff --git a/kselftest.yaml b/kselftest.yaml deleted file mode 100644 index 1180713f58..0000000000 --- a/kselftest.yaml +++ /dev/null @@ -1,72 +0,0 @@ -- job: - name: kselftest - project-type: matrix - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 90 - num-to-keep: 90 - parameters: - - string: - name: KSELFTEST_URL - default: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' - - string: - name: KSELFTEST_BRANCH - default: 'master' - disabled: true - node: master - display-name: 'DELETE ME' - axes: - - axis: - type: slave - name: label - values: - - docker-xenial-amd64 - - docker-xenial-arm64 - - docker-xenial-armhf - execution-strategy: - sequential: false - wrappers: - - timestamps - builders: - - shell: - !include-raw: kselftest/builders.sh - - build-name-setter: - name: 'version.txt' - file: true - - linaro-publish-token - - shell: | - #!/bin/bash - - deb_host_arch=$(dpkg-architecture -qDEB_HOST_ARCH) - case "${deb_host_arch}" in - amd64) - export ARCH=x86_64 - ;; - arm64) - export ARCH=arm64 - ;; - armhf) - export ARCH=arm - ;; - esac - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --server ${PUBLISH_SERVER} \ - --link-latest \ - tools/testing/selftests/out/ \ - components/kernel/kselftest/${ARCH}/${BUILD_NUMBER} - diff --git a/kselftest/builders.sh b/kselftest/builders.sh deleted file mode 100755 index 0abfb6b902..0000000000 --- a/kselftest/builders.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/bash - -if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 update; then - echo "INFO: apt update error - try again in a moment" - sleep 15 - sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 update || true -fi - -pkg_list="git libcap-dev libcap-ng-dev libelf-dev libfuse-dev libmount-dev libpopt-dev pkg-config pxz rsync" -deb_host_arch=$(dpkg-architecture -qDEB_HOST_ARCH) -case "${deb_host_arch}" in - amd64) - export ARCH=x86_64 - pkg_list+=" libnuma-dev" - ;; - arm64) - export ARCH=arm64 - pkg_list+=" libnuma-dev" - ;; - armhf) - export ARCH=arm - ;; -esac - -if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y ${pkg_list}; then - echo "INFO: apt install error - try again in a moment" - sleep 15 - sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y ${pkg_list} -fi - -KSELFTEST_URL=${KSELFTEST_URL:-"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"} -KSELFTEST_BRANCH=${KSELFTEST_BRANCH:-"master"} -WORKSPACE=${WORKSPACE:-"${PWD}"} - -set -x - -git clone -b ${KSELFTEST_BRANCH} ${KSELFTEST_URL} ${WORKSPACE} -git_describe=$(git describe) -echo "#${BUILD_NUMBER}-${git_describe}" > version.txt - -make ARCH=${ARCH} headers_install -export INSTALL_PATH=kselftest -make ARCH=${ARCH} -C tools/testing/selftests -make ARCH=${ARCH} -C tools/testing/selftests install - -mkdir -p tools/testing/selftests/out -cd tools/testing/selftests -tar -I pxz -cf out/kselftest_${ARCH}_${git_describe}.tar.xz kselftest - -# Build information -cat > out/HEADER.textile << EOF - -h4. kselftest - -Build description: -* Build URL: "${BUILD_URL}":${BUILD_URL} -* Kernel URL: ${KSELFTEST_URL} -* Kernel branch: ${KSELFTEST_BRANCH} -* Kernel commit: ${git_describe} -EOF - -cat > out/build_config.json < ${WORKSPACE}/out/debian-busybox-armhf-initramfs-readme.html <
-            lava-debian-busybox-armhf-initramfs build instructions"
-            ================================================
-
-            This initramfs is based on busybox-static.
-            dpkg is available as a busybox applet but apt is not.
-            Other useful busybox applets include wget and ifconfig.
-            See https://packages.debian.org/jessie/busybox-static
-
-            https://ci.linaro.org/view/lava-ci/job/lava-debian-busybox-armhf-initramfs/
-
-            The script used by jenkins is available here:
-            https://git.linaro.org/lava-team/refactoring.git/blob/HEAD:/scripts/busybox-initramfs.sh
-
-            https://git.linaro.org/ci/job/configs.git/blob/HEAD:/lava-debian-busybox-armhf-initramfs.yaml
-            The base system is a Debian Jessie VM.
-
-            The initramfs uses a prompt of "root@busybox: #"
-
-            
- EOF - mv initramfs-armhf.cpio.gz out/ - md5sum ${WORKSPACE}/out/initramfs-armhf.cpio.gz > ${WORKSPACE}/out/initramfs-armhf.cpio.gz.md5sum.txt - sha256sum ${WORKSPACE}/out/initramfs-armhf.cpio.gz > ${WORKSPACE}/out/initramfs-armhf.cpio.gz.sha256sum.txt - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out components/lava/standard/debian/busybox-initramfs/armhf/${BUILD_NUMBER} - publishers: - - email: - recipients: 'neil.williams@linaro.org fathi.boudra@linaro.org' - diff --git a/lava-debian-jessie-arm64.yaml b/lava-debian-jessie-arm64.yaml deleted file mode 100644 index aed42a85b9..0000000000 --- a/lava-debian-jessie-arm64.yaml +++ /dev/null @@ -1,77 +0,0 @@ -# Debian arm64 NFS, initramfs, modules and dtbs - -- job: - name: lava-debian-jessie-arm64 - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 24 - numToKeep: 12 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - platform-leads: - - job-build - - job-cancel - disabled: true - node: docker-jessie-amd64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - mkdir out - cd out/ - sudo apt -q update - sudo apt -q -y install qemu-user-static debootstrap - wget https://git.linaro.org/lava-team/refactoring.git/blob_plain/HEAD:/scripts/build-foreign-nfs.sh - chmod 744 ./build-foreign-nfs.sh - sudo ./build-foreign-nfs.sh -a arm64 -b /usr/bin/qemu-aarch64-static -d jessie - cd .. - cat > ${WORKSPACE}/out/debian-arm64-readme.html <
-            lava-debian-jessie-arm64 build instructions
-            ===========================================
-
-            This initramfs is built using update-initramfs inside a
-            minimal Debian Jessie debootstrap chroot.
-            The contents of the chroot is then packaged up as an NFS
-            with an empty root password.
-                auto_login:
-                    login_prompt: 'login:'
-                    username: root
-
-            apt is included in the NFS, as are bash, grep, iproute2, mawk and sed.
-            The NFS uses the default init in Jessie: systemd.
-
-            The Debian ARM64 kernel is a modular build and the modules
-            need to be available in the initramfs for the kernel to be
-            able to mount the NFS. The initramfs does not have DNS
-            support.
-
-            https://ci.linaro.org/view/lava-ci/job/lava-debian-jessie-arm64/
-
-            The script used by jenkins is available here:
-            https://git.linaro.org/lava-team/refactoring.git/blob/HEAD:/scripts/armmp-nfs.sh
-
-            https://git.linaro.org/ci/job/configs.git/blob/HEAD:/lava-debian-jessie-arm64.yaml
-            The base system is a Debian Jessie VM.
-
-            The NFS rootfs uses a prompt of "root@jessie:"
-
-            
- EOF - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 out components/lava/standard/debian/jessie/arm64/${BUILD_NUMBER} - publishers: - - email: - recipients: 'neil.williams@linaro.org fathi.boudra@linaro.org' - diff --git a/lava-debian-jessie-armmp-armhf.yaml b/lava-debian-jessie-armmp-armhf.yaml deleted file mode 100644 index 837fa6cb48..0000000000 --- a/lava-debian-jessie-armmp-armhf.yaml +++ /dev/null @@ -1,79 +0,0 @@ -# Debian ARMMP armhf NFS, initramfs, modules and dtbs - -- job: - name: lava-debian-jessie-armmp-armhf - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 24 - numToKeep: 12 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - platform-leads: - - job-build - - job-cancel - disabled: true - node: docker-jessie-amd64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - mkdir out - cd out/ - echo "deb http://mirror.bytemark.co.uk/debian jessie-backports main" > jessie-backports.list - sudo mv jessie-backports.list /etc/apt/sources.list.d/ - sudo apt-get update - sudo DEBIAN_FRONTEND=noninteractive apt -q -y -t jessie-backports install qemu-user-static debootstrap - wget https://git.linaro.org/lava-team/refactoring.git/blob_plain/HEAD:/scripts/armmp-nfs.sh - chmod 744 ./armmp-nfs.sh - sudo ./armmp-nfs.sh - cd .. - cat > ${WORKSPACE}/out/debian-armmp-armhf-readme.html <
-            lava-debian-armmp-armhf build instructions
-            ===========================================
-
-            This initramfs is built using update-initramfs inside a
-            minimal Debian Jessie debootstrap chroot.
-            The contents of the chroot is then packaged up as an NFS
-            with an empty root password.
-                auto_login:
-                    login_prompt: 'login:'
-                    username: root
-
-            apt is included in the NFS, as are bash, grep, iproute2, mawk and sed.
-            The NFS uses the default init in Jessie: systemd.
-
-            The Debian ARMMP kernel is a modular build and the modules
-            need to be available in the initramfs for the kernel to be
-            able to mount the NFS. The initramfs does not have DNS
-            support.
-
-            https://ci.linaro.org/view/lava-ci/job/lava-debian-armmp-armhf/
-
-            The script used by jenkins is available here:
-            https://git.linaro.org/lava-team/refactoring.git/blob/HEAD:/scripts/armmp-nfs.sh
-
-            https://git.linaro.org/ci/job/configs.git/blob/HEAD:/lava-debian-armmp-armhf.yaml
-            The base system is a Debian Jessie VM.
-
-            The NFS rootfs uses a prompt of "root@jessie:"
-
-            
- EOF - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 out components/lava/standard/debian/jessie/armhf/${BUILD_NUMBER} - publishers: - - email: - recipients: 'neil.williams@linaro.org fathi.boudra@linaro.org' - diff --git a/lava-debian-large-stretch-amd64-vm.yaml b/lava-debian-large-stretch-amd64-vm.yaml deleted file mode 100644 index 26951d44a5..0000000000 --- a/lava-debian-large-stretch-amd64-vm.yaml +++ /dev/null @@ -1,109 +0,0 @@ -# Large image, expressly to be able to do lava-server tests inside -# which needs lots of dependencies & space for postgresql. -# for use testing with django1.10. - -# lava reports & can check the checksum of the compressed image -# after download. - -- job: - name: lava-debian-large-stretch-amd64-vm - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 90 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - platform-leads: - - job-build - - job-cancel - disabled: true - node: docker-jessie-amd64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - export LANG=C - export APT_LISTCHANGES_FRONTEND=none - echo "deb http://mirror.bytemark.co.uk/debian stretch main" > stretch.list - sudo mv stretch.list /etc/apt/sources.list.d/ - sudo apt-get update - sudo apt-get install -y --no-install-recommends vmdebootstrap grub2-common - sudo apt-get clean - - mkdir out - sudo vmdebootstrap \ - --verbose \ - --arch amd64 \ - --image=${WORKSPACE}/out/large-stretch.img \ - --size=3G \ - --distribution=stretch \ - --hostname debian \ - --mirror=http://mirror.bytemark.co.uk/debian \ - --enable-dhcp \ - --systemd \ - --configure-apt \ - --grub \ - --serial-console \ - --log=${WORKSPACE}/out/vmdebootstrap.log \ - --log-level=debug \ - --log-mode=0644 - - gzip -9 ${WORKSPACE}/out/large-stretch.img - - cat > ${WORKSPACE}/out/debian-large-stretch-amd64-readme.html <
-            lava-debian-large-stretch-amd64-vm build instructions
-            =====================================================
-
-            This large image can be used for any tests on stretch (django1.10).
-
-            The image uses a prompt of "root@debian:"
-            
-

- https://ci.linaro.org/view/lava-ci/job/lava-debian-large-stretch-amd64-vm/

- -

- https://ci.linaro.org/view/lava-ci/job/lava-debian-large-stretch-amd64-vm/console

- -

- https://git.linaro.org/ci/job/configs.git/blob/HEAD:/lava-debian-large-stretch-amd64-vm.yaml

- -

- http://snapshots.linaro.org/components/lava/standard/debian/stretch/amd64/large/${BUILD_NUMBER}

- -
-            The build system is a Debian Jessie VM with stretch enabled.
-
-            echo "deb http://mirror.bytemark.co.uk/debian stretch main" > stretch.list
-            sudo mv stretch.list /etc/apt/sources.list.d/
-            sudo apt-get update
-            sudo apt-get install -y --no-install-recommends vmdebootstrap grub2-common
-
-            See vmdebootstrap.log for the full log.
-            
- EOF - - md5sum ${WORKSPACE}/out/large-stretch.img.gz > ${WORKSPACE}/out/large-stretch.img.gz.md5sum.txt - sha256sum ${WORKSPACE}/out/large-stretch.img.gz > ${WORKSPACE}/out/large-stretch.img.gz.sha256sum.txt - - # echo final location - echo Publishing to: http://snapshots.linaro.org/components/lava/standard/debian/stretch/amd64/large/${BUILD_NUMBER} - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 out components/lava/standard/debian/stretch/amd64/large/${BUILD_NUMBER} - publishers: - - email: - recipients: 'neil.williams@linaro.org fathi.boudra@linaro.org' - diff --git a/lava-debian-stable-amd64-vm.yaml b/lava-debian-stable-amd64-vm.yaml deleted file mode 100644 index 0cf5d260d1..0000000000 --- a/lava-debian-stable-amd64-vm.yaml +++ /dev/null @@ -1,107 +0,0 @@ -# Large image, expressly to be able to do lava-server tests inside -# which needs lots of dependencies & space for postgresql. -# for use testing with django1.7. - -# lava reports & can check the checksum of the compressed image -# after download. - -- job: - name: lava-debian-stable-amd64-vm - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 90 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - platform-leads: - - job-build - - job-cancel - disabled: true - node: docker-jessie-amd64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - export LANG=C - - echo "deb http://mirror.bytemark.co.uk/debian jessie-backports main" > jessie-backports.list - sudo mv jessie-backports.list /etc/apt/sources.list.d/ - sudo apt-get update - sudo apt-get install -y --no-install-recommends -t jessie-backports vmdebootstrap grub2-common - - mkdir out - sudo vmdebootstrap \ - --verbose \ - --image=${WORKSPACE}/out/large-stable.img \ - --size=3G \ - --distribution=jessie \ - --mirror=http://mirror.bytemark.co.uk/debian \ - --enable-dhcp \ - --configure-apt \ - --grub \ - --serial-console \ - --log=${WORKSPACE}/out/vmdebootstrap.log \ - --log-level=debug \ - --log-mode=0644 - - cat > ${WORKSPACE}/out/debian-jessie-amd64-readme.html <
-            lava-debian-stable-amd64-vm build instructions"
-            ================================================
-
-            This image can be used for any tests on jessie (django1.7).
-
-            The image uses a prompt of "root@debian:"
-            
-

- https://ci.linaro.org/view/lava-ci/job/lava-debian-stable-amd64-vm/

- -

- https://ci.linaro.org/view/lava-ci/job/lava-debian-stable-amd64-vm/console

- -

- https://git.linaro.org/ci/job/configs.git/blob/HEAD:/lava-debian-stable-amd64-vm.yaml

- -

- http://snapshots.linaro.org/components/lava/standard/debian/jessie/amd64/${BUILD_NUMBER}

- -
-            The base system is a Debian Jessie VM with jessie-backports enabled.
-
-            echo "deb http://mirror.bytemark.co.uk/debian jessie-backports main" > jessie-backports.list
-            sudo mv jessie-backports.list /etc/apt/sources.list.d/
-            sudo apt-get update
-            sudo apt-get install -y --no-install-recommends -t jessie-backports vmdebootstrap grub2-common
-
-            See vmdebootstrap.log for the full log.
-            
- EOF - - gzip -9 ${WORKSPACE}/out/large-stable.img - - md5sum ${WORKSPACE}/out/large-stable.img.gz > ${WORKSPACE}/out/large-stable.img.gz.md5sum.txt - sha256sum ${WORKSPACE}/out/large-stable.img.gz > ${WORKSPACE}/out/large-stable.img.gz.sha256sum.txt - - # echo final location - echo Publishing to: http://snapshots.linaro.org/components/lava/standard/debian/jessie/amd64/${BUILD_NUMBER} - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out components/lava/standard/debian/jessie/amd64/${BUILD_NUMBER} - publishers: - - archive: - artifacts: 'out/*' - - email: - recipients: 'neil.williams@linaro.org fathi.boudra@linaro.org' - diff --git a/lava-debian-stretch-amd64-vm.yaml b/lava-debian-stretch-amd64-vm.yaml deleted file mode 100644 index 5afb976078..0000000000 --- a/lava-debian-stretch-amd64-vm.yaml +++ /dev/null @@ -1,108 +0,0 @@ -# Ordinary 1G image for quick, simple test jobs. - -# lava reports & can check the checksum of the compressed image -# after download. - -- job: - name: lava-debian-stretch-amd64-vm - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 90 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - platform-leads: - - job-build - - job-cancel - disabled: true - node: docker-jessie-amd64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - export LANG=C - export APT_LISTCHANGES_FRONTEND=none - echo "deb http://mirror.bytemark.co.uk/debian stretch main" > stretch.list - sudo mv stretch.list /etc/apt/sources.list.d/ - sudo apt-get update - sudo apt-get install -y --no-install-recommends vmdebootstrap grub2-common - - mkdir out - sudo vmdebootstrap \ - --verbose \ - --arch amd64 \ - --image=${WORKSPACE}/out/stretch.img \ - --size=1G \ - --distribution=stretch \ - --hostname debian \ - --mirror=http://mirror.bytemark.co.uk/debian \ - --enable-dhcp \ - --systemd \ - --configure-apt \ - --grub \ - --serial-console \ - --log=${WORKSPACE}/out/vmdebootstrap.log \ - --log-level=debug \ - --log-mode=0644 - - cat > ${WORKSPACE}/out/debian-stretch-amd64-readme.html <
-            lava-debian-stretch-amd64-vm build instructions
-            ===============================================
-
-            This small image can be used for some tests on stretch. For tests
-            involving django (1.10 in stretch) or LAVA, use the large-stretch
-            image to provide enough space to install lots of dependencies.
-
-            The image uses a prompt of "root@debian:"
-            
-

- https://ci.linaro.org/view/lava-ci/job/lava-debian-stretch-amd64-vm/

- -

- https://ci.linaro.org/view/lava-ci/job/lava-debian-stretch-amd64-vm/console

- -

- https://git.linaro.org/ci/job/configs.git/blob/HEAD:/lava-debian-stretch-amd64-vm.yaml

- -

- http://snapshots.linaro.org/components/lava/standard/debian/stretch/amd64/${BUILD_NUMBER}

- -
-            The build system is a Debian Jessie VM with stretch enabled.
-
-            echo "deb http://mirror.bytemark.co.uk/debian stretch main" > stretch.list
-            sudo mv stretch.list /etc/apt/sources.list.d/
-            sudo apt-get update
-            sudo apt-get install -y --no-install-recommends vmdebootstrap grub2-common
-
-            See vmdebootstrap.log for the full log.
-            
- EOF - - gzip -9 ${WORKSPACE}/out/stretch.img - - md5sum ${WORKSPACE}/out/stretch.img.gz > ${WORKSPACE}/out/stretch.img.gz.md5sum.txt - sha256sum ${WORKSPACE}/out/stretch.img.gz > ${WORKSPACE}/out/stretch.img.gz.sha256sum.txt - - # echo final location - echo Publishing to: http://snapshots.linaro.org/components/lava/standard/debian/stretch/amd64/${BUILD_NUMBER} - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 out components/lava/standard/debian/stretch/amd64/${BUILD_NUMBER} - publishers: - - email: - recipients: 'neil.williams@linaro.org fathi.boudra@linaro.org' - diff --git a/lava-debian-stretch-arm64.yaml b/lava-debian-stretch-arm64.yaml deleted file mode 100644 index 7ebf109ebd..0000000000 --- a/lava-debian-stretch-arm64.yaml +++ /dev/null @@ -1,99 +0,0 @@ -# Debian arm64 NFS, initramfs, modules and dtbs - -- job: - name: lava-debian-stretch-arm64 - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 14 - numToKeep: 5 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - platform-leads: - - job-build - - job-cancel - disabled: true - node: docker-jessie-amd64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - mkdir out - cd out/ - echo "deb http://mirror.bytemark.co.uk/debian jessie-backports main" > jessie-backports.list - sudo mv jessie-backports.list /etc/apt/sources.list.d/ - sudo apt-get update - sudo DEBIAN_FRONTEND=noninteractive apt -q -y -t jessie-backports install qemu-user-static debootstrap - sudo DEBIAN_FRONTEND=noninteractive apt -q -y install python-guestfs - wget https://git.linaro.org/lava-team/refactoring.git/blob_plain/HEAD:/scripts/build-foreign-nfs.sh - wget https://git.linaro.org/lava-team/refactoring.git/blob_plain/HEAD:/scripts/build-foreign-image.sh - wget https://git.linaro.org/lava-team/refactoring.git/blob_plain/HEAD:/scripts/guest-img.py - chmod 744 ./build-foreign-nfs.sh - chmod 744 ./build-foreign-image.sh - sudo ./build-foreign-nfs.sh -a arm64 -b /usr/bin/qemu-aarch64-static -d stretch - sudo ./build-foreign-image.sh -a arm64 -b /usr/bin/qemu-aarch64-static -d stretch - cd .. - cat > ${WORKSPACE}/out/debian-arm64-readme.html <
-            lava-debian-stretch-arm64 build instructions
-            ========================================
-
-            This initramfs is built using update-initramfs inside a minimal
-            Debian Unstable debootstrap chroot. The contents of the chroot is
-            then packaged up as an NFS with an empty root password.
-
-            apt is included in the NFS, as are bash, grep, iproute2, mawk and
-            sed. The NFS uses the default init in unstable: systemd.
-
-            The Debian ARM64 kernel is a modular build and the modules
-            need to be available in the initramfs for the kernel to be
-            able to mount the NFS. The initramfs does not have DNS
-            support.
-
-            A similar chroot is created with systemd-sysv added. The chroot is
-            unpacked into an empty ext2 primary partition of an image:
-            stretch-arm64.img The UUID of the partition is available as
-            stretch-arm64.img.uuid.txt and should be appended to the kernel command
-            line using the root= argument when testing the image using QEMU in
-            LAVA to ensure that the correct drive is booted. The image has
-            systemd-networkd and systemd-resolved enabled to use DHCP on the
-            primary network interface.
-
-            When using the image and the UUID, ensure that you also use the
-            checksums to ensure that the UUID matches the files being
-            downloaded.
-
-            https://ci.linaro.org/view/lava-ci/job/lava-debian-stretch-arm64/
-
-            The scripts used by jenkins are available here:
-            https://git.linaro.org/lava-team/refactoring.git/tree/HEAD:/scripts
-
-            https://git.linaro.org/ci/job/configs.git/blob/HEAD:/lava-debian-stretch-arm64.yaml
-            The base system is a Debian Unstable VM.
-
-            The NFS rootfs and the image both use a prompt of "root@stretch:" and
-            the same auto login details:
-                auto_login:
-                    login_prompt: 'login:'
-                    username: root
-
-            
- EOF - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 out components/lava/standard/debian/stretch/arm64/${BUILD_NUMBER} - publishers: - # - archive: - # artifacts: 'out/*' - - email: - recipients: 'neil.williams@linaro.org fathi.boudra@linaro.org' - diff --git a/lava-debian-stretch-armmp-armhf.yaml b/lava-debian-stretch-armmp-armhf.yaml deleted file mode 100644 index d4fdb4bfc8..0000000000 --- a/lava-debian-stretch-armmp-armhf.yaml +++ /dev/null @@ -1,79 +0,0 @@ -# Debian ARMMP armhf NFS, initramfs, modules and dtbs - -- job: - name: lava-debian-stretch-armmp-armhf - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 24 - numToKeep: 12 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - platform-leads: - - job-build - - job-cancel - disabled: true - node: docker-jessie-amd64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - mkdir out - cd out/ - echo "deb http://mirror.bytemark.co.uk/debian jessie-backports main" > jessie-backports.list - sudo mv jessie-backports.list /etc/apt/sources.list.d/ - sudo apt-get update - sudo DEBIAN_FRONTEND=noninteractive apt -q -y -t jessie-backports install qemu-user-static debootstrap - wget https://git.linaro.org/lava-team/refactoring.git/blob_plain/HEAD:/scripts/armmp-nfs.sh - chmod 744 ./armmp-nfs.sh - sudo ./armmp-nfs.sh -d stretch - cd .. - cat > ${WORKSPACE}/out/debian-stretch-armmp-armhf-readme.html <
-            lava-debian-stretch-armmp-armhf build instructions
-            ==================================================
-
-            This initramfs is built using update-initramfs inside a
-            minimal Debian Stretch debootstrap chroot.
-            The contents of the chroot is then packaged up as an NFS
-            with an empty root password.
-                auto_login:
-                    login_prompt: 'login:'
-                    username: root
-
-            apt is included in the NFS, as are bash, grep, iproute2, mawk and sed.
-            The NFS uses the default init in Stretch: systemd.
-
-            The Debian ARMMP kernel is a modular build and the modules
-            need to be available in the initramfs for the kernel to be
-            able to mount the NFS. The initramfs does not have DNS
-            support.
-
-            https://ci.linaro.org/view/lava-ci/job/lava-debian-stretch-armmp-armhf/
-
-            The script used by jenkins is available here:
-            https://git.linaro.org/lava-team/refactoring.git/blob/HEAD:/scripts/armmp-nfs.sh
-
-            https://git.linaro.org/ci/job/configs.git/blob/HEAD:/lava-debian-armmp-armhf.yaml
-            The base system is a Debian Stretch VM.
-
-            The NFS rootfs uses a prompt of "root@stretch:"
-
-            
- EOF - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 out components/lava/standard/debian/stretch/armhf/${BUILD_NUMBER} - publishers: - - email: - recipients: 'neil.williams@linaro.org fathi.boudra@linaro.org' - diff --git a/ldcg-cloud-image-debian.yaml b/ldcg-cloud-image-debian.yaml deleted file mode 100644 index 82e2b13264..0000000000 --- a/ldcg-cloud-image-debian.yaml +++ /dev/null @@ -1,42 +0,0 @@ -- job: - name: ldcg-cloud-image-debian - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: docker-stretch-arm64-leg - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - shell: - !include-raw: ldcg-cloud-image/debian/builders.sh - - linaro-publish-token - - shell: | - #!/bin/bash - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --server ${PUBLISH_SERVER} \ - --link-latest \ - out reference-platform/components/developer-cloud/debian-cloud-image/${BUILD_NUMBER} - - rm -rf out - publishers: - - email: - recipients: 'fathi.boudra@linaro.org marcin.juszkiewicz@linaro.org' - diff --git a/ldcg-cloud-image/debian/builders.sh b/ldcg-cloud-image/debian/builders.sh deleted file mode 100755 index b95d96e87d..0000000000 --- a/ldcg-cloud-image/debian/builders.sh +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/bash - -export image_name=$(mktemp -u -p'debian-cloud-image' | sed -e 's+/+-+g') -export mountpoint=$(mktemp -d /tmp/${image_name}.XXXXXX) - -echo "deb http://obs.linaro.org/ERP:/18.06/Debian_9 ./" | sudo tee /etc/apt/sources.list.d/erp-18.06.list -echo "deb http://obs.linaro.org/ERP:/18.12/Debian_9 ./" | sudo tee /etc/apt/sources.list.d/erp-18.12.list - -sudo apt-get -q=2 update -sudo apt-get -q=2 install -y --no-install-recommends cpio qemu-utils virtinst libvirt-clients iproute2 - -default_gw=$(ip route show default 0.0.0.0/0 | cut -d' ' -f3) -sudo sed -i "/^uri_default/d" /etc/libvirt/libvirt.conf -echo "uri_default = \"qemu+tcp://${default_gw}/system\"" | sudo tee -a /etc/libvirt/libvirt.conf - -# create loop device for kpartx -if ! [ -b /dev/loop0 ]; then - mkdir /dev/loop0 b 7 0 -fi - -virt-host-validate - -sudo virsh pool-list --all -sudo virsh net-list --all - -set -ex - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - cd ${WORKSPACE} - sudo virsh vol-delete --pool default ${image_name}.img || true - sudo virsh destroy ${image_name} || true - sudo virsh undefine --nvram ${image_name} || true - sudo umount ${mountpoint} || true - sudo kpartx -dv ${image_name}.img || true - sudo rm -rf ${mountpoint} || true - sudo rm -f ${image_name}.img -} - -wget -q https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/ldcg-cloud-image/debian/preseed.cfg -O preseed.cfg - -sudo virt-install \ - --name ${image_name} \ - --initrd-inject preseed.cfg \ - --extra-args "interface=auto noshell auto=true DEBIAN_FRONTEND=text" \ - --disk=pool=default,size=2.0,format=raw \ - --network=network=default, \ - --os-variant debian9 \ - --memory 2048 \ - --location http://deb.debian.org/debian/dists/stable/main/installer-arm64/ \ - --noreboot - -set +ex -while [ true ]; do - sleep 1 - vm_running=$(sudo virsh list --name --state-running | grep "^${image_name}" | wc -l) - [ "${vm_running}" -eq "0" ] && break -done -set -ex - -sudo virsh list --all - -mkdir -p out -cp preseed.cfg out/debian-stretch-arm64-preseed.cfg - -sudo cp -a /var/lib/libvirt/images/${image_name}.img . - -sudo virsh vol-download --pool default --vol ${image_name}.img --file ${image_name}.img - -for device in $(sudo kpartx -avs ${image_name}.img | cut -d' ' -f3); do - partition=$(echo ${device} | cut -d'p' -f3) - [ "${partition}" = "2" ] && sudo mount /dev/mapper/${device} ${mountpoint} -done - -LATEST_KERNEL=$(ls -1 ${mountpoint}/boot/vmlinuz-* | head -n1 | sed -e "s/vmlinuz-//g" -e "s/-.*//g") - -cp -a ${mountpoint}/boot/*${LATEST_KERNEL}-arm64 out/ - -sudo qemu-img convert -c -O qcow2 ${image_name}.img out/debian-erp-cloud-image.qcow2 -sudo chown -R buildslave:buildslave out diff --git a/ldcg-cloud-image/debian/preseed.cfg b/ldcg-cloud-image/debian/preseed.cfg deleted file mode 100644 index b9c0d15863..0000000000 --- a/ldcg-cloud-image/debian/preseed.cfg +++ /dev/null @@ -1,76 +0,0 @@ -d-i debian-installer/locale string en_US.UTF-8 -d-i localechooser/supported-locales multiselect en_US.UTF-8, en_GB.UTF-8 -d-i keyboard-configuration/xkb-keymap select us -d-i netcfg/choose_interface select auto -d-i netcfg/get_hostname string unassigned-hostname -d-i netcfg/get_domain string unassigned-domain -d-i netcfg/wireless_wep string -d-i mirror/country string manual -d-i mirror/http/hostname string deb.debian.org -d-i mirror/http/directory string /debian -d-i mirror/http/proxy string -d-i passwd/root-login boolean false -d-i passwd/user-fullname string Debian User -d-i passwd/username string debian -d-i passwd/user-password password insecure -d-i passwd/user-password-again password insecure -d-i clock-setup/utc boolean true -d-i time/zone string UTC -d-i clock-setup/ntp boolean true -d-i partman-auto/method string regular -d-i partman-lvm/device_remove_lvm boolean true -d-i partman-md/device_remove_md boolean true -d-i partman-lvm/confirm boolean true -d-i partman-lvm/confirm_nooverwrite boolean true -d-i partman-partitioning/confirm_write_new_label boolean true -d-i partman/choose_partition select finish -d-i partman/confirm boolean true -d-i partman/confirm_nooverwrite boolean true -d-i partman-md/confirm boolean true -d-i partman-partitioning/confirm_write_new_label boolean true -d-i partman/choose_partition select finish -d-i partman/confirm boolean true -d-i partman-basicfilesystems/no_swap boolean false -d-i partman/confirm_nooverwrite boolean true -d-i partman-auto/expert_recipe string \ - myroot :: \ - 64 64 64 vfat \ - $primary{ } \ - format{ } \ - filesystem{ vfat } \ - method{ efi } \ - mountpoint{ /boot/efi } \ - . \ - 800 50 -1 ext4 \ - $primary{ } \ - $bootable{ } \ - method{ format } \ - format{ } \ - use_filesystem{ } \ - filesystem{ ext4 } \ - mountpoint{ / } \ - . - -d-i partman-auto/choose_recipe select myroot -d-i apt-setup/services-select multiselect security, updates, backports -d-i apt-setup/local0/repository string http://obs.linaro.org/ERP:/18.06/Debian_9/ ./ -d-i apt-setup/local0/comment string Enterprise RP 18.06 -d-i apt-setup/local0/source boolean true -d-i apt-setup/local0/key string http://obs.linaro.org/ERP:/18.06/Debian_9/Release.key -d-i apt-setup/local1/repository string http://obs.linaro.org/ERP:/18.12/Debian_9/ ./ -d-i apt-setup/local1/comment string Enterprise RP 18.12 -d-i apt-setup/local1/source boolean true -d-i apt-setup/local1/key string http://obs.linaro.org/ERP:/18.12/Debian_9/Release.key -d-i pkgsel/upgrade select full-upgrade -tasksel tasksel/first multiselect standard -d-i pkgsel/include string openssh-server cloud-init cloud-utils cloud-initramfs-growroot linux-image-reference-arm64 -popularity-contest popularity-contest/participate boolean false -d-i grub-installer/only_debian boolean true -d-i grub-installer/with_other_os boolean false -d-i grub-installer/bootdev string default -d-i finish-install/reboot_in_progress note -d-i preseed/late_command string \ - mkdir -p /target/boot/efi/EFI/BOOT ; \ - cp /target/boot/efi/EFI/debian/grubaa64.efi /target/boot/efi/EFI/BOOT/BOOTAA64.EFI ; \ - echo 'debian ALL = NOPASSWD: ALL' > /target/etc/sudoers.d/cloud ; \ - chmod 440 /target/etc/sudoers.d/cloud diff --git a/leg-docker-registry-image.yaml b/leg-docker-registry-image.yaml deleted file mode 100644 index cef2de50fc..0000000000 --- a/leg-docker-registry-image.yaml +++ /dev/null @@ -1,38 +0,0 @@ -- job: - name: leg-docker-registry-image - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: leg-aarch64 - concurrent: false - display-name: 'DELETE ME' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - shell: - !include-raw: leg-docker-registry-image/build.sh - publishers: - - email: - recipients: 'marcin.juszkiewicz@linaro.org riku.voipio@linaro.org fathi.boudra@linaro.org sdi-team@linaro.org' - - diff --git a/leg-docker-registry-image/build.sh b/leg-docker-registry-image/build.sh deleted file mode 100644 index e5a5bdb833..0000000000 --- a/leg-docker-registry-image/build.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -set -ex - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker - docker rmi linaro/registry:2 -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -rm -rf ${WORKSPACE}/* - -# remove it just in case it exists from previous jobs -docker rmi linaro/registry:2 - -git clone --depth 1 https://git.linaro.org/leg/sdi/docker-registry-image.git -cd docker-registry-image -docker build --tag "linaro/registry:2" . -docker push linaro/registry:2 diff --git a/leg-kolla-queens-ldc.yaml b/leg-kolla-queens-ldc.yaml deleted file mode 100644 index a482bc94a6..0000000000 --- a/leg-kolla-queens-ldc.yaml +++ /dev/null @@ -1,70 +0,0 @@ -- job: - name: leg-kolla-queens-ldc - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - parameters: - - string: - name: DEVCLOUD - default: '1' - description: 'build images for developer cloud' - - string: - name: DEVCLOUD_EXTRA_PATCHES - default: '7d3d6e2965aed7fdab7d19e58ffb073bc9c945c1,dc9845e83b30d0f8fbb9399810a7a3e475cfa00d,3dc83027172adb085d982235c262e9405d7e4d16,e795f8580a4f88869a2905706b3a0d8110c5d26a' - description: "comma separated list of patches ids to apply to the ldc branch not merged into stable/queens" - - string: - name: BRANCH - default: 'stable/queens' - description: 'branch to use' - - string: - name: THREADS_OPT - default: '24' - description: 'number of threads (default: 24)' - - string: - name: RETRIES_OPT - default: '3' - description: 'number of retries (default: 3)' - disabled: true - node: leg-aarch64 - concurrent: false - display-name: 'DELETE ME' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - shell: - !include-raw: leg-kolla/build.sh - - linaro-publish-token - - shell: - !include-raw: leg-kolla/publishers.sh - - trigger-builds: - - project: - - 'leg-kolla-push-images' - property-file: "push.parameters" - - project: - - 'leg-kolla-remove-images' - property-file: "remove.parameters" - publishers: - - archive: - artifacts: 'push.parameters' - - email: - recipients: 'marcin.juszkiewicz@linaro.org riku.voipio@linaro.org fathi.boudra@linaro.org ldcg-team@linaro.org' - diff --git a/leg-kolla-queens.yaml b/leg-kolla-queens.yaml deleted file mode 100644 index 8dd6c134fb..0000000000 --- a/leg-kolla-queens.yaml +++ /dev/null @@ -1,62 +0,0 @@ -- job: - name: leg-kolla-queens - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - parameters: - - string: - name: BRANCH - default: 'stable/queens' - description: 'branch to use' - - string: - name: THREADS_OPT - default: '24' - description: 'number of threads (default: 24)' - - string: - name: RETRIES_OPT - default: '3' - description: 'number of retries (default: 3)' - disabled: true - node: leg-aarch64 - concurrent: false - display-name: 'DELETE ME' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - shell: - !include-raw: leg-kolla/build.sh - - linaro-publish-token - - shell: - !include-raw: leg-kolla/publishers.sh - - trigger-builds: - - project: - - 'leg-kolla-push-images' - property-file: "push.parameters" - - project: - - 'leg-kolla-remove-images' - property-file: "remove.parameters" - publishers: - - archive: - artifacts: 'push.parameters' - - email: - recipients: 'marcin.juszkiewicz@linaro.org riku.voipio@linaro.org fathi.boudra@linaro.org ldcg-team@linaro.org' - diff --git a/linaro-edk2-prep.yaml b/linaro-edk2-prep.yaml deleted file mode 100644 index 7819c2c1df..0000000000 --- a/linaro-edk2-prep.yaml +++ /dev/null @@ -1,581 +0,0 @@ -- job: - name: linaro-edk2-prep - project-type: matrix - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - parameters: - - string: - name: BUNDLE_STREAM_NAME - default: '/private/team/linaro/leg-edk2/' - - string: - name: DEVICE_TYPE - default: 'rtsm_fvp_base-aemv8a' - - string: - name: LAVA_SERVER - default: 'validation.linaro.org/RPC2/' - - string: - name: INITRD_URL - default: 'http://releases.linaro.org/14.12/openembedded/images/minimal-initramfs-armv8/linaro-image-minimal-initramfs-genericarmv8-20141212-729.rootfs.cpio.gz' - - string: - name: PUB_DEST - default: 'components/kernel/linaro-edk2-prep/${AARCH64_TOOLCHAIN}/${BUILD_NUMBER}' - - string: - name: SCT - default: '1' - disabled: true - node: build - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: http://git.linaro.org/git/uefi/linaro-edk2.git - refspec: +refs/heads/release-prep:refs/remotes/origin/release-prep - name: origin - branches: - - refs/heads/release-prep - basedir: linaro-edk2 - skip-tag: true - shallow-clone: true - clean: - after: true - wipe-workspace: false - triggers: - - pollscm: - cron: 'H/5 * * * *' - axes: - - axis: - type: user-defined - name: AARCH64_TOOLCHAIN - values: - - GCC49 - - axis: - type: slave - name: label - values: - - build - execution-strategy: - sequential: true - wrappers: - - timestamps - - ssh-agent-credentials: - users: - # PRIVATE_KEY user id - - '768c1ba1-6052-4b97-a531-7e4fabda6979' - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: build - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -e - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf uefi-ci uefi-tools - rm -rf linaro-edk2-prep-build - rm -rf out - } - - # Use pre-installed linaro toolchain - [ ${AARCH64_TOOLCHAIN} == "GCC48" ] && export PATH="${HOME}/srv/toolchain/arm-tc-14.04/bin:${HOME}/srv/toolchain/arm64-tc-14.04/bin:$PATH" - [ ${AARCH64_TOOLCHAIN} == "GCC49" ] && export PATH="${HOME}/srv/toolchain/arm-tc-15.02/bin:${HOME}/srv/toolchain/arm64-tc-15.02/bin:$PATH" - export AARCH32_TOOLCHAIN=${AARCH64_TOOLCHAIN} - - git clone git://git.linaro.org/uefi/uefi-tools.git - git clone git://git.linaro.org/ci/uefi.git uefi-ci - JOB_NAME=linaro-edk2-prep bash -x uefi-ci/uefi.sh - - builddir=${WORKSPACE}/linaro-edk2-prep-build - outdir=${WORKSPACE}/out - mkdir -p ${outdir} - mv ${builddir}/* ${outdir}/ - find ${outdir}/ -name '*QEMU_EFI.fd' -exec bash -c 'in=${1}; out=${in%fd}img; cat $in /dev/zero | dd iflag=fullblock bs=1M count=64 of=$out; gzip -9 $out' _ {} \; - - cat << EOF > out/startup-qemu-aarch64.nsh - echo "The default boot selection will start in" - Image console=ttyAMA0 root=/dev/vda2 rootwait rootfstype=ext4 rw verbose debug uefi_debug ignore_loglevel - EOF - - cat > out/BUILD-INFO.txt << EOF - Format-Version: 0.5 - - Files-Pattern: *.bin, *.fd, *.nsh, *.txt, QEMU_EFI.img.gz, edk2-*.tar.bz2 - License-Type: open - - Files-Pattern: SctPackage* - License-Type: protected - Auth-Groups: uefi-maintainers - EOF - - time python ${HOME}/bin/linaro-cp.py \ - --api_version 3 \ - --build-info out/BUILD-INFO.txt \ - --link-latest \ - out ${PUB_DEST} - - IMAGE_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/linux-leg/lastSuccessfulBuild/buildNumber` - cat << EOF > lava_job_definition_parameters - IMAGE_URL=http://snapshots.linaro.org/kernel-hwpack/linux-leg-vexpress64/${IMAGE_BUILD_NUMBER}/vexpress64-leg-sd.img.gz - STARTUP_NSH=http://snapshots.linaro.org/kernel-hwpack/linux-leg-vexpress64/${IMAGE_BUILD_NUMBER}/startup.nsh - EOF - - inject: - properties-file: lava_job_definition_parameters - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/fip.bin - - rm -rf configs - git clone --depth 1 http://git.linaro.org/ci/job/configs.git - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-grub-install.json \ - > custom_lava_job_definition_grub_install.json - - cat << EOF > post_build_lava_parameters_grub_install - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_grub_install.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_grub_install - block: true - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/fip.bin - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-startup-boot.json \ - > custom_lava_job_definition_startup_boot.json - - cat << EOF > post_build_lava_parameters_startup_boot - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_startup_boot.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_startup_boot - block: true - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/fip.bin - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-menu-boot.json \ - > custom_lava_job_definition_menu_boot.json - - cat << EOF > post_build_lava_parameters_menu_boot - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_menu_boot.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_menu_boot - block: true - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/fip.bin - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-menu-boot-with-initrd.json \ - > custom_lava_job_definition_menu_boot_with_initrd.json - - cat << EOF > post_build_lava_parameters_menu_boot_with_initrd - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_menu_boot_with_initrd.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_menu_boot_with_initrd - block: true - - shell: | - DEVICE_TYPE=kvm - QEMU_EFI_URL=https://snapshots.linaro.org/${PUB_DEST}/release/qemu64/QEMU_EFI.fd - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${QEMU_EFI_URL}|${QEMU_EFI_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/kvm/template-qemu-iscsi-in-kvm.json \ - > custom_lava_job_definition_qemu_iscsi_in_kvm.json - - cat << EOF > post_build_lava_parameters_qemu_iscsi_in_kvm - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_qemu_iscsi_in_kvm.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_qemu_iscsi_in_kvm - block: true - - shell: | - DEVICE_TYPE=kvm - QEMU_EFI_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/qemu64/debug-QEMU_EFI.fd - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${QEMU_EFI_URL}|${QEMU_EFI_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/kvm/template-qemu-iscsi-in-kvm.json \ - > custom_lava_job_definition_qemu_iscsi_in_kvm.json - - cat << EOF > post_build_lava_parameters_qemu_iscsi_in_kvm - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_qemu_iscsi_in_kvm.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_qemu_iscsi_in_kvm - block: true - - shell: | - DEVICE_TYPE=qemu-aarch64 - QEMU_EFI_URL=https://snapshots.linaro.org/${PUB_DEST}/release/qemu64/QEMU_EFI.img.gz - QEMU_PFLASH_URL=http://people.linaro.org/~fu.wei/LAVA/test/QEMU/flash1.uefishell.qemu.gz - STARTUP_NSH=https://snapshots.linaro.org/${PUB_DEST}/startup-qemu-aarch64.nsh - - BUNDLE_STREAM_NAME=/anonymous/debug/ - LAVA_SERVER=staging.validation.linaro.org/RPC2/ - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${QEMU_EFI_URL}|${QEMU_EFI_URL}|" \ - -e "s|\${QEMU_PFLASH_URL}|${QEMU_PFLASH_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/qemu-aarch64/template.json \ - > custom_lava_job_definition_qemu_aarch64_uefi.json - - cat << EOF > post_build_lava_parameters_qemu_aarch64_uefi - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_qemu_aarch64_uefi.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_qemu_aarch64_uefi - block: true - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/fvp-base-armbds/fip.bin - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-grub-install.json \ - > custom_lava_job_definition_grub_install.json - - cat << EOF > post_build_lava_parameters_grub_install - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_grub_install.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_grub_install - block: true - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/fvp-base-armbds/fip.bin - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-startup-boot.json \ - > custom_lava_job_definition_startup_boot.json - - cat << EOF > post_build_lava_parameters_startup_boot - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_startup_boot.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_startup_boot - block: true - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/fvp-base-armbds/fip.bin - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-menu-boot.json \ - > custom_lava_job_definition_menu_boot.json - - cat << EOF > post_build_lava_parameters_menu_boot - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_menu_boot.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_menu_boot - block: true - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/fvp-base-armbds/fip.bin - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-menu-boot-with-initrd.json \ - > custom_lava_job_definition_menu_boot_with_initrd.json - - cat << EOF > post_build_lava_parameters_menu_boot_with_initrd - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_menu_boot_with_initrd.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_menu_boot_with_initrd - block: true - - shell: | - DEVICE_TYPE=kvm - QEMU_EFI_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/qemu64/QEMU_EFI.fd - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${QEMU_EFI_URL}|${QEMU_EFI_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/kvm/template-qemu-iscsi-in-kvm.json \ - > custom_lava_job_definition_qemu_iscsi_in_kvm.json - - cat << EOF > post_build_lava_parameters_qemu_iscsi_in_kvm - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_qemu_iscsi_in_kvm.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_qemu_iscsi_in_kvm - block: true - - shell: | - DEVICE_TYPE=kvm - QEMU_EFI_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/qemu64/debug-QEMU_EFI.fd - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${QEMU_EFI_URL}|${QEMU_EFI_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/kvm/template-qemu-iscsi-in-kvm.json \ - > custom_lava_job_definition_qemu_iscsi_in_kvm.json - - cat << EOF > post_build_lava_parameters_qemu_iscsi_in_kvm - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_qemu_iscsi_in_kvm.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_qemu_iscsi_in_kvm - block: true - - shell: | - DEVICE_TYPE=qemu-aarch64 - QEMU_EFI_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/qemu64/QEMU_EFI.img.gz - QEMU_PFLASH_URL=http://people.linaro.org/~fu.wei/LAVA/test/QEMU/flash1.uefishell.qemu.gz - STARTUP_NSH=https://snapshots.linaro.org/${PUB_DEST}/startup-qemu-aarch64.nsh - - BUNDLE_STREAM_NAME=/anonymous/debug/ - LAVA_SERVER=staging.validation.linaro.org/RPC2/ - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${QEMU_EFI_URL}|${QEMU_EFI_URL}|" \ - -e "s|\${QEMU_PFLASH_URL}|${QEMU_PFLASH_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2-prep/lava-job-definitions/qemu-aarch64/template.json \ - > custom_lava_job_definition_qemu_aarch64_uefi.json - - cat << EOF > post_build_lava_parameters_qemu_aarch64_uefi - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_qemu_aarch64_uefi.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_qemu_aarch64_uefi - block: true - publishers: - - groovy-postbuild: - script: | - def matcher = manager.getLogMatcher("^fail\t.*") - if (matcher?.matches()) { - resultFailCount = matcher.group(0).split("\t")[1].toInteger() - if (resultFailCount > 0) { - manager.buildUnstable() - } - } - - email: - recipients: 'leif.lindholm@linaro.org fathi.boudra@linaro.org' - diff --git a/linaro-edk2.yaml b/linaro-edk2.yaml deleted file mode 100644 index 21ce949468..0000000000 --- a/linaro-edk2.yaml +++ /dev/null @@ -1,340 +0,0 @@ -- job: - name: linaro-edk2 - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - leif.lindholm@linaro.org: - - job-read - - job-extended-read - - job-build - - job-cancel - parameters: - - string: - name: BUNDLE_STREAM_NAME - default: '/private/team/linaro/leg-edk2/' - - string: - name: DEVICE_TYPE - default: 'rtsm_fvp_base-aemv8a' - - string: - name: LAVA_SERVER - default: 'validation.linaro.org/RPC2/' - - string: - name: INITRD_URL - default: 'http://releases.linaro.org/14.12/openembedded/images/minimal-initramfs-armv8/linaro-image-minimal-initramfs-genericarmv8-20141212-729.rootfs.cpio.gz' - - string: - name: PUB_DEST - default: 'components/kernel/${JOB_NAME}/${BUILD_NUMBER}' - - string: - name: SCT - default: '1' - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: http://git.linaro.org/git/uefi/linaro-edk2.git - refspec: +refs/heads/release:refs/remotes/origin/release - name: origin - branches: - - refs/heads/release - basedir: linaro-edk2 - skip-tag: true - shallow-clone: true - clean: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - ssh-agent-credentials: - users: - # PRIVATE_KEY user id - - '768c1ba1-6052-4b97-a531-7e4fabda6979' - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf uefi-ci uefi-tools - rm -rf ${JOB_NAME}-build - rm -rf out - } - - # Use pre-installed linaro toolchain - export PATH="${HOME}/srv/toolchain/arm-tc-15.02/bin:${HOME}/srv/toolchain/arm64-tc-15.02/bin:$PATH" - - git clone git://git.linaro.org/uefi/uefi-tools.git - git clone git://git.linaro.org/ci/uefi.git uefi-ci - bash -x uefi-ci/uefi.sh - - builddir=${WORKSPACE}/${JOB_NAME}-build - outdir=${WORKSPACE}/out - mkdir -p ${outdir} - mv ${builddir}/* ${outdir}/ - find ${outdir}/ -name '*QEMU_EFI.fd' -exec bash -c 'in=${1}; out=${in%fd}img; cat $in /dev/zero | dd iflag=fullblock bs=1M count=64 of=$out; gzip -9 $out' _ {} \; - - cat << EOF > out/startup-qemu-aarch64.nsh - echo "The default boot selection will start in" - Image console=ttyAMA0 root=/dev/vda2 rootwait rootfstype=ext4 rw verbose debug uefi_debug ignore_loglevel - EOF - - cat > out/BUILD-INFO.txt << EOF - Format-Version: 0.5 - - Files-Pattern: *.bin, *.fd, *.nsh, *.txt, QEMU_EFI.img.gz, edk2-*.tar.bz2 - License-Type: open - - Files-Pattern: SctPackage* - License-Type: protected - Auth-Groups: uefi-maintainers - EOF - - time python ${HOME}/bin/linaro-cp \ - --api_version 3 \ - --build-info out/BUILD-INFO.txt \ - --link-latest \ - out ${PUB_DEST} - - IMAGE_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/linux-leg/lastSuccessfulBuild/buildNumber` - cat << EOF > lava_job_definition_parameters - IMAGE_URL=http://snapshots.linaro.org/kernel-hwpack/linux-leg-vexpress64/${IMAGE_BUILD_NUMBER}/vexpress64-leg-sd.img.gz - STARTUP_NSH=http://snapshots.linaro.org/kernel-hwpack/linux-leg-vexpress64/${IMAGE_BUILD_NUMBER}/startup.nsh - EOF - - inject: - properties-file: lava_job_definition_parameters - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/fip.bin - - rm -rf configs - git clone --depth 1 http://git.linaro.org/ci/job/configs.git - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2/lava-job-definitions/${DEVICE_TYPE}/template-grub-install.json \ - > custom_lava_job_definition_grub_install.json - - cat << EOF > post_build_lava_parameters_grub_install - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_grub_install.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_grub_install - block: true - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/fip.bin - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2/lava-job-definitions/${DEVICE_TYPE}/template-startup-boot.json \ - > custom_lava_job_definition_startup_boot.json - - cat << EOF > post_build_lava_parameters_startup_boot - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_startup_boot.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_startup_boot - block: true - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/fip.bin - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2/lava-job-definitions/${DEVICE_TYPE}/template-menu-boot.json \ - > custom_lava_job_definition_menu_boot.json - - cat << EOF > post_build_lava_parameters_menu_boot - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_menu_boot.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_menu_boot - block: true - - shell: | - BL1_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/bl1.bin - FIP_URL=https://snapshots.linaro.org/${PUB_DEST}/release/fvp-base-armbds/fip.bin - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${BL1_URL}|${BL1_URL}|" \ - -e "s|\${FIP_URL}|${FIP_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2/lava-job-definitions/${DEVICE_TYPE}/template-menu-boot-with-initrd.json \ - > custom_lava_job_definition_menu_boot_with_initrd.json - - cat << EOF > post_build_lava_parameters_menu_boot_with_initrd - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_menu_boot_with_initrd.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_menu_boot_with_initrd - block: true - - shell: | - DEVICE_TYPE=kvm - QEMU_EFI_URL=https://snapshots.linaro.org/${PUB_DEST}/release/qemu64/QEMU_EFI.fd - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${QEMU_EFI_URL}|${QEMU_EFI_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2/lava-job-definitions/kvm/template-qemu-iscsi-in-kvm.json \ - > custom_lava_job_definition_qemu_iscsi_in_kvm.json - - cat << EOF > post_build_lava_parameters_qemu_iscsi_in_kvm - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_qemu_iscsi_in_kvm.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_qemu_iscsi_in_kvm - block: true - - shell: | - DEVICE_TYPE=kvm - QEMU_EFI_URL=https://snapshots.linaro.org/${PUB_DEST}/debug/qemu64/debug-QEMU_EFI.fd - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${QEMU_EFI_URL}|${QEMU_EFI_URL}|" \ - -e "s|\${INITRD_URL}|${INITRD_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2/lava-job-definitions/kvm/template-qemu-iscsi-in-kvm.json \ - > custom_lava_job_definition_qemu_iscsi_in_kvm.json - - cat << EOF > post_build_lava_parameters_qemu_iscsi_in_kvm - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_qemu_iscsi_in_kvm.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_qemu_iscsi_in_kvm - block: true - - shell: | - DEVICE_TYPE=qemu-aarch64 - QEMU_EFI_URL=https://snapshots.linaro.org/${PUB_DEST}/release/qemu64/QEMU_EFI.img.gz - QEMU_PFLASH_URL=http://people.linaro.org/~fu.wei/LAVA/test/QEMU/flash1.uefishell.qemu.gz - STARTUP_NSH=https://snapshots.linaro.org/${PUB_DEST}/startup-qemu-aarch64.nsh - - BUNDLE_STREAM_NAME=/anonymous/debug/ - LAVA_SERVER=staging.validation.linaro.org/RPC2/ - - sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ - -e "s|\${BUILD_URL}|${BUILD_URL}|" \ - -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ - -e "s|\${QEMU_EFI_URL}|${QEMU_EFI_URL}|" \ - -e "s|\${QEMU_PFLASH_URL}|${QEMU_PFLASH_URL}|" \ - -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \ - -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ - -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \ - -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ - -e "s|\${GIT_URL}|${GIT_URL}|" \ - -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \ - -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ - < configs/linaro-edk2/lava-job-definitions/qemu-aarch64/template.json \ - > custom_lava_job_definition_qemu_aarch64_uefi.json - - cat << EOF > post_build_lava_parameters_qemu_aarch64_uefi - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_qemu_aarch64_uefi.json - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters_qemu_aarch64_uefi - block: true - publishers: - - email: - recipients: 'leif.lindholm@linaro.org fathi.boudra@linaro.org' - diff --git a/linux-arm-soc-for-next.yaml b/linux-arm-soc-for-next.yaml deleted file mode 100644 index 8880c5b96d..0000000000 --- a/linux-arm-soc-for-next.yaml +++ /dev/null @@ -1,134 +0,0 @@ -- job: - name: linux-arm-soc-for-next - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - parameters: - - file: - name: defconfig.properties - - password: - name: LAVA_USER - default: ${LAVA_USER} - - password: - name: LAVA_TOKEN - default: ${LAVA_TOKEN} - disabled: true - node: linaro-kernel-ci - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git - refspec: +refs/heads/for-next:refs/remotes/origin/for-next - name: origin - branches: - - refs/heads/for-next - skip-tag: true - shallow-clone: true - wipe-workspace: false - axes: - - axis: - type: user-defined - name: ARCH - values: - - arm - - arm64 - - axis: - type: dynamic - name: defconfig - values: - - defconfig_list - - axis: - type: slave - name: label - values: - - linaro-kernel-ci - execution-strategy: - combination-filter: | - (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig") - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: linaro-kernel-ci - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf lci-build-tools - rm -rf builddir* - rm -rf out - rm -rf configs - } - - export LANG=C - CCACHE_DIR="${HOME}/srv/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export make_silent=true - export make_deb=false - export make_bootwrapper=false - export make_install=true - export kernel_flavour="${defconfig}" - export kernel_config="${defconfig}_defconfig" - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - [ "${ARCH}" = "arm64" ] && export kernel_config="${defconfig}" - [ "${ARCH}" = "arm64" ] && { - export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - } - - # XXX work around vexpress defconfig - #echo "CONFIG_DEVTMPFS=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_DEVTMPFS_MOUNT=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_REGULATOR=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_REGULATOR_VEXPRESS=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_EXT4_FS=y" >> arch/arm/configs/vexpress_defconfig - - test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools - bash lci-build-tools/jenkins_kernel_build_inst - - # XXX b2120 vmlinux - [ "${defconfig}" = "multi_v7" ] && cp -a builddir-*-${kernel_flavour}/vmlinux out/ || true - # XXX mustang uImage - [ "${ARCH}" = "arm64" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true - - # Publish to snapshots - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-arm-soc-for-next/${defconfig}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 30G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - # Start LAVA dance - test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git - - export BUNDLE_STREAM_NAME=/anonymous/fabo/ - export LAVA_SERVER=validation.linaro.org/RPC2/ - export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-arm-soc-for-next/${defconfig}/${BUILD_NUMBER} - export DTB_URL=${KERNEL_URL}/dtbs - export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz - [ "${ARCH}" = "arm64" ] && export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv8/linaro-image-minimal-genericarmv8-20141122-721.rootfs.tar.gz - - # Hack to use submit LAVA jobs directly - python lci-build-tools/dtb-to-device.py - diff --git a/linux-ilp32.yaml b/linux-ilp32.yaml deleted file mode 100644 index 3f80dd8d07..0000000000 --- a/linux-ilp32.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- job: - name: linux-ilp32 - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 7 - disabled: true - node: docker-jessie-arm64 - display-name: 'DELETE ME' - scm: - - git: - url: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git - refspec: +refs/heads/staging/ilp32-4.12:refs/remotes/origin/staging/ilp32-4.12 - name: origin - basedir: linux - branches: - - refs/heads/staging/ilp32-4.12 - skip-tag: true - shallow-clone: true - wipe-workspace: false - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash - cd linux - make defconfig - make -j10 deb-pkg - cd .. - - cat > params < 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 - ;; - vexpress64-be) - export hwpack_type="lsk-vexpress64-be" - export board_types="rtsm_fvp_base-aemv8a" - export kernel_flavour="lsk-vexpress64-be" - export conf_filenames="arch/arm64/configs/defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/big-LITTLE-IKS.conf linaro/configs/vexpress64.conf linaro/configs/bigendian.conf" - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #export DEVICE_TYPE="rtsm_fvp_base-aemv8a" - export ARCH="arm64" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - cat << EOF > linaro/configs/bigendian.conf - CONFIG_CPU_BIG_ENDIAN=y - CONFIG_CPU_ENDIAN_BE8=y - # CONFIG_VIRTUALIZATION is not set - # CONFIG_MMC_DW_IDMAC is not set - # CONFIG_VIRTIO is not set - # CONFIG_VIRTIO_BLK is not set - # CONFIG_VIRTIO_MMIO is not set - EOF - ;; - esac - - 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 - bash -x lci-build-tools/jenkins_kernel_build_inst - - mkdir -p out - [ "${hwpack}" = "mustang" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true - [ "${hwpack}" = "vexpress" ] && python linaro-image-tools/linaro-hwpack-append -t `ls hwpack_linaro-${hwpack_type}*.tar.gz` -p `ls linux-image-*-linaro-*-dbg_*.deb` -i -d - [ "${hwpack}" = "vexpress64" ] && mv startup.nsh out/ - [ "${hwpack}" = "vexpress64" ] && cp -a builddir-*-${kernel_flavour}/.config kernel.config - cp -a builddir-*-${kernel_flavour}/.config out/kernel_config_${kernel_flavour} - [ "${hwpack}" != "mustang" ] && mv hwpack_linaro-${hwpack_type}* out/ - - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-linaro-stable-lsk-v3.18-pre-merge-${hwpack}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 20G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-stable-lsk-v3.18-pre-merge-${hwpack}/${BUILD_NUMBER}" - DTB_URL=${KERNEL_URL}/dtbs - [ "${hwpack}" != "mustang" ] && 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} - DTB_URL=${DTB_URL} - HWPACK_BUILD_URL=${HWPACK_BUILD_URL} - STARTUP_NSH=${STARTUP_NSH} - hwpack_type=${hwpack_type} - EOF - - inject: - properties-file: post_build_lava_parameters - - shell: | - case "${hwpack}" in - arndale|beaglebone|panda|vexpress) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=693 - export ROOTFS_BUILD_URL="http://releases.linaro.org/14.12/ubuntu/utopic-images/developer/linaro-utopic-developer-20141212-693.tar.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress-be) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv7ab-rootfs/gcc_version=4.9,label=build,rootfs=minimal/lastSuccessfulBuild/buildNumber` - export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv7ab-rootfs/gcc_version=4.9,label=build,rootfs=minimal/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` - export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/minimal-armv7ab-gcc-4.9/${ROOTFS_BUILD_NUMBER}/linaro-image-minimal-genericarmv7ab-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template-be.yaml > custom_lava_job_definition.json - ;; - mustang) - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8/linaro-image-minimal-initramfs-genericarmv8-20150618-754.rootfs.cpio.gz.u-boot" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress64) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150618-754.rootfs.tar.gz" - - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress64-be) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=201 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8b/linaro-image-minimal-initramfs-genericarmv8b-20150618-201.rootfs.cpio.gz" - - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template-be-ramdisk.yaml > custom_lava_job_definition.json - cat << EOF > post_build_lava_parameters - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json - LAVA_SERVER=${LAVA_SERVER} - EOF - ;; - esac - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - conditional-step: - condition-kind: strings-match - condition-string1: '${ENV,var="hwpack"}' - condition-string2: 'vexpress64' - steps: - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150618-754.rootfs.tar.gz" - - if grep -Fxq 'CONFIG_EFI=y' kernel.config; then - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template-efi.yaml > custom_lava_job_definition.json - else - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - fi - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=335 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv7a/linaro-image-lamp-genericarmv7a-20150618-335.rootfs.tar.gz" - - if grep -Fxq 'CONFIG_EFI=y' kernel.config; then - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template-armv7a-rootfs-efi.yaml > custom_lava_job_definition.json - else - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template-armv7a-rootfs.yaml > custom_lava_job_definition.json - fi - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=201 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8b/linaro-image-minimal-initramfs-genericarmv8b-20150618-201.rootfs.cpio.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template-be-ramdisk.yaml > custom_lava_job_definition.json - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - publishers: - - warnings: - console-log-parsers: - - 'GNU C Compiler 4 (gcc)' - - email-ext: - recipients: 'alex.shi@linaro.org, fathi.boudra@linaro.org' - attach-build-log: true - matrix-trigger: both - diff --git a/linux-linaro-stable-lsk-v3.18-rt-pre-merge.yaml b/linux-linaro-stable-lsk-v3.18-rt-pre-merge.yaml deleted file mode 100644 index 1f05579767..0000000000 --- a/linux-linaro-stable-lsk-v3.18-rt-pre-merge.yaml +++ /dev/null @@ -1,159 +0,0 @@ -- job: - name: linux-linaro-stable-lsk-v3.18-rt-pre-merge - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - parameters: - - string: - name: BUNDLE_STREAM_NAME - default: '/private/team/linaro/ci-linux-linaro-stable-lsk-v3.18-rt-pre-merge/' - - string: - name: LAVA_SERVER - default: 'validation.linaro.org/RPC2/' - disabled: true - node: linaro-kernel-ci - retry-count: 3 - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/kernel/linux-linaro-stable.git - refspec: +refs/heads/linux-linaro-lsk-v3.18-rt-test:refs/remotes/origin/linux-linaro-lsk-v3.18-rt-test - name: origin - branches: - - refs/heads/linux-linaro-lsk-v3.18-rt-test - skip-tag: true - shallow-clone: true - wipe-workspace: false - axes: - - axis: - type: user-defined - name: hwpack - values: - - arndale - - beaglebone -# - panda - - axis: - type: slave - name: label - values: - - linaro-kernel-ci - execution-strategy: - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: linaro-kernel-ci - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf builddir* - rm -rf out - rm -f hwpack_linaro-* linux-*.deb - } - - export LANG=C - CCACHE_DIR="${HOME}/srv/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export use_config_fragment=1 - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - case "${hwpack}" in - arndale) - export hwpack_type="arndale" - export board_types="arndale" - export kernel_flavour="arndale" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/preempt-rt.conf linaro/configs/arndale.conf" - export DEVICE_TYPE="arndale" - ;; - beaglebone) - export hwpack_type="beaglebone" - export board_types="beaglebone-black" - export kernel_flavour="am335x" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/preempt-rt.conf" - export DEVICE_TYPE="beaglebone-black" - ;; - panda) - export hwpack_type="panda" - export board_types="panda-es" - export kernel_flavour="omap" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/preempt-rt.conf linaro/configs/omap4.conf" - export DEVICE_TYPE="panda-es" - ;; - esac - - 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 - bash -x lci-build-tools/jenkins_kernel_build_inst - - mkdir -p out - cp -a builddir-*-${kernel_flavour}/.config out/kernel_config_${kernel_flavour} - mv hwpack_linaro-${hwpack_type}* out/ - - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-linaro-stable-lsk-v3.18-rt-pre-merge-${hwpack}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 20G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-stable-lsk-v3.18-rt-pre-merge-${hwpack}/${BUILD_NUMBER}" - HWPACK_BUILD_URL="${KERNEL_URL}/`ls out/hwpack_linaro-${hwpack_type}*.tar.gz |xargs basename`" - - # 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} - HWPACK_BUILD_URL=${HWPACK_BUILD_URL} - hwpack_type=${hwpack_type} - EOF - - inject: - properties-file: post_build_lava_parameters - - shell: | - case "${hwpack}" in - arndale|beaglebone|panda) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=335 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv7a/linaro-image-lamp-genericarmv7a-20150618-335.rootfs.tar.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18-rt-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - esac - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - publishers: - - warnings: - console-log-parsers: - - 'GNU C Compiler 4 (gcc)' - - email-ext: - recipients: 'alex.shi@linaro.org, fathi.boudra@linaro.org' - attach-build-log: true - matrix-trigger: both - diff --git a/linux-linaro-stable-lsk-v3.18-rt.yaml b/linux-linaro-stable-lsk-v3.18-rt.yaml deleted file mode 100644 index a4f6ae5744..0000000000 --- a/linux-linaro-stable-lsk-v3.18-rt.yaml +++ /dev/null @@ -1,159 +0,0 @@ -- job: - name: linux-linaro-stable-lsk-v3.18-rt - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - parameters: - - string: - name: BUNDLE_STREAM_NAME - default: '/private/team/linaro/ci-linux-linaro-stable-lsk-v3.18-rt/' - - string: - name: LAVA_SERVER - default: 'validation.linaro.org/RPC2/' - disabled: true - node: linaro-kernel-ci - retry-count: 3 - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/kernel/linux-linaro-stable.git - refspec: +refs/heads/linux-linaro-lsk-v3.18-rt:refs/remotes/origin/linux-linaro-lsk-v3.18-rt - name: origin - branches: - - refs/heads/linux-linaro-lsk-v3.18-rt - skip-tag: true - shallow-clone: true - wipe-workspace: false - axes: - - axis: - type: user-defined - name: hwpack - values: - - arndale - - beaglebone -# - panda - - axis: - type: slave - name: label - values: - - linaro-kernel-ci - execution-strategy: - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: linaro-kernel-ci - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf builddir* - rm -rf out - rm -f hwpack_linaro-* linux-*.deb - } - - export LANG=C - CCACHE_DIR="${HOME}/srv/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export use_config_fragment=1 - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - case "${hwpack}" in - arndale) - export hwpack_type="arndale" - export board_types="arndale" - export kernel_flavour="arndale" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/preempt-rt.conf linaro/configs/arndale.conf" - export DEVICE_TYPE="arndale" - ;; - beaglebone) - export hwpack_type="beaglebone" - export board_types="beaglebone-black" - export kernel_flavour="am335x" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/preempt-rt.conf" - export DEVICE_TYPE="beaglebone-black" - ;; - panda) - export hwpack_type="panda" - export board_types="panda-es" - export kernel_flavour="omap" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/preempt-rt.conf linaro/configs/omap4.conf" - export DEVICE_TYPE="panda-es" - ;; - esac - - 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 - bash -x lci-build-tools/jenkins_kernel_build_inst - - mkdir -p out - cp -a builddir-*-${kernel_flavour}/.config out/kernel_config_${kernel_flavour} - mv hwpack_linaro-${hwpack_type}* out/ - - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-linaro-stable-lsk-v3.18-rt-${hwpack}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 20G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-stable-lsk-v3.18-rt-${hwpack}/${BUILD_NUMBER}" - HWPACK_BUILD_URL="${KERNEL_URL}/`ls out/hwpack_linaro-${hwpack_type}*.tar.gz |xargs basename`" - - # 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} - HWPACK_BUILD_URL=${HWPACK_BUILD_URL} - hwpack_type=${hwpack_type} - EOF - - inject: - properties-file: post_build_lava_parameters - - shell: | - case "${hwpack}" in - arndale|beaglebone|panda) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=335 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv7a/linaro-image-lamp-genericarmv7a-20150618-335.rootfs.tar.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18-rt/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - esac - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - publishers: - - warnings: - console-log-parsers: - - 'GNU C Compiler 4 (gcc)' - - email-ext: - recipients: 'alex.shi@linaro.org, fathi.boudra@linaro.org' - attach-build-log: true - matrix-trigger: both - diff --git a/linux-linaro-stable-lsk-v3.18.yaml b/linux-linaro-stable-lsk-v3.18.yaml deleted file mode 100644 index af0da99f1d..0000000000 --- a/linux-linaro-stable-lsk-v3.18.yaml +++ /dev/null @@ -1,304 +0,0 @@ -- job: - name: linux-linaro-stable-lsk-v3.18 - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - parameters: - - string: - name: BUNDLE_STREAM_NAME - default: '/private/team/linaro/ci-linux-linaro-stable-lsk-v3.18/' - - string: - name: LAVA_SERVER - default: 'validation.linaro.org/RPC2/' - disabled: true - node: linaro-kernel-ci - retry-count: 3 - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/kernel/linux-linaro-stable.git - refspec: +refs/heads/linux-linaro-lsk-v3.18:refs/remotes/origin/linux-linaro-lsk-v3.18 - name: origin - branches: - - refs/heads/linux-linaro-lsk-v3.18 - skip-tag: true - shallow-clone: true - wipe-workspace: false - axes: - - axis: - type: user-defined - name: hwpack - values: - - arndale - - beaglebone - - mustang - - panda - - vexpress64 - - vexpress64-be - - axis: - type: slave - name: label - values: - - linaro-kernel-ci - execution-strategy: - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: linaro-kernel-ci - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf builddir* - rm -rf out - rm -f hwpack_linaro-* linux-*.deb - } - - export LANG=C - CCACHE_DIR="${HOME}/srv/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export use_config_fragment=1 - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - case "${hwpack}" in - arndale) - export hwpack_type="arndale" - export board_types="arndale" - export kernel_flavour="arndale" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/arndale.conf" - export DEVICE_TYPE="arndale" - ;; - beaglebone) - export hwpack_type="beaglebone" - export board_types="beaglebone-black" - export kernel_flavour="am335x" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf" - export DEVICE_TYPE="beaglebone-black" - ;; - mustang) - unset use_config_fragment - export make_deb=false - export make_bootwrapper=false - export make_install=true - export kernel_flavour="mustang" - export kernel_config="defconfig" - export DEVICE_TYPE="mustang" - export ARCH="arm64" - export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - ;; - panda) - export hwpack_type="panda" - export board_types="panda-es" - export kernel_flavour="omap" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/omap4.conf" - export DEVICE_TYPE="panda-es" - ;; - vexpress64) - export hwpack_type="vexpress64" - export board_types="rtsm_fvp_base-aemv8a" - export kernel_flavour="vexpress64" - export conf_filenames="arch/arm64/configs/defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/big-LITTLE-IKS.conf linaro/configs/vexpress64.conf" - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #export DEVICE_TYPE="rtsm_fvp_base-aemv8a" - export ARCH="arm64" - export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - cat << EOF > 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 - ;; - vexpress64-be) - export hwpack_type="lsk-vexpress64-be" - export board_types="rtsm_fvp_base-aemv8a" - export kernel_flavour="lsk-vexpress64-be" - export conf_filenames="arch/arm64/configs/defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/big-LITTLE-IKS.conf linaro/configs/vexpress64.conf linaro/configs/bigendian.conf" - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #export DEVICE_TYPE="rtsm_fvp_base-aemv8a" - export ARCH="arm64" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - cat << EOF > linaro/configs/bigendian.conf - CONFIG_CPU_BIG_ENDIAN=y - CONFIG_CPU_ENDIAN_BE8=y - # CONFIG_VIRTUALIZATION is not set - # CONFIG_MMC_DW_IDMAC is not set - # CONFIG_VIRTIO is not set - # CONFIG_VIRTIO_BLK is not set - # CONFIG_VIRTIO_MMIO is not set - EOF - ;; - esac - - 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 - bash -x lci-build-tools/jenkins_kernel_build_inst - - mkdir -p out - [ "${hwpack}" = "mustang" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true - [ "${hwpack}" = "vexpress" ] && python linaro-image-tools/linaro-hwpack-append -t `ls hwpack_linaro-${hwpack_type}*.tar.gz` -p `ls linux-image-*-linaro-*-dbg_*.deb` -i -d - [ "${hwpack}" = "vexpress64" ] && mv startup.nsh out/ - [ "${hwpack}" = "vexpress64" ] && cp -a builddir-*-${kernel_flavour}/.config kernel.config - cp -a builddir-*-${kernel_flavour}/.config out/kernel_config_${kernel_flavour} - [ "${hwpack}" != "mustang" ] && mv hwpack_linaro-${hwpack_type}* out/ - - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-linaro-stable-lsk-v3.18-${hwpack}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 20G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-stable-lsk-v3.18-${hwpack}/${BUILD_NUMBER}" - DTB_URL=${KERNEL_URL}/dtbs - [ "${hwpack}" != "mustang" ] && 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} - DTB_URL=${DTB_URL} - HWPACK_BUILD_URL=${HWPACK_BUILD_URL} - STARTUP_NSH=${STARTUP_NSH} - hwpack_type=${hwpack_type} - EOF - - inject: - properties-file: post_build_lava_parameters - - shell: | - case "${hwpack}" in - arndale|beaglebone|panda|vexpress) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=693 - export ROOTFS_BUILD_URL="http://releases.linaro.org/14.12/ubuntu/utopic-images/developer/linaro-utopic-developer-20141212-693.tar.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress-be) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv7ab-rootfs/gcc_version=4.9,label=build,rootfs=minimal/lastSuccessfulBuild/buildNumber` - export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv7ab-rootfs/gcc_version=4.9,label=build,rootfs=minimal/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` - export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/minimal-armv7ab-gcc-4.9/${ROOTFS_BUILD_NUMBER}/linaro-image-minimal-genericarmv7ab-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template-be.yaml > custom_lava_job_definition.json - ;; - mustang) - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8/linaro-image-minimal-initramfs-genericarmv8-20150618-754.rootfs.cpio.gz.u-boot" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress64) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150618-754.rootfs.tar.gz" - - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress64-be) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=201 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8b/linaro-image-minimal-initramfs-genericarmv8b-20150618-201.rootfs.cpio.gz" - - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template-be-ramdisk.yaml > custom_lava_job_definition.json - cat << EOF > post_build_lava_parameters - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json - LAVA_SERVER=${LAVA_SERVER} - EOF - ;; - esac - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - conditional-step: - condition-kind: strings-match - condition-string1: '${ENV,var="hwpack"}' - condition-string2: 'vexpress64' - steps: - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150618-754.rootfs.tar.gz" - - if grep -Fxq 'CONFIG_EFI=y' kernel.config; then - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template-efi.yaml > custom_lava_job_definition.json - else - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - fi - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=335 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv7a/linaro-image-lamp-genericarmv7a-20150618-335.rootfs.tar.gz" - - if grep -Fxq 'CONFIG_EFI=y' kernel.config; then - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template-armv7a-rootfs-efi.yaml > custom_lava_job_definition.json - else - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template-armv7a-rootfs.yaml > custom_lava_job_definition.json - fi - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=201 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8b/linaro-image-minimal-initramfs-genericarmv8b-20150618-201.rootfs.cpio.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v3.18/lava-job-definitions/${DEVICE_TYPE}/template-be-ramdisk.yaml > custom_lava_job_definition.json - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - publishers: - - warnings: - console-log-parsers: - - 'GNU C Compiler 4 (gcc)' - - email-ext: - recipients: 'alex.shi@linaro.org, fathi.boudra@linaro.org' - attach-build-log: true - matrix-trigger: both - diff --git a/linux-linaro-stable-lsk-v4.1-pre-merge.yaml b/linux-linaro-stable-lsk-v4.1-pre-merge.yaml deleted file mode 100644 index 212ba870a0..0000000000 --- a/linux-linaro-stable-lsk-v4.1-pre-merge.yaml +++ /dev/null @@ -1,304 +0,0 @@ -- job: - name: linux-linaro-stable-lsk-v4.1-pre-merge - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - parameters: - - string: - name: BUNDLE_STREAM_NAME - default: '/private/team/linaro/ci-linux-linaro-stable-lsk-v4.1-pre-merge/' - - string: - name: LAVA_SERVER - default: 'validation.linaro.org/RPC2/' - disabled: true - node: linaro-kernel-ci - retry-count: 3 - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/kernel/linux-linaro-stable.git - refspec: +refs/heads/linux-linaro-lsk-v4.1-test:refs/remotes/origin/linux-linaro-lsk-v4.1-test - name: origin - branches: - - refs/heads/linux-linaro-lsk-v4.1-test - skip-tag: true - shallow-clone: true - wipe-workspace: false - axes: - - axis: - type: user-defined - name: hwpack - values: - - arndale - - beaglebone - - mustang - - panda - - vexpress64 - - vexpress64-be - - axis: - type: slave - name: label - values: - - linaro-kernel-ci - execution-strategy: - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: linaro-kernel-ci - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf builddir* - rm -rf out - rm -f hwpack_linaro-* linux-*.deb - } - - export LANG=C - CCACHE_DIR="${HOME}/srv/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export use_config_fragment=1 - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - case "${hwpack}" in - arndale) - export hwpack_type="arndale" - export board_types="arndale" - export kernel_flavour="arndale" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/arndale.conf" - export DEVICE_TYPE="arndale" - ;; - beaglebone) - export hwpack_type="beaglebone" - export board_types="beaglebone-black" - export kernel_flavour="am335x" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf" - export DEVICE_TYPE="beaglebone-black" - ;; - mustang) - unset use_config_fragment - export make_deb=false - export make_bootwrapper=false - export make_install=true - export kernel_flavour="mustang" - export kernel_config="defconfig" - export DEVICE_TYPE="mustang" - export ARCH="arm64" - export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - ;; - panda) - export hwpack_type="panda" - export board_types="panda-es" - export kernel_flavour="omap" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/omap4.conf" - export DEVICE_TYPE="panda-es" - ;; - vexpress64) - export hwpack_type="vexpress64" - export board_types="rtsm_fvp_base-aemv8a" - export kernel_flavour="vexpress64" - export conf_filenames="arch/arm64/configs/defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/big-LITTLE-IKS.conf linaro/configs/vexpress64.conf" - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #export DEVICE_TYPE="rtsm_fvp_base-aemv8a" - export ARCH="arm64" - export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - cat << EOF > 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 - ;; - vexpress64-be) - export hwpack_type="lsk-vexpress64-be" - export board_types="rtsm_fvp_base-aemv8a" - export kernel_flavour="lsk-vexpress64-be" - export conf_filenames="arch/arm64/configs/defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/big-LITTLE-IKS.conf linaro/configs/vexpress64.conf linaro/configs/bigendian.conf" - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #export DEVICE_TYPE="rtsm_fvp_base-aemv8a" - export ARCH="arm64" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - cat << EOF > linaro/configs/bigendian.conf - CONFIG_CPU_BIG_ENDIAN=y - CONFIG_CPU_ENDIAN_BE8=y - # CONFIG_VIRTUALIZATION is not set - # CONFIG_MMC_DW_IDMAC is not set - # CONFIG_VIRTIO is not set - # CONFIG_VIRTIO_BLK is not set - # CONFIG_VIRTIO_MMIO is not set - EOF - ;; - esac - - 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 - bash -x lci-build-tools/jenkins_kernel_build_inst - - mkdir -p out - [ "${hwpack}" = "mustang" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true - [ "${hwpack}" = "vexpress" ] && python linaro-image-tools/linaro-hwpack-append -t `ls hwpack_linaro-${hwpack_type}*.tar.gz` -p `ls linux-image-*-linaro-*-dbg_*.deb` -i -d - [ "${hwpack}" = "vexpress64" ] && mv startup.nsh out/ - [ "${hwpack}" = "vexpress64" ] && cp -a builddir-*-${kernel_flavour}/.config kernel.config - cp -a builddir-*-${kernel_flavour}/.config out/kernel_config_${kernel_flavour} - [ "${hwpack}" != "mustang" ] && mv hwpack_linaro-${hwpack_type}* out/ - - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-linaro-stable-lsk-v4.1-pre-merge-${hwpack}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 20G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-stable-lsk-v4.1-pre-merge-${hwpack}/${BUILD_NUMBER}" - DTB_URL=${KERNEL_URL}/dtbs - [ "${hwpack}" != "mustang" ] && 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} - DTB_URL=${DTB_URL} - HWPACK_BUILD_URL=${HWPACK_BUILD_URL} - STARTUP_NSH=${STARTUP_NSH} - hwpack_type=${hwpack_type} - EOF - - inject: - properties-file: post_build_lava_parameters - - shell: | - case "${hwpack}" in - arndale|beaglebone|panda|vexpress) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=693 - export ROOTFS_BUILD_URL="http://releases.linaro.org/14.12/ubuntu/utopic-images/developer/linaro-utopic-developer-20141212-693.tar.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress-be) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv7ab-rootfs/gcc_version=4.9,label=build,rootfs=minimal/lastSuccessfulBuild/buildNumber` - export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv7ab-rootfs/gcc_version=4.9,label=build,rootfs=minimal/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` - export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/minimal-armv7ab-gcc-4.9/${ROOTFS_BUILD_NUMBER}/linaro-image-minimal-genericarmv7ab-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template-be.yaml > custom_lava_job_definition.json - ;; - mustang) - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8/linaro-image-minimal-initramfs-genericarmv8-20150618-754.rootfs.cpio.gz.u-boot" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress64) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150618-754.rootfs.tar.gz" - - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress64-be) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=201 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8b/linaro-image-minimal-initramfs-genericarmv8b-20150618-201.rootfs.cpio.gz" - - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template-be-ramdisk.yaml > custom_lava_job_definition.json - cat << EOF > post_build_lava_parameters - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json - LAVA_SERVER=${LAVA_SERVER} - EOF - ;; - esac - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - conditional-step: - condition-kind: strings-match - condition-string1: '${ENV,var="hwpack"}' - condition-string2: 'vexpress64' - steps: - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150618-754.rootfs.tar.gz" - - if grep -Fxq 'CONFIG_EFI=y' kernel.config; then - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template-efi.yaml > custom_lava_job_definition.json - else - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - fi - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=335 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv7a/linaro-image-lamp-genericarmv7a-20150618-335.rootfs.tar.gz" - - if grep -Fxq 'CONFIG_EFI=y' kernel.config; then - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template-armv7a-rootfs-efi.yaml > custom_lava_job_definition.json - else - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1-pre-merge/lava-job-definitions/${DEVICE_TYPE}/template-armv7a-rootfs.yaml > custom_lava_job_definition.json - fi - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=201 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8b/linaro-image-minimal-initramfs-genericarmv8b-20150618-201.rootfs.cpio.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template-be-ramdisk.yaml > custom_lava_job_definition.json - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - publishers: - - warnings: - console-log-parsers: - - 'GNU C Compiler 4 (gcc)' - - email-ext: - recipients: 'alex.shi@linaro.org, fathi.boudra@linaro.org' - attach-build-log: true - matrix-trigger: both - diff --git a/linux-linaro-stable-lsk-v4.1-rt.yaml b/linux-linaro-stable-lsk-v4.1-rt.yaml deleted file mode 100644 index 0715256a3c..0000000000 --- a/linux-linaro-stable-lsk-v4.1-rt.yaml +++ /dev/null @@ -1,159 +0,0 @@ -- job: - name: linux-linaro-stable-lsk-v4.1-rt - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - parameters: - - string: - name: BUNDLE_STREAM_NAME - default: '/private/team/linaro/ci-linux-linaro-stable-lsk-v4.1-rt/' - - string: - name: LAVA_SERVER - default: 'validation.linaro.org/RPC2/' - disabled: true - node: linaro-kernel-ci - retry-count: 3 - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/kernel/linux-linaro-stable.git - refspec: +refs/heads/linux-linaro-lsk-v4.1-rt:refs/remotes/origin/linux-linaro-lsk-v4.1-rt - name: origin - branches: - - refs/heads/linux-linaro-lsk-v4.1-rt - skip-tag: true - shallow-clone: true - wipe-workspace: false - axes: - - axis: - type: user-defined - name: hwpack - values: - - arndale - - beaglebone -# - panda - - axis: - type: slave - name: label - values: - - linaro-kernel-ci - execution-strategy: - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: linaro-kernel-ci - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf builddir* - rm -rf out - rm -f hwpack_linaro-* linux-*.deb - } - - export LANG=C - CCACHE_DIR="${HOME}/srv/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export use_config_fragment=1 - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - case "${hwpack}" in - arndale) - export hwpack_type="arndale" - export board_types="arndale" - export kernel_flavour="arndale" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/preempt-rt.conf linaro/configs/arndale.conf" - export DEVICE_TYPE="arndale" - ;; - beaglebone) - export hwpack_type="beaglebone" - export board_types="beaglebone-black" - export kernel_flavour="am335x" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/preempt-rt.conf" - export DEVICE_TYPE="beaglebone-black" - ;; - panda) - export hwpack_type="panda" - export board_types="panda-es" - export kernel_flavour="omap" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/preempt-rt.conf linaro/configs/omap4.conf" - export DEVICE_TYPE="panda-es" - ;; - esac - - 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 - bash -x lci-build-tools/jenkins_kernel_build_inst - - mkdir -p out - cp -a builddir-*-${kernel_flavour}/.config out/kernel_config_${kernel_flavour} - mv hwpack_linaro-${hwpack_type}* out/ - - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-linaro-stable-lsk-v4.1-rt-${hwpack}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 20G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-stable-lsk-v4.1-rt-${hwpack}/${BUILD_NUMBER}" - HWPACK_BUILD_URL="${KERNEL_URL}/`ls out/hwpack_linaro-${hwpack_type}*.tar.gz |xargs basename`" - - # 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} - HWPACK_BUILD_URL=${HWPACK_BUILD_URL} - hwpack_type=${hwpack_type} - EOF - - inject: - properties-file: post_build_lava_parameters - - shell: | - case "${hwpack}" in - arndale|beaglebone|panda) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=335 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv7a/linaro-image-lamp-genericarmv7a-20150618-335.rootfs.tar.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1-rt/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - esac - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - publishers: - - warnings: - console-log-parsers: - - 'GNU C Compiler 4 (gcc)' - - email-ext: - recipients: 'alex.shi@linaro.org, fathi.boudra@linaro.org' - attach-build-log: true - matrix-trigger: both - diff --git a/linux-linaro-stable-lsk-v4.1.yaml b/linux-linaro-stable-lsk-v4.1.yaml deleted file mode 100644 index f0ec7b20a9..0000000000 --- a/linux-linaro-stable-lsk-v4.1.yaml +++ /dev/null @@ -1,304 +0,0 @@ -- job: - name: linux-linaro-stable-lsk-v4.1 - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - parameters: - - string: - name: BUNDLE_STREAM_NAME - default: '/private/team/linaro/ci-linux-linaro-stable-lsk-v4.1/' - - string: - name: LAVA_SERVER - default: 'validation.linaro.org/RPC2/' - disabled: true - node: linaro-kernel-ci - retry-count: 3 - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/kernel/linux-linaro-stable.git - refspec: +refs/heads/linux-linaro-lsk-v4.1:refs/remotes/origin/linux-linaro-lsk-v4.1 - name: origin - branches: - - refs/heads/linux-linaro-lsk-v4.1 - skip-tag: true - shallow-clone: true - wipe-workspace: false - axes: - - axis: - type: user-defined - name: hwpack - values: - - arndale - - beaglebone - - mustang - - panda - - vexpress64 - - vexpress64-be - - axis: - type: slave - name: label - values: - - linaro-kernel-ci - execution-strategy: - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: linaro-kernel-ci - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf builddir* - rm -rf out - rm -f hwpack_linaro-* linux-*.deb - } - - export LANG=C - CCACHE_DIR="${HOME}/srv/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export use_config_fragment=1 - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - case "${hwpack}" in - arndale) - export hwpack_type="arndale" - export board_types="arndale" - export kernel_flavour="arndale" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/arndale.conf" - export DEVICE_TYPE="arndale" - ;; - beaglebone) - export hwpack_type="beaglebone" - export board_types="beaglebone-black" - export kernel_flavour="am335x" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf" - export DEVICE_TYPE="beaglebone-black" - ;; - mustang) - unset use_config_fragment - export make_deb=false - export make_bootwrapper=false - export make_install=true - export kernel_flavour="mustang" - export kernel_config="defconfig" - export DEVICE_TYPE="mustang" - export ARCH="arm64" - export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - ;; - panda) - export hwpack_type="panda" - export board_types="panda-es" - export kernel_flavour="omap" - export conf_filenames="arch/arm/configs/multi_v7_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/omap4.conf" - export DEVICE_TYPE="panda-es" - ;; - vexpress64) - export hwpack_type="vexpress64" - export board_types="rtsm_fvp_base-aemv8a" - export kernel_flavour="vexpress64" - export conf_filenames="arch/arm64/configs/defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/big-LITTLE-IKS.conf linaro/configs/vexpress64.conf" - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #export DEVICE_TYPE="rtsm_fvp_base-aemv8a" - export ARCH="arm64" - export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - cat << EOF > 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 - ;; - vexpress64-be) - export hwpack_type="lsk-vexpress64-be" - export board_types="rtsm_fvp_base-aemv8a" - export kernel_flavour="lsk-vexpress64-be" - export conf_filenames="arch/arm64/configs/defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/big-LITTLE-IKS.conf linaro/configs/vexpress64.conf linaro/configs/bigendian.conf" - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #export DEVICE_TYPE="rtsm_fvp_base-aemv8a" - export ARCH="arm64" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - cat << EOF > linaro/configs/bigendian.conf - CONFIG_CPU_BIG_ENDIAN=y - CONFIG_CPU_ENDIAN_BE8=y - # CONFIG_VIRTUALIZATION is not set - # CONFIG_MMC_DW_IDMAC is not set - # CONFIG_VIRTIO is not set - # CONFIG_VIRTIO_BLK is not set - # CONFIG_VIRTIO_MMIO is not set - EOF - ;; - esac - - 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 - bash -x lci-build-tools/jenkins_kernel_build_inst - - mkdir -p out - [ "${hwpack}" = "mustang" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true - [ "${hwpack}" = "vexpress" ] && python linaro-image-tools/linaro-hwpack-append -t `ls hwpack_linaro-${hwpack_type}*.tar.gz` -p `ls linux-image-*-linaro-*-dbg_*.deb` -i -d - [ "${hwpack}" = "vexpress64" ] && mv startup.nsh out/ - [ "${hwpack}" = "vexpress64" ] && cp -a builddir-*-${kernel_flavour}/.config kernel.config - cp -a builddir-*-${kernel_flavour}/.config out/kernel_config_${kernel_flavour} - [ "${hwpack}" != "mustang" ] && mv hwpack_linaro-${hwpack_type}* out/ - - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-linaro-stable-lsk-v4.1-${hwpack}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 20G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-stable-lsk-v4.1-${hwpack}/${BUILD_NUMBER}" - DTB_URL=${KERNEL_URL}/dtbs - [ "${hwpack}" != "mustang" ] && 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} - DTB_URL=${DTB_URL} - HWPACK_BUILD_URL=${HWPACK_BUILD_URL} - STARTUP_NSH=${STARTUP_NSH} - hwpack_type=${hwpack_type} - EOF - - inject: - properties-file: post_build_lava_parameters - - shell: | - case "${hwpack}" in - arndale|beaglebone|panda|vexpress) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=693 - export ROOTFS_BUILD_URL="http://releases.linaro.org/14.12/ubuntu/utopic-images/developer/linaro-utopic-developer-20141212-693.tar.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress-be) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv7ab-rootfs/gcc_version=4.9,label=build,rootfs=minimal/lastSuccessfulBuild/buildNumber` - export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv7ab-rootfs/gcc_version=4.9,label=build,rootfs=minimal/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` - export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/minimal-armv7ab-gcc-4.9/${ROOTFS_BUILD_NUMBER}/linaro-image-minimal-genericarmv7ab-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template-be.yaml > custom_lava_job_definition.json - ;; - mustang) - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8/linaro-image-minimal-initramfs-genericarmv8-20150618-754.rootfs.cpio.gz.u-boot" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress64) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150618-754.rootfs.tar.gz" - - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - ;; - vexpress64-be) - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=201 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8b/linaro-image-minimal-initramfs-genericarmv8b-20150618-201.rootfs.cpio.gz" - - # Per Kevin's request - skip LAVA job submission to FVP model - # https://bugs.linaro.org/show_bug.cgi?id=1622 - #./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template-be-ramdisk.yaml > custom_lava_job_definition.json - cat << EOF > post_build_lava_parameters - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json - LAVA_SERVER=${LAVA_SERVER} - EOF - ;; - esac - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - conditional-step: - condition-kind: strings-match - condition-string1: '${ENV,var="hwpack"}' - condition-string2: 'vexpress64' - steps: - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=754 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150618-754.rootfs.tar.gz" - - if grep -Fxq 'CONFIG_EFI=y' kernel.config; then - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template-efi.yaml > custom_lava_job_definition.json - else - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - fi - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=335 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/lamp-armv7a/linaro-image-lamp-genericarmv7a-20150618-335.rootfs.tar.gz" - - if grep -Fxq 'CONFIG_EFI=y' kernel.config; then - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template-armv7a-rootfs-efi.yaml > custom_lava_job_definition.json - else - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template-armv7a-rootfs.yaml > custom_lava_job_definition.json - fi - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - shell: | - DEVICE_TYPE=juno - - # Get rootfs URL - export ROOTFS_BUILD_NUMBER=201 - export ROOTFS_BUILD_URL="http://releases.linaro.org/15.06/openembedded/images/minimal-initramfs-armv8b/linaro-image-minimal-initramfs-genericarmv8b-20150618-201.rootfs.cpio.gz" - - ./lci-build-tools/yaml-to-json.py configs/linux-linaro-stable-lsk-v4.1/lava-job-definitions/${DEVICE_TYPE}/template-be-ramdisk.yaml > custom_lava_job_definition.json - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - publishers: - - warnings: - console-log-parsers: - - 'GNU C Compiler 4 (gcc)' - - email-ext: - recipients: 'alex.shi@linaro.org, fathi.boudra@linaro.org' - attach-build-log: true - matrix-trigger: both - diff --git a/linux-ltsi.yaml b/linux-ltsi.yaml deleted file mode 100644 index 9b4e02b906..0000000000 --- a/linux-ltsi.yaml +++ /dev/null @@ -1,131 +0,0 @@ -- job: - name: linux-ltsi - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - parameters: - - file: - name: defconfig.properties - - password: - name: LAVA_USER - default: ${LAVA_USER} - - password: - name: LAVA_TOKEN - default: ${LAVA_TOKEN} - disabled: true - node: linaro-kernel-ci - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git - refspec: +refs/heads/linux-3.14.y:refs/remotes/origin/linux-3.14.y - name: origin - branches: - - refs/heads/linux-3.14.y - skip-tag: true - shallow-clone: true - wipe-workspace: false - axes: - - axis: - type: user-defined - name: ARCH - values: - - arm - - arm64 - - axis: - type: dynamic - name: defconfig - values: - - defconfig_list - - axis: - type: slave - name: label - values: - - linaro-kernel-ci - execution-strategy: - combination-filter: | - (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig") - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: linaro-kernel-ci - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf lci-build-tools - rm -rf builddir* - rm -rf out - rm -rf configs - } - - export LANG=C - CCACHE_DIR="${HOME}/srv/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export make_silent=true - export make_deb=false - export make_bootwrapper=false - export make_install=true - export kernel_flavour="${defconfig}" - export kernel_config="${defconfig}_defconfig" - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - [ "${ARCH}" = "arm64" ] && export kernel_config="${defconfig}" - [ "${ARCH}" = "arm64" ] && { - export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - } - - git rev-parse -q --verify 3.14.4-ltsi > /dev/null && git branch -D 3.14.4-ltsi - test -d ltsi-kernel || git clone --depth 1 http://git.linuxfoundation.org/ltsi-kernel.git - bash ltsi-kernel/scripts/generate_git - - test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools - bash lci-build-tools/jenkins_kernel_build_inst - - # XXX b2120 vmlinux - [ "${defconfig}" = "multi_v7" ] && cp -a builddir-*-${kernel_flavour}/vmlinux out/ || true - # XXX mustang uImage - [ "${ARCH}" = "arm64" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true - - # Publish to snapshots - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-ltsi/${defconfig}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 30G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - # Start LAVA dance - test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git - - export BUNDLE_STREAM_NAME=/anonymous/fabo/ - export LAVA_SERVER=validation.linaro.org/RPC2/ - export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-ltsi/${defconfig}/${BUILD_NUMBER} - export DTB_URL=${KERNEL_URL}/dtbs - export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz - [ "${ARCH}" = "arm64" ] && export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv8/linaro-image-minimal-genericarmv8-20141122-721.rootfs.tar.gz - - # Hack to use submit LAVA jobs directly - python lci-build-tools/dtb-to-device.py - diff --git a/linux-mainline.yaml b/linux-mainline.yaml deleted file mode 100644 index 3916511729..0000000000 --- a/linux-mainline.yaml +++ /dev/null @@ -1,134 +0,0 @@ -- job: - name: linux-mainline - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - parameters: - - file: - name: defconfig.properties - - password: - name: LAVA_USER - default: ${LAVA_USER} - - password: - name: LAVA_TOKEN - default: ${LAVA_TOKEN} - disabled: true - node: linaro-kernel-ci - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.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: ARCH - values: - - arm - - arm64 - - axis: - type: dynamic - name: defconfig - values: - - defconfig_list - - axis: - type: slave - name: label - values: - - linaro-kernel-ci - execution-strategy: - combination-filter: | - (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig") - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: linaro-kernel-ci - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf lci-build-tools - rm -rf builddir* - rm -rf out - rm -rf configs - } - - export LANG=C - CCACHE_DIR="${HOME}/srv/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export make_silent=true - export make_deb=false - export make_bootwrapper=false - export make_install=true - export kernel_flavour="${defconfig}" - export kernel_config="${defconfig}_defconfig" - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - [ "${ARCH}" = "arm64" ] && export kernel_config="${defconfig}" - [ "${ARCH}" = "arm64" ] && { - export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - } - - # XXX work around vexpress defconfig - #echo "CONFIG_DEVTMPFS=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_DEVTMPFS_MOUNT=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_REGULATOR=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_REGULATOR_VEXPRESS=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_EXT4_FS=y" >> arch/arm/configs/vexpress_defconfig - - test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools - bash lci-build-tools/jenkins_kernel_build_inst - - # XXX b2120 vmlinux - [ "${defconfig}" = "multi_v7" ] && cp -a builddir-*-${kernel_flavour}/vmlinux out/ || true - # XXX mustang uImage - [ "${ARCH}" = "arm64" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true - - # Publish to snapshots - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-mainline/${defconfig}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 30G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - # Start LAVA dance - test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git - - export BUNDLE_STREAM_NAME=/anonymous/fabo/ - export LAVA_SERVER=validation.linaro.org/RPC2/ - export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-mainline/${defconfig}/${BUILD_NUMBER} - export DTB_URL=${KERNEL_URL}/dtbs - export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz - [ "${ARCH}" = "arm64" ] && export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv8/linaro-image-minimal-genericarmv8-20141122-721.rootfs.tar.gz - - # Hack to use submit LAVA jobs directly - python lci-build-tools/dtb-to-device.py - diff --git a/linux-next.yaml b/linux-next.yaml deleted file mode 100644 index a46c5f931b..0000000000 --- a/linux-next.yaml +++ /dev/null @@ -1,134 +0,0 @@ -- job: - name: linux-next - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - parameters: - - file: - name: defconfig.properties - - password: - name: LAVA_USER - default: ${LAVA_USER} - - password: - name: LAVA_TOKEN - default: ${LAVA_TOKEN} - disabled: true - node: linaro-kernel-ci - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.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: ARCH - values: - - arm - - arm64 - - axis: - type: dynamic - name: defconfig - values: - - defconfig_list - - axis: - type: slave - name: label - values: - - linaro-kernel-ci - execution-strategy: - combination-filter: | - (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig") - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: linaro-kernel-ci - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf lci-build-tools - rm -rf builddir* - rm -rf out - rm -rf configs - } - - export LANG=C - CCACHE_DIR="${HOME}/srv/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export make_silent=true - export make_deb=false - export make_bootwrapper=false - export make_install=true - export kernel_flavour="${defconfig}" - export kernel_config="${defconfig}_defconfig" - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - [ "${ARCH}" = "arm64" ] && export kernel_config="${defconfig}" - [ "${ARCH}" = "arm64" ] && { - export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - } - - # XXX work around vexpress defconfig - #echo "CONFIG_DEVTMPFS=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_DEVTMPFS_MOUNT=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_REGULATOR=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_REGULATOR_VEXPRESS=y" >> arch/arm/configs/vexpress_defconfig - #echo "CONFIG_EXT4_FS=y" >> arch/arm/configs/vexpress_defconfig - - test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools - bash lci-build-tools/jenkins_kernel_build_inst - - # XXX b2120 vmlinux - [ "${defconfig}" = "multi_v7" ] && cp -a builddir-*-${kernel_flavour}/vmlinux out/ || true - # XXX mustang uImage - [ "${ARCH}" = "arm64" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true - - # Publish to snapshots - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-next/${defconfig}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 30G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - # Start LAVA dance - test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git - - export BUNDLE_STREAM_NAME=/anonymous/fabo/ - export LAVA_SERVER=validation.linaro.org/RPC2/ - export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-next/${defconfig}/${BUILD_NUMBER} - export DTB_URL=${KERNEL_URL}/dtbs - export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz - [ "${ARCH}" = "arm64" ] && export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv8/linaro-image-minimal-genericarmv8-20141122-721.rootfs.tar.gz - - # Hack to use submit LAVA jobs directly - python lci-build-tools/dtb-to-device.py - diff --git a/linux-stable.yaml b/linux-stable.yaml deleted file mode 100644 index cafdadee93..0000000000 --- a/linux-stable.yaml +++ /dev/null @@ -1,133 +0,0 @@ -- job: - name: linux-stable - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - parameters: - - file: - name: defconfig.properties - - password: - name: LAVA_USER - default: ${LAVA_USER} - - password: - name: LAVA_TOKEN - default: ${LAVA_TOKEN} - disabled: true - node: linaro-kernel-ci - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git - refspec: +refs/heads/linux-3.14.y:refs/remotes/origin/linux-3.14.y - name: origin - branches: - - refs/heads/linux-3.14.y - skip-tag: true - shallow-clone: true - wipe-workspace: false - axes: - - axis: - type: user-defined - name: ARCH - values: - - arm - - arm64 - - axis: - type: dynamic - name: defconfig - values: - - defconfig_list - - axis: - type: slave - name: label - values: - - linaro-kernel-ci - execution-strategy: - combination-filter: | - (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig") - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: linaro-kernel-ci - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf lci-build-tools - rm -rf builddir* - rm -rf out - rm -rf configs - } - - export LANG=C - CCACHE_DIR="${HOME}/srv/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export make_silent=true - export make_deb=false - export make_bootwrapper=false - export make_install=true - export kernel_flavour="${defconfig}" - export kernel_config="${defconfig}_defconfig" - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - [ "${ARCH}" = "arm64" ] && export kernel_config="${defconfig}" - [ "${ARCH}" = "arm64" ] && { - export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz" - } - - # XXX upstream doesn't use config fragments - pick up from LSK - #mkdir -p linaro/configs - #for conf_filename in ${conf_filenames[@]}; do - # wget -q "https://git.linaro.org/gitweb?p=kernel/linux-linaro-stable.git;a=blob_plain;f=${conf_filename};hb=refs/heads/linux-linaro-lsk-v3.10" -O ${conf_filename} - #done - - test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools - bash lci-build-tools/jenkins_kernel_build_inst - - # XXX b2120 vmlinux - [ "${defconfig}" = "multi_v7" ] && cp -a builddir-*-${kernel_flavour}/vmlinux out/ || true - # XXX mustang uImage - [ "${ARCH}" = "arm64" ] && mkimage -A arm -O linux -C none -T kernel -a 0x00080000 -e 0x00080000 -n Linux -d out/Image out/uImage || true - - # Publish to snapshots - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-stable/${defconfig}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 30G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - # Start LAVA dance - test -d configs || git clone --depth 1 http://git.linaro.org/ci/job/configs.git - - export BUNDLE_STREAM_NAME=/anonymous/fabo/ - export LAVA_SERVER=validation.linaro.org/RPC2/ - export KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-stable/${defconfig}/${BUILD_NUMBER} - export DTB_URL=${KERNEL_URL}/dtbs - export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141121-301.rootfs.tar.gz - [ "${ARCH}" = "arm64" ] && export ROOTFS_BUILD_URL=http://releases.linaro.org/14.11/openembedded/images/minimal-armv8/linaro-image-minimal-genericarmv8-20141122-721.rootfs.tar.gz - - # Hack to use submit LAVA jobs directly - python lci-build-tools/dtb-to-device.py - diff --git a/milo-kbuilder.yaml b/milo-kbuilder.yaml deleted file mode 100644 index 0659f44ce7..0000000000 --- a/milo-kbuilder.yaml +++ /dev/null @@ -1,235 +0,0 @@ -- job: - name: milo-kbuilder - project-type: matrix - defaults: global - parameters: - - string: - name: ARCH_LIST - default: 'arm' - - string: - name: DEFCONFIG_LIST - default: 'defconfig' - - string: - name: TREE - default: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' - - string: - name: BRANCH - default: 'master' - - string: - name: COMMIT_ID - default: '' - - string: - name: TREE_NAME - default: 'milo-test' - - bool: - name: PUBLISH - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - khilman@kernel.org: - - job-read - - job-extended-read - - job-build - - job-cancel - milo.casagrande@linaro.org: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 3 - num-to-keep: 5 - - throttle: - max-total: 6 - option: project - - inject - disabled: true - node: x86_64 - retry-count: 3 - child-workspace: . - display-name: 'DELETE ME' - auth-token: ${AUTH_TOKEN} - axes: - - axis: - type: slave - name: label - values: - - kernel_build_vps - - axis: - type: dynamic - name: arch - values: - - ARCH_LIST - - axis: - type: dynamic - name: defconfig - values: - - DEFCONFIG_LIST - wrappers: - - timestamps - - matrix-tie-parent: - node: x86_64 - - timeout: - timeout: 45 - builders: - - shell: | - #!/bin/bash - - set -x - - # local copy of build scripts - if [ ! -d local ]; then - mkdir -p local - (cd local; git clone --depth=1 https://github.com/MiloCasagrande/kernelci-build.git) - fi - - (cd local/kernelci-build; git pull) - export PATH=${WORKSPACE}/local/kernelci-build:${PATH} - - # Ensure TREE URL is decoded - TREE=`python -c "import urllib, sys; print urllib.unquote(sys.argv[1])" ${TREE}` - BRANCH=`python -c "import urllib, sys; print urllib.unquote(sys.argv[1])" ${BRANCH}` - - # - # Kernel tree -- clone Linus' tree and add ${TREE} as remote. This takes advantage - # of all the tags in Linus' tree for more useful git-describe output. - # - MIRROR=/srv/mirrors/linux.git - REFSPEC=+refs/heads/${BRANCH}:refs/remotes/origin/${BRANCH} - if [ -e ${TREE_NAME} ]; then - cd ${TREE_NAME} && \ - timeout --preserve-status -k 10s 5m git fetch --tags linus && \ - timeout --preserve-status -k 10s 5m git fetch --tags ${TREE} ${REFSPEC} - else - git clone -o linus --reference ${MIRROR} https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ${TREE_NAME} - cd ${TREE_NAME} && \ - git remote add origin ${TREE} && \ - timeout --preserve-status -k 10s 5m git fetch origin - # (cd ${TREE_NAME}; git remote add origin ${TREE}; git fetch origin ${REFSPEC}) - fi - if [ $? != 0 ]; then - exit 1 - fi - - cd ${TREE_NAME} - #rm -rf _install_ - git clean -df - timeout --preserve-status -k 10s 5m git fetch origin ${REFSPEC} - if [ $? != 0 ]; then - exit 1 - fi - if [ -z ${COMMIT_ID} ]; then - git checkout -f origin/${BRANCH} - else - git checkout -f origin/${BRANCH} - git branch -D local/${BRANCH} - git checkout -b local/${BRANCH} -f ${COMMIT_ID} - fi - if [ $? != 0 ]; then - exit 1 - fi - - # Ensure abbrev SHA1s are 12 chars - git config --global core.abbrev 12 - - # Only use v3.x tags in arm-soc tree - unset describe_args - [ ${TREE_NAME} = "arm-soc" ] && describe_args="--match=v\*" - GIT_DESCRIBE=$(eval git describe $describe_args) - GIT_DESCRIBE=${GIT_DESCRIBE//\//_} # replace any '/' with '_' - echo GIT_DESCRIBE=${GIT_DESCRIBE} > env.properties - - #export CCACHE_DISABLE=true - - # Convert defconfig of form "foo+bar" into "foo -c bar" - defconfig_translated=`echo ${defconfig} | sed 's/\+/ \-c /g'` - - # Build kernel/modules and install (default: ./_install_ dir) - export LANG=C - export ARCH=${arch} - if [ $PUBLISH != true ]; then - buildv2.py -i -q -d -c ${defconfig_translated} - else - buildv2.py -i -q -d -p production -c ${defconfig_translated} - fi - RC=$? - - # Remove the build output (important stuff in _install_ dir) - rm -rf build - - echo "Kernel build result: ${RC}" - echo ${RC} > build.result - - # Always return success here so pass/fail results can still be published - exit 0 - - - inject: - properties-file: ${TREE_NAME}/env.properties - - - shell: | - #!/bin/bash - # - # This script determines overall result of jenkins job - # - exit `cat ${TREE_NAME}/build.result` - - echo "Old build number" - echo $PREV_BUILD_NUMBER - - BUILD_DIR=${TREE_NAME}/_install_/${GIT_DESCRIBE}/${arch}-${defconfig} - BUILD_META=${BUILD_DIR}/build.meta - - grep build_result: ${BUILD_META} |grep -cq PASS - RC=$? - - exit $RC - publishers: - - groovy-postbuild: - script: | - def build_number = manager.build.getEnvironment(manager.listener)['BUILD_NUMBER'] - def tree_name = manager.build.getEnvironment(manager.listener)['TREE_NAME'] - def branch = manager.build.getEnvironment(manager.listener)["BRANCH"] - def description = manager.build.getEnvironment(manager.listener)['GIT_DESCRIBE'] - def arch = manager.build.getEnvironment(manager.listener)['ARCH_LIST'] - def publish = manager.build.getEnvironment(manager.listener)['PUBLISH'] - def resultsUrl="https://kernelci.org/build/${tree_name}/kernel/${description}/" - - def jobDescription = " ARCH: ${arch}" - // FIXME: resultsURL is only valid when PUBLISH = "true" - jobDescription = jobDescription + ", Results db" - - manager.build.setDisplayName("#" + build_number + "-" + tree_name + '/' + branch + "-" + description) - manager.build.setDescription(jobDescription) - - def cause = manager.build.getAction(hudson.model.CauseAction.class).getCauses() - def upstreamBuild = cause[0].upstreamBuild - def upstreamProject = cause[0].upstreamProject - def jobName = upstreamProject - def jobConfiguration = upstreamProject - - // Multi-configuration project - if (upstreamProject.contains("/")) { - jobName = upstreamProject.split("/")[0] - jobConfiguration = upstreamProject.split("/")[1] - } - - def jobs = hudson.model.Hudson.instance.getItem(jobName).getAllJobs() - - for (job in jobs) { - if(job.name == jobConfiguration) { - job.getLastBuild().setDisplayName("#" + build_number + "-" + tree_name + '/' + branch + "-" + description) - job.getLastBuild().setDescription(jobDescription) - } - } - - trigger-parameterized-builds: - - project: milo-kernel-build-complete - property-file: ${TREE_NAME}/env.properties - condition: ALWAYS - predefined-parameters: | - PUBLISH=${PUBLISH} - TREE_NAME=${TREE_NAME} - ARCH_LIST=${ARCH_LIST} - GIT_DESCRIBE=${GIT_DESCRIBE} - diff --git a/milo-kernel-build-complete.yaml b/milo-kernel-build-complete.yaml deleted file mode 100644 index 9d93388e51..0000000000 --- a/milo-kernel-build-complete.yaml +++ /dev/null @@ -1,55 +0,0 @@ -- job: - name: milo-kernel-build-complete - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 5 - numToKeep: 5 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - milo.casagrande@linaro.org: - - job-read - - job-extended-read - - job-build - - job-cancel - parameters: - - string: - name: TREE_NAME - default: '' - - string: - name: PUBLISH - default: '' - - string: - name: GIT_DESCRIBE - default: '' - - string: - name: ARCH_LIST - default: '' - - text: - name: RESULTS - default: 'No Results' - disabled: true - node: kci-x86_64-build-complete-01 - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/MiloCasagrande/kernelci-build-complete.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - basedir: local/kernelci-build - skip-tag: true - shallow-clone: true - wipe-workspace: false - wrappers: - - timestamps - builders: - - shell: | - #!/bin/bash - - bash -x ./local/kernelci-build/build-complete.sh - diff --git a/netlib-java.yaml b/netlib-java.yaml deleted file mode 100644 index 2618fb15a9..0000000000 --- a/netlib-java.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- job: - name: netlib-java - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - artifact-num-to-keep: 1 - parameters: - - string: - name: JDK_URL - default: 'http://openjdk.linaro.org/releases/jdk8u-server-release-1609.tar.xz' - - string: - name: MAVEN_URL - default: 'http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz' - disabled: true - node: docker-jessie-arm64 - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/fommil/netlib-java.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - basedir: netlib-java - skip-tag: true - shallow-clone: true - wipe-workspace: false - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: - !include-raw: netlib-java/builder.sh - publishers: - - archive: - artifacts: 'com/github/fommil/**' - diff --git a/netlib-java/builder.sh b/netlib-java/builder.sh deleted file mode 100755 index 47e7695458..0000000000 --- a/netlib-java/builder.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/bash - -set -e - -# install pre-requisites -sudo apt-get -q=2 update -sudo apt-get -q=2 install -y --no-install-recommends \ - build-essential \ - gfortran \ - git \ - libblas-dev \ - liblapack-dev - -# download jniloader -git clone --depth 1 https://github.com/fommil/jniloader.git - -# download OpenJDK 8 and Maven 3.3.9 explicitely -wget --progress=dot -e dotbytes=2M ${JDK_URL} ${MAVEN_URL} -tar -Jxf jdk*.tar.xz -tar -zxf apache-maven-*.tar.gz - -# replace cacerts with distro-supplied -cd jdk*/jre/lib/security/ -rm -f cacerts -ln -s /etc/ssl/certs/java/cacerts - -# set JAVA_HOME -cd ${WORKSPACE}/jdk* -export JAVA_HOME=${PWD} - -# set M3_HOME -cd ${WORKSPACE}/apache-maven-* -export M3_HOME=${PWD} - -# set PATH -export PATH=${JAVA_HOME}/bin:${M3_HOME}/bin:${PATH} -java -version -mvn -version - -# build and hookup jniloader -cd ${WORKSPACE}/jniloader -mvn -B -Dgpg.skip clean install - -cat << EOF > ${WORKSPACE}/netlib-java/bump-lombok-jniloader-version.patch ---- a/pom.xml -+++ b/pom.xml -@@ -181,7 +181,7 @@ - - org.projectlombok - lombok -- 1.12.2 -+ 1.12.6 - provided - - -@@ -209,7 +209,7 @@ - - com.github.fommil - jniloader -- 1.1 -+ 1.2-SNAPSHOT - - - net.sf.opencsv -EOF - -# build and hookup netlib-java -ARCH=$(uname -m) -(cd ${WORKSPACE}/netlib-java && patch -p1 < bump-lombok-jniloader-version.patch) -(cd ${WORKSPACE}/netlib-java/generator && mvn -B -Dgpg.skip clean install) -(cd ${WORKSPACE}/netlib-java/core && mvn -B -Dgpg.skip clean install) -(cd ${WORKSPACE}/netlib-java && mvn -B -Dgpg.skip -P${ARCH}-profile clean install) -(cd ${WORKSPACE}/netlib-java/native_ref/xbuilds && mvn -B -Dgpg.skip -P${ARCH}-profile clean install) -(cd ${WORKSPACE}/netlib-java/native_system/xbuilds && mvn -B -Dgpg.skip -P${ARCH}-profile clean install) - -# prepare to archive the build artifacts -rm -rf ${WORKSPACE}/com && mkdir -p ${WORKSPACE}/com/github -cp -a ${HOME}/.m2/repository/com/github/fommil ${WORKSPACE}/com/github/ diff --git a/odp-dpdk-ofp-nginx-httperf.yaml b/odp-dpdk-ofp-nginx-httperf.yaml deleted file mode 100644 index 8159397c93..0000000000 --- a/odp-dpdk-ofp-nginx-httperf.yaml +++ /dev/null @@ -1,55 +0,0 @@ -- job: - name: odp-dpdk-ofp-nginx-httperf - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - artifact-num-to-keep: 30 - parameters: - - string: - name: LAVA_SERVER - default: 'lng.validation.linaro.org/RPC2/' - - string: - name: DEB_REPO_URL - default: 'http://deb.opendataplane.org' - disabled: true - node: master - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - shell: | - #!/bin/bash -e - - rm -rf configs - git clone --depth 1 http://git.linaro.org/ci/job/configs.git - - sed -e "s|\${DEB_REPO_URL}|${DEB_REPO_URL}|" \ - configs/odp/lava-job-definitions/x86/odp-dpdk-ofp-nginx.yaml \ - > custom_lava_job_definition.yaml - - cat << EOF > post_build_lava_parameters - CUSTOM_YAML_URL=${JOB_URL}/ws/custom_lava_job_definition.yaml - DEVICE_TYPE=x86 - LAVA_SERVER=${LAVA_SERVER} - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - publishers: - - email: - recipients: 'fathi.boudra@linaro.org josep.puigdemont@linaro.org' - diff --git a/odpi-bigtop-deb.yaml b/odpi-bigtop-deb.yaml deleted file mode 100644 index 353548ee13..0000000000 --- a/odpi-bigtop-deb.yaml +++ /dev/null @@ -1,162 +0,0 @@ -- job: - name: odpi-bigtop-deb - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - artifactNumToKeep: 1 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - parameters: - - string: - name: ANT_OPTS - default: '-Xmx8G' - - string: - name: MAVEN_OPTS - default: '-Xmx8G' - - string: - name: JDK_URL - default: 'http://openjdk.linaro.org/releases/jdk8u-server-release-1609.tar.xz' - - string: - name: MAVEN_URL - default: 'http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz' - - string: - name: SCALA_URL - default: 'http://downloads.typesafe.com/scala/2.11.7/scala-2.11.7.tgz' - - string: - name: NODE_URL - default: 'https://nodejs.org/dist/v4.2.1/node-v4.2.1.tar.gz' - - string: - name: PROTOBUF_URL - default: 'https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz' - disabled: true - node: docker-jessie-arm64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - shell: | - #!/bin/bash - - set -ex - - # number of CPU_CORES to build with - export CPU_CORES=$(getconf _NPROCESSORS_ONLN) - - # install pre-requisites - sudo apt-get update - sudo apt-get install -y --no-install-recommends \ - ant \ - asciidoc \ - chrpath \ - cmake \ - fuse \ - libcppunit-dev \ - libfuse-dev \ - libjansson-dev \ - libkrb5-dev \ - libldap2-dev \ - liblzo2-dev \ - libmysqlclient-dev \ - libsasl2-dev \ - libsnappy-dev \ - libsqlite3-dev \ - libssl-dev \ - libxml2-dev \ - libxslt1-dev \ - libzip-dev \ - pkg-config \ - python-dev \ - python-setuptools \ - rsync \ - sharutils \ - subversion \ - xmlto - - # download OpenJDK and Maven explicitely - wget --progress=dot -e dotbytes=2M ${JDK_URL} ${MAVEN_URL} ${SCALA_URL} ${NODE_URL} ${PROTOBUF_URL} - tar -Jxf jdk*.tar.xz - tar -zxf apache-maven-*.tar.gz - tar -zxf scala-*.tgz - tar -zxf node-*.tar.gz - tar -zxf protobuf-*.tar.gz - - # replace cacerts with distro-supplied - cd jdk*/jre/lib/security/ - rm -f cacerts - ln -s /etc/ssl/certs/java/cacerts - - # set JAVA_HOME - cd ${WORKSPACE}/jdk* - export JAVA_HOME=${PWD} - - # set M3_HOME - cd ${WORKSPACE}/apache-maven-* - export M3_HOME=${PWD} - - # FIXME switch to nexus.linaro.org - # hack to use archiva - #wget -q http://people.linaro.org/~fathi.boudra/settings.xml -O conf/settings.xml - #mkdir ~/.m2 - #cp -a conf/settings.xml ~/.m2/settings.xml - - # set SCALA_HOME - cd ${WORKSPACE}/scala-* - export SCALA_HOME=${PWD} - - # set PATH - export PATH=${JAVA_HOME}/bin:${M3_HOME}/bin:${PATH} - java -version - mvn -version - - # build and hookup nodejs - cd ${WORKSPACE}/node-* - ./configure --prefix=${WORKSPACE}/node - make -j${CPU_CORES} install - export PATH=${WORKSPACE}/node/bin/:${PATH} - - # build and hookup protobuf compiler - cd ${WORKSPACE}/protobuf-* - ./configure --prefix=${WORKSPACE}/protobuf - make -j${CPU_CORES} install - export PATH=${WORKSPACE}/protobuf/bin:${PATH} - export PKG_CONFIG_PATH=${WORKSPACE}/protobuf/lib/pkgconfig - - # clone the ODPi BigTop definitions - git clone --depth 1 https://git.linaro.org/leg/bigdata/bigtop-trunk.git -b erp17.08 ${WORKSPACE}/odpi-bigtop - cd ${WORKSPACE}/odpi-bigtop - - # FIXME Upstream protobuf version 2.5.0 does not support AArch64. Bump up to 2.6.1. - git config --global user.name "Linaro CI" - git config --global user.email "ci_notify@linaro.org" - git remote add scapper https://git.linaro.org/people/steve.capper/odpi-bigtop.git - git fetch scapper - git cherry-pick 3033ede8c0a0ede0323c4e8c946d1293ed64729c - git cherry-pick a4ef371718fc32d25cc01137e559da4079368773 - - # okay everything is in place, this build will take a while - ./gradlew clean hadoop-deb spark-deb hive-deb \ - -Pdist,native-win \ - -DskipTests \ - -Dtar \ - -Dmaven.javadoc.skip=true \ - -PHadoop-2.7 \ - -Pyarn \ - -Phadoop.version=2.7.0 \ - -Dscala-2.11 \ - --debug - publishers: - - archive: - artifacts: 'odpi-bigtop/output/**' - - email-ext: - recipients: 'leg-bigdata@linaro.org, fathi.boudra@linaro.org' - diff --git a/odpi-bigtop-hadoop-rpm.yaml b/odpi-bigtop-hadoop-rpm.yaml deleted file mode 100644 index 120712efde..0000000000 --- a/odpi-bigtop-hadoop-rpm.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- job: - name: odpi-bigtop-hadoop-rpm - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - leg-developers: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - artifact-num-to-keep: 1 - parameters: - - string: - name: ANT_OPTS - default: '-Xmx8G' - - string: - name: MAVEN_OPTS - default: '-Xmx8G' - - string: - name: MAVEN_URL - default: 'http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz' - - string: - name: SCALA_URL - default: 'http://downloads.typesafe.com/scala/2.11.7/scala-2.11.7.tgz' - - string: - name: NODE_URL - default: 'https://nodejs.org/dist/v4.2.1/node-v4.2.1.tar.gz' - - string: - name: PROTOBUF_URL - default: 'https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz' - disabled: true - node: docker-centos7-aarch64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - shell: - !include-raw: - - odpi-bigtop-rpm/common/builders.sh - - odpi-bigtop-rpm/hadoop/builders.sh - publishers: - - archive: - artifacts: 'odpi-bigtop/output/**' - - email-ext: - recipients: 'leg-bigdata@linaro.org, fathi.boudra@linaro.org' - diff --git a/odpi-bigtop-hive-rpm.yaml b/odpi-bigtop-hive-rpm.yaml deleted file mode 100644 index 3db64cee1a..0000000000 --- a/odpi-bigtop-hive-rpm.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- job: - name: odpi-bigtop-hive-rpm - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - artifact-num-to-keep: 1 - parameters: - - string: - name: ANT_OPTS - default: '-Xmx8G' - - string: - name: MAVEN_OPTS - default: '-Xmx8G' - - string: - name: MAVEN_URL - default: 'http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz' - - string: - name: SCALA_URL - default: 'http://downloads.typesafe.com/scala/2.11.7/scala-2.11.7.tgz' - - string: - name: NODE_URL - default: 'https://nodejs.org/dist/v4.2.1/node-v4.2.1.tar.gz' - - string: - name: PROTOBUF_URL - default: 'https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz' - disabled: true - node: docker-centos7-aarch64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - shell: - !include-raw: - - odpi-bigtop-rpm/common/builders.sh - - odpi-bigtop-rpm/hive/builders.sh - publishers: - - archive: - artifacts: 'odpi-bigtop/output/**' - - email-ext: - recipients: 'leg-bigdata@linaro.org, fathi.boudra@linaro.org' - diff --git a/odpi-bigtop-rpm.yaml b/odpi-bigtop-rpm.yaml deleted file mode 100644 index 2e31b0e489..0000000000 --- a/odpi-bigtop-rpm.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- job: - name: odpi-bigtop-rpm - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - disabled: true - node: master - display-name: 'DELETE ME' - builders: - - trigger-builds: - - project: - - 'odpi-bigtop-hadoop-rpm' - - 'odpi-bigtop-hive-rpm' - - 'odpi-bigtop-spark-rpm' - diff --git a/odpi-bigtop-rpm/common/builders.sh b/odpi-bigtop-rpm/common/builders.sh deleted file mode 100755 index 0bb6d3ea68..0000000000 --- a/odpi-bigtop-rpm/common/builders.sh +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash - -set -ex - -# number of CPU_CORES to build with -export CPU_CORES=$(getconf _NPROCESSORS_ONLN) - -# install pre-requisites -sudo yum install -y \ - apache-ivy \ - ant \ - asciidoc \ - chrpath \ - cmake \ - cppunit-devel \ - cyrus-sasl-devel \ - fuse \ - fuse-devel \ - gcc-c++ \ - jansson-devel \ - krb5-devel \ - lcms2-devel \ - libtool \ - libxml2-devel \ - libxslt-devel \ - libyaml-devel \ - libzip-devel \ - lzo-devel \ - make \ - mariadb-devel \ - java-1.8.0-openjdk \ - openldap-devel \ - openssl-devel \ - pkgconfig \ - python-devel \ - python-setuptools \ - rpm-build \ - rsync \ - sharutils \ - snappy-devel \ - sqlite-devel \ - subversion \ - unzip \ - wget \ - xmlto - -# download some dependencies explicitely -wget --progress=dot -e dotbytes=2M ${MAVEN_URL} ${SCALA_URL} ${NODE_URL} ${PROTOBUF_URL} -tar -zxf apache-maven-*.tar.gz -tar -zxf scala-*.tgz -tar -zxf node-*.tar.gz -tar -zxf protobuf-*.tar.gz - -# set M3_HOME -cd ${WORKSPACE}/apache-maven-* -export M3_HOME=${PWD} - -# FIXME switch to nexus.linaro.org -# hack to use archiva -#wget -q http://people.linaro.org/~fathi.boudra/settings.xml -O conf/settings.xml -#mkdir ~/.m2 -#cp -a conf/settings.xml ~/.m2/settings.xml - -# set SCALA_HOME -cd ${WORKSPACE}/scala-* -export SCALA_HOME=${PWD} - -# set PATH -export PATH=${M3_HOME}/bin:${PATH} -java -version -mvn -version - -# build and hookup nodejs -cd ${WORKSPACE}/node-* -./configure --prefix=${WORKSPACE}/node -make -j${CPU_CORES} install -export PATH=${WORKSPACE}/node/bin/:${PATH} - -# build and hookup protobuf compiler -cd ${WORKSPACE}/protobuf-* -./configure --prefix=${WORKSPACE}/protobuf -make -j${CPU_CORES} install -export PATH=${WORKSPACE}/protobuf/bin:${PATH} -export PKG_CONFIG_PATH=${WORKSPACE}/protobuf/lib/pkgconfig - -# clone the ODPi BigTop definitions -git clone --depth 1 https://git.linaro.org/leg/bigdata/bigtop-trunk.git -b erp17.08 ${WORKSPACE}/odpi-bigtop -cd ${WORKSPACE}/odpi-bigtop - -# FIXME Upstream protobuf version 2.5.0 does not support AArch64. Bump up to 2.6.1. -git config --global user.name "Linaro CI" -git config --global user.email "ci_notify@linaro.org" -git remote add scapper https://git.linaro.org/people/steve.capper/odpi-bigtop.git -git fetch scapper -git cherry-pick 3033ede8c0a0ede0323c4e8c946d1293ed64729c -git cherry-pick a4ef371718fc32d25cc01137e559da4079368773 diff --git a/odpi-bigtop-rpm/hadoop/builders.sh b/odpi-bigtop-rpm/hadoop/builders.sh deleted file mode 100755 index 0628a982a9..0000000000 --- a/odpi-bigtop-rpm/hadoop/builders.sh +++ /dev/null @@ -1,7 +0,0 @@ -# okay everything is in place, this build will take a while -./gradlew clean hadoop-rpm \ - -Pdist,native-win \ - -DskipTests \ - -Dtar \ - -Dmaven.javadoc.skip=true \ - --debug diff --git a/odpi-bigtop-rpm/hive/builders.sh b/odpi-bigtop-rpm/hive/builders.sh deleted file mode 100755 index 66bb92bb07..0000000000 --- a/odpi-bigtop-rpm/hive/builders.sh +++ /dev/null @@ -1,9 +0,0 @@ -# okay everything is in place, this build will take a while -./gradlew clean hive-rpm \ - -Pdist,native-win \ - -DskipTests \ - -Dtar \ - -Dmaven.javadoc.skip=true \ - -PHadoop-2.7 \ - -Phadoop.version=2.7.3 \ - --debug diff --git a/odpi-bigtop-rpm/spark/builders.sh b/odpi-bigtop-rpm/spark/builders.sh deleted file mode 100755 index 83566c10be..0000000000 --- a/odpi-bigtop-rpm/spark/builders.sh +++ /dev/null @@ -1,11 +0,0 @@ -# okay everything is in place, this build will take a while -./gradlew clean spark-rpm \ - -Pdist,native-win \ - -DskipTests \ - -Dtar \ - -Dmaven.javadoc.skip=true \ - -PHadoop-2.7 \ - -Pyarn \ - -Phadoop.version=2.7.3 \ - -Dscala-2.11 \ - --debug diff --git a/odpi-bigtop-spark-rpm.yaml b/odpi-bigtop-spark-rpm.yaml deleted file mode 100644 index f0deddd256..0000000000 --- a/odpi-bigtop-spark-rpm.yaml +++ /dev/null @@ -1,53 +0,0 @@ -- job: - name: odpi-bigtop-spark-rpm - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - artifact-num-to-keep: 1 - parameters: - - string: - name: ANT_OPTS - default: '-Xmx8G' - - string: - name: MAVEN_OPTS - default: '-Xmx8G' - - string: - name: MAVEN_URL - default: 'http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz' - - string: - name: SCALA_URL - default: 'http://downloads.typesafe.com/scala/2.11.7/scala-2.11.7.tgz' - - string: - name: NODE_URL - default: 'https://nodejs.org/dist/v4.2.1/node-v4.2.1.tar.gz' - - string: - name: PROTOBUF_URL - default: 'https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz' - disabled: true - node: docker-centos7-aarch64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - shell: - !include-raw: - - odpi-bigtop-rpm/common/builders.sh - - odpi-bigtop-rpm/spark/builders.sh - publishers: - - archive: - artifacts: 'odpi-bigtop/output/**' - - email-ext: - recipients: 'leg-bigdata@linaro.org, fathi.boudra@linaro.org' - diff --git a/openembedded-armv8-pre-built-images-vexpress64.yaml b/openembedded-armv8-pre-built-images-vexpress64.yaml deleted file mode 100644 index c0997c1eb4..0000000000 --- a/openembedded-armv8-pre-built-images-vexpress64.yaml +++ /dev/null @@ -1,228 +0,0 @@ -- job: - name: openembedded-armv8-pre-built-images-vexpress64 - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - artifactNumToKeep: 1 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - parameters: - - password: - name: LAVA_USER - default: ${LAVA_USER} - - password: - name: LAVA_TOKEN - default: ${LAVA_TOKEN} - - string: - name: hwpack - default: 'vexpress64' - - string: - name: gcc_version - default: '5.2' - disabled: true - node: docker-stretch-amd64 - child-workspace: . - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - sudo apt-get update - sudo apt-get install -y bzr - - rm -rf daily-prebuilt-images - git clone git://git.linaro.org/ci/daily-prebuilt-images.git - - export BOOTLOADER="uefi" - DELETEDIR=1 ./daily-prebuilt-images/build-images -w ${hwpack} -b minimal-armv8-gcc-${gcc_version} -p openembedded -f - REUSE=1 ./daily-prebuilt-images/build-images -w ${hwpack} -b lamp-armv8-gcc-${gcc_version} -p openembedded -f - - export HWPACK_JOB_NAME=${JOB_NAME} - export BUNDLE_STREAM_NAME="/public/team/linaro/pre-built-${hwpack}/" - - export HWPACK_FILE_NAME=`find out/pre-built -type f -name "*_minimal-armv8-gcc-${gcc_version}_*.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} - - # Add md5sums for all build artefacts that don't have one yet. - for f in $(find ${WORKSPACE}/out | grep -v md5) ; do - if [ -f "$f" ] ; then - md5sum $f | awk -F/ '{print $1 $NF}' > ${f}.md5 - fi - done - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --api_version 3 \ - --link-latest \ - out/pre-built/${hwpack}/${HWPACK_BUILD_NUMBER} openembedded/pre-built/${hwpack}/${HWPACK_BUILD_NUMBER} - - cat << EOF > env_var_parameters - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - HWPACK_JOB_NAME=${HWPACK_JOB_NAME} - HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER} - EOF - - inject: - properties-file: env_var_parameters - - shell: | - #!/bin/bash - - set -ex - - export BOOTLOADER="uefi" - export DEVICE_TYPE=rtsm_fvp_base-aemv8a - - export ROOTFS_TYPE=minimal-armv8-gcc-${gcc_version} - export HWPACK_FILE_NAME=`find out/pre-built -type f -name "*_minimal-armv8-gcc-${gcc_version}_*.img.gz" |xargs basename` - python daily-prebuilt-images/lava-submit.py - - export ROOTFS_TYPE=lamp-armv8-gcc-${gcc_version} - export HWPACK_FILE_NAME=`find out/pre-built -type f -name "*_lamp-armv8-gcc-${gcc_version}_*.img.gz" |xargs basename` - python daily-prebuilt-images/lava-submit.py - - shell: | - #!/bin/bash - - set -ex - - cat << EOF > ${WORKSPACE}/deploy_image_parameters.json - { - "bootloadertype": "uefi" - } - EOF - - cat << EOF > ${WORKSPACE}/metadata.json - { - "hwpack.type": "${hwpack}" - } - EOF - - cat << EOF > ${WORKSPACE}/boot_image_parameters.json - { - "options": [ - "cluster0.NUM_CORES=2", - "cluster1.NUM_CORES=3"] - } - - shell: | - #!/bin/bash - - set -ex - - export DEVICE_TYPE=rtsm_fvp_base-aemv8a - - export ROOTFS_TYPE=lamp-armv8-gcc-${gcc_version} - export HWPACK_FILE_NAME=`find out/pre-built -type f -name "*_lamp-armv8-gcc-${gcc_version}_*.img.gz" |xargs basename` - - cat << EOF > ${WORKSPACE}/post_build_lava_parameters - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - HWPACK_JOB_NAME=${HWPACK_JOB_NAME} - HWPACK_FILE_NAME=${HWPACK_FILE_NAME} - HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER} - LAVA_TEST_PLAN='busybox device-tree ethernet kernel-version mysql perf phpinfo phpmysql pwrmgmt sdkhelloc sdkhellocxx toolchain' - IMAGE_URL=http://snapshots.linaro.org/openembedded/pre-built/${hwpack}/${HWPACK_BUILD_NUMBER}/${HWPACK_FILE_NAME} - DEPLOY_IMAGE_PARAMETERS_URL=${JOB_URL}/ws/deploy_image_parameters.json - METADATA_URL=${JOB_URL}/ws/metadata.json - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - shell: | - #!/bin/bash - - set -ex - - export DEVICE_TYPE=rtsm_fvp_base-aemv8a - - export ROOTFS_TYPE=minimal-armv8-gcc-${gcc_version} - export HWPACK_FILE_NAME=`find out/pre-built -type f -name "*_minimal-armv8-gcc-${gcc_version}_*.img.gz" |xargs basename` - - cat << EOF > ${WORKSPACE}/post_build_lava_parameters - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - HWPACK_JOB_NAME=${HWPACK_JOB_NAME} - HWPACK_FILE_NAME=${HWPACK_FILE_NAME} - HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER} - LAVA_TEST_PLAN='busybox device-tree ethernet kernel-version perf toolchain' - IMAGE_URL=http://snapshots.linaro.org/openembedded/pre-built/${hwpack}/${HWPACK_BUILD_NUMBER}/${HWPACK_FILE_NAME} - DEPLOY_IMAGE_PARAMETERS_URL=${JOB_URL}/ws/deploy_image_parameters.json - METADATA_URL=${JOB_URL}/ws/metadata.json - BOOT_IMAGE_PARAMETERS_URL=${JOB_URL}/ws/boot_image_parameters.json - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - shell: | - #!/bin/bash - - set -ex - - export DEVICE_TYPE=rtsm_fvp_base_cortex-a57x4-a53x4 - - export ROOTFS_TYPE=lamp-armv8-gcc-${gcc_version} - export HWPACK_FILE_NAME=`find out/pre-built -type f -name "*_lamp-armv8-gcc-${gcc_version}_*.img.gz" |xargs basename` - - cat << EOF > ${WORKSPACE}/post_build_lava_parameters - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - HWPACK_JOB_NAME=${HWPACK_JOB_NAME} - HWPACK_FILE_NAME=${HWPACK_FILE_NAME} - HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER} - LAVA_TEST_PLAN='busybox device-tree ethernet kernel-version mysql perf phpinfo phpmysql pwrmgmt sdkhelloc sdkhellocxx toolchain' - IMAGE_URL=http://snapshots.linaro.org/openembedded/pre-built/${hwpack}/${HWPACK_BUILD_NUMBER}/${HWPACK_FILE_NAME} - DEPLOY_IMAGE_PARAMETERS_URL=${JOB_URL}/ws/deploy_image_parameters.json - METADATA_URL=${JOB_URL}/ws/metadata.json - BOOT_IMAGE_PARAMETERS_URL=${JOB_URL}/ws/boot_image_parameters.json - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - - shell: | - #!/bin/bash - - set -ex - - export DEVICE_TYPE=rtsm_fvp_base_cortex-a57x1-a53x1 - - export ROOTFS_TYPE=minimal-armv8-gcc-${gcc_version} - export HWPACK_FILE_NAME=`find out/pre-built -type f -name "*_minimal-armv8-gcc-${gcc_version}_*.img.gz" |xargs basename` - - cat << EOF > ${WORKSPACE}/post_build_lava_parameters - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - HWPACK_JOB_NAME=${HWPACK_JOB_NAME} - HWPACK_FILE_NAME=${HWPACK_FILE_NAME} - HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER} - LAVA_TEST_PLAN='busybox device-tree ethernet kernel-version perf toolchain' - IMAGE_URL=http://snapshots.linaro.org/openembedded/pre-built/${hwpack}/${HWPACK_BUILD_NUMBER}/${HWPACK_FILE_NAME} - DEPLOY_IMAGE_PARAMETERS_URL=${JOB_URL}/ws/deploy_image_parameters.json - METADATA_URL=${JOB_URL}/ws/metadata.json - BOOT_IMAGE_PARAMETERS_URL=${JOB_URL}/ws/boot_image_parameters.json - EOF - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - publishers: - - archive: - artifacts: '*.json' - - trigger: - project: 'openembedded-armv8-hugepages-lavatest' - - email: - recipients: 'fathi.boudra@linaro.org koen.kooi@linaro.org riku.voipio@linaro.org' - diff --git a/qa-check-web-links.yaml b/qa-check-web-links.yaml deleted file mode 100644 index 945b4a0fce..0000000000 --- a/qa-check-web-links.yaml +++ /dev/null @@ -1,51 +0,0 @@ -- job: - name: qa-check-web-links - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 60 - numToKeep: 60 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - disabled: true - node: docker-jessie-amd64 - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/qa/checklink.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - wipe-workspace: false - wrappers: - - timestamps - builders: - - shell: | - #!/bin/sh - - set -e - - sudo apt-get update - sudo apt-get install -y --no-install-recommends linkchecker - - URLs=$(cat page_checklist.txt | tr '\n' ' ') - echo "Checking ${URLs}" - python check-link.py -f linaro-release-page.cfg ${URLs} - publishers: - - archive: - artifacts: '*.txt' - - email-ext: - recipients: 'qa-team@linaro.org' - attachments: 'link_check_result.txt' - diff --git a/qa-kvm-image-ubuntu.yaml b/qa-kvm-image-ubuntu.yaml deleted file mode 100644 index e3b91a0508..0000000000 --- a/qa-kvm-image-ubuntu.yaml +++ /dev/null @@ -1,27 +0,0 @@ -- job: - name: qa-kvm-image-ubuntu - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: docker-xenial-amd64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - linaro-publish-token - - shell: - !include-raw: qa-kvm-image-ubuntu/builders.sh - diff --git a/rpb-debian-installer/builders.sh b/rpb-debian-installer/builders.sh deleted file mode 100755 index 6f4133099a..0000000000 --- a/rpb-debian-installer/builders.sh +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/bash -set -ex - -sudo cp local.list /etc/apt/sources.list.d/ -cat > linaro.pref < pkg-lists/local -ext4-modules-\${kernel:Version} -fat-modules-\${kernel:Version} -btrfs-modules-\${kernel:Version} -md-modules-\${kernel:Version} -efi-modules-\${kernel:Version} -scsi-modules-\${kernel:Version} -jfs-modules-\${kernel:Version} -xfs-modules-\${kernel:Version} -ata-modules-\${kernel:Version} -sata-modules-\${kernel:Version} -usb-storage-modules-\${kernel:Version} -EOF -cat ../../localudebs >> pkg-lists/local -cp ../../default-preseed . - -sed -i -e 's/virtio-modules.*//g' pkg-lists/netboot/arm64.cfg -echo "firmware-qlogic" >> pkg-lists/netboot/arm64.cfg -echo "firmware-bnx2x" >> pkg-lists/netboot/arm64.cfg - -fakeroot make build_netboot -cd ../.. - -cp debian-installer-*/build/dest/netboot/mini.iso . -cp debian-installer-*/build/dest/netboot/netboot.tar.gz . - -# Final preparation for publishing -mkdir out -cp -a debian-installer-*/build/default-preseed out/default-preseed.cfg -cp -a mini.iso netboot.tar.gz out/ -cd out; tar xaf netboot.tar.gz ./debian-installer/arm64/{linux,initrd.gz}; cd .. - -# Create MD5SUMS file -(cd out && find -type f -exec md5sum {} \; | sed "s/ \.\// /g" > MD5SUMS.txt) - diff --git a/rpb-debian-installer/stable/default-preseed.cfg b/rpb-debian-installer/stable/default-preseed.cfg deleted file mode 100644 index 1e9ee89894..0000000000 --- a/rpb-debian-installer/stable/default-preseed.cfg +++ /dev/null @@ -1,11 +0,0 @@ -# Continue install on "no kernel modules were found for this kernel" -d-i anna/no_kernel_modules boolean true - -# Continue install on "no installable kernels found" -d-i base-installer/kernel/skip-install boolean true -d-i base-installer/kernel/no-kernels-found boolean true - -# Adding security, updates by default -d-i apt-setup/services-select multiselect security, updates - -d-i pkgsel/upgrade select full-upgrade diff --git a/rpb-debian-installer/staging/default-preseed.cfg b/rpb-debian-installer/staging/default-preseed.cfg deleted file mode 100644 index 1e9ee89894..0000000000 --- a/rpb-debian-installer/staging/default-preseed.cfg +++ /dev/null @@ -1,11 +0,0 @@ -# Continue install on "no kernel modules were found for this kernel" -d-i anna/no_kernel_modules boolean true - -# Continue install on "no installable kernels found" -d-i base-installer/kernel/skip-install boolean true -d-i base-installer/kernel/no-kernels-found boolean true - -# Adding security, updates by default -d-i apt-setup/services-select multiselect security, updates - -d-i pkgsel/upgrade select full-upgrade diff --git a/rpb-kernel-latest-metapackage.yaml b/rpb-kernel-latest-metapackage.yaml deleted file mode 100644 index 352f906343..0000000000 --- a/rpb-kernel-latest-metapackage.yaml +++ /dev/null @@ -1,81 +0,0 @@ -- job: - name: rpb-kernel-latest-metapackage - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 60 - num-to-keep: 60 - parameters: - - string: - name: TARGET_REPO - default: 'ERP:staging' - - string: - name: OBS_RELEASE - default: 'Debian_9' - disabled: false - node: docker-stretch-arm64-leg - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - shell: | - #!/bin/bash - - set -ex - - TR=$(echo ${TARGET_REPO} | sed -e 's,:,:/,g') - echo deb http://obs.linaro.org/${TR}/${OBS_RELEASE}/ ./ | sudo tee /etc/apt/sources.list.d/${TARGET_REPO}.list - echo deb-src http://obs.linaro.org/${TR}/${OBS_RELEASE}/ ./ | sudo tee -a /etc/apt/sources.list.d/${TARGET_REPO}.list - sudo apt-get update -q=2 - - package_abi_version=$(apt-cache search ^linux-image-[45].*-arm64|grep -v -- '-dbg'|sed -e 's,-rc,~rc,' -e 's, .*,,' -e 's,linux-image-,,'|sort --version-sort|tail -1|sed -e 's,~rc,-rc,') - kernel_abi_version=$(echo $package_abi_version|sed -e s,-arm64.*,,) - old_kernel_abi_version=$(apt-cache show linux-image-reference-arm64|grep Depends:|sed -e 's,-rc,~rc,' -e 's,.*linux-image-,,' -e 's,-arm64.*,,'|sort --version-sort|tail -1|sed -e 's,~rc,-rc,' ) - if [ ${old_kernel_abi_version} == ${kernel_abi_version} ]; then - echo metapackage up to date at ${old_kernel_abi_version} - exit 0 - fi - - package_version=$(apt-cache showsrc linux-reference-source|awk '/^Version/ { print ($2)+1 }'|sort --version-sort|tail -1) - sudo apt-get install -y linux-support-${kernel_abi_version} - - git clone --depth=1 https://github.com/Linaro/debian-linux-latest-reference - cd debian-linux-latest-reference - sed -i "s/KERNELVERSION :=.*/KERNELVERSION := ${kernel_abi_version}/" debian/rules.defs - ./debian/rules debian/control || true - EMAIL=packages@lists.linaro.org dch -v "${package_version}" -D stretch --force-distribution "bump ABI to ${kernel_abi_version}" - ./debian/rules debian/control || true - dpkg-buildpackage -S -d - cd .. - - cat > ${WORKSPACE}/build-package < $HOME/.oscrc < ${WORKSPACE}/${TARGET_REPO}/kernel-aarch64/${pname}.tar.xz - - # Update OBS checkout - cd ${WORKSPACE}/${TARGET_REPO}/kernel-aarch64 - - sed -i -e "s/^%define rpmversion .*/%define rpmversion ${kernel_rpm_pkg_version}/" \ - -e "s/^%define gitrelease .*/%define gitrelease ${kernel_git}/" \ - kernel-aarch64.spec - osc addremove . - osc ci . -m "Update to ${pname}" - - publishers: - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/sid-arm64-rootfs.yaml b/sid-arm64-rootfs.yaml deleted file mode 100644 index 91e99f471a..0000000000 --- a/sid-arm64-rootfs.yaml +++ /dev/null @@ -1,117 +0,0 @@ -- job: - name: sid-arm64-rootfs - project-type: matrix - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - artifact-num-to-keep: 1 - parameters: - - string: - name: codename - default: 'sid' - disabled: true - node: build - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/ci/ubuntu-build-service.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - clean: - after: true - wipe-workspace: false - axes: - - axis: - type: slave - name: label - values: - - docker-jessie-arm64 - - axis: - type: user-defined - name: rootfs - values: - - alip - - developer - - installer - wrappers: - - timestamps - - matrix-tie-parent: - node: build - - timeout: - timeout: 120 - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - sudo umount builddir - } - - sudo apt-get update - sudo apt-get install -y --no-install-recommends cpio debootstrap live-build python-requests uuid-runtime - sudo dpkg -i --force-all packages/live-build_3.0.5-1linaro1_all.deb - - dpkg -s qemu-user-static |grep '^Version' - dpkg -s live-build |grep '^Version' - - test -d builddir || mkdir builddir - sudo mount -t tmpfs -o size=8G tmpfs builddir - cp -a ${codename}-arm64-${rootfs} builddir/ - cd builddir/${codename}-arm64-${rootfs} - ./configure - make - - cd ${WORKSPACE} - sudo rm -rf out && mkdir out - sudo mv builddir/${codename}-arm64-${rootfs}/linaro-${codename}-* out - - # Build information - cat > out/HEADER.textile << EOF - - h4. Build description ( $JOB_NAME ) - - * Job URL: "$JOB_URL":$JOB_URL - * Build URL: "$BUILD_URL":$BUILD_URL - * Commit: "$GIT_COMMIT":$GIT_URL/commit/?id=$GIT_COMMIT - EOF - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out debian/images/${codename}/${rootfs}-arm64/${BUILD_NUMBER} - publishers: - - groovy-postbuild: - script: | - def build_number = manager.build.number - def codename = manager.build.buildVariables.get('codename') - def rootfs = manager.build.buildVariables.get('rootfs') - def url = "http://snapshots.linaro.org/debian/images/${codename}/${rootfs}-arm64/${build_number}/" - def desc = " Build location" - - if (manager.build.result == hudson.model.Result.SUCCESS) { - manager.build.setDescription(desc) - } - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/sid-armhf-rootfs.yaml b/sid-armhf-rootfs.yaml deleted file mode 100644 index 112e251704..0000000000 --- a/sid-armhf-rootfs.yaml +++ /dev/null @@ -1,117 +0,0 @@ -- job: - name: sid-armhf-rootfs - project-type: matrix - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - artifact-num-to-keep: 1 - parameters: - - string: - name: codename - default: 'sid' - disabled: true - node: build - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/ci/ubuntu-build-service.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - clean: - after: true - wipe-workspace: false - axes: - - axis: - type: slave - name: label - values: - - docker-jessie-armhf - - axis: - type: user-defined - name: rootfs - values: - - alip - - developer - - installer - wrappers: - - timestamps - - matrix-tie-parent: - node: build - - timeout: - timeout: 120 - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - sudo umount builddir - } - - sudo apt-get update - sudo apt-get install -y --no-install-recommends cpio debootstrap live-build python-requests uuid-runtime - sudo dpkg -i --force-all packages/live-build_3.0.5-1linaro1_all.deb - - dpkg -s qemu-user-static |grep '^Version' - dpkg -s live-build |grep '^Version' - - test -d builddir || mkdir builddir - sudo mount -t tmpfs -o size=8G tmpfs builddir - cp -a ${codename}-armhf-${rootfs} builddir/ - cd builddir/${codename}-armhf-${rootfs} - ./configure - make - - cd ${WORKSPACE} - sudo rm -rf out && mkdir out - sudo mv builddir/${codename}-armhf-${rootfs}/linaro-${codename}-* out - - # Build information - cat > out/HEADER.textile << EOF - - h4. Build description ( $JOB_NAME ) - - * Job URL: "$JOB_URL":$JOB_URL - * Build URL: "$BUILD_URL":$BUILD_URL - * Commit: "$GIT_COMMIT":$GIT_URL/commit/?id=$GIT_COMMIT - EOF - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out debian/images/${codename}/${rootfs}-armhf/${BUILD_NUMBER} - publishers: - - groovy-postbuild: - script: | - def build_number = manager.build.number - def codename = manager.build.buildVariables.get('codename') - def rootfs = manager.build.buildVariables.get('rootfs') - def url = "http://snapshots.linaro.org/debian/images/${codename}/${rootfs}-armhf/${build_number}/" - def desc = " Build location" - - if (manager.build.result == hudson.model.Result.SUCCESS) { - manager.build.setDescription(desc) - } - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/stretch-arm64-rootfs.yaml b/stretch-arm64-rootfs.yaml deleted file mode 100644 index ac6a2151e6..0000000000 --- a/stretch-arm64-rootfs.yaml +++ /dev/null @@ -1,123 +0,0 @@ -- job: - name: stretch-arm64-rootfs - project-type: matrix - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - artifact-num-to-keep: 1 - parameters: - - string: - name: codename - default: 'stretch' - disabled: true - node: build - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/ci/ubuntu-build-service.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - clean: - after: true - wipe-workspace: false - axes: - - axis: - type: slave - name: label - values: - - docker-jessie-arm64 - - axis: - type: user-defined - name: rootfs - values: - - alip - - developer - - installer - wrappers: - - timestamps - - matrix-tie-parent: - node: build - - timeout: - timeout: 120 - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - sudo umount builddir - } - - sudo apt-get update - sudo apt-get install -y --no-install-recommends cpio debootstrap live-build python-requests uuid-runtime - sudo dpkg -i --force-all packages/live-build_3.0.5-1linaro1_all.deb - - dpkg -s qemu-user-static |grep '^Version' - dpkg -s live-build |grep '^Version' - - test -d builddir || mkdir builddir - sudo mount -t tmpfs -o size=8G tmpfs builddir - cp -a ${codename}-arm64-${rootfs} builddir/ - cd builddir/${codename}-arm64-${rootfs} - ./configure - make - - cd ${WORKSPACE} - sudo rm -rf out && mkdir out - sudo mv builddir/${codename}-arm64-${rootfs}/linaro-${codename}-* out - - # Build information - cat > out/HEADER.textile << EOF - - h4. Build description ( $JOB_NAME ) - - * Job URL: "$JOB_URL":$JOB_URL - * Build URL: "$BUILD_URL":$BUILD_URL - * Commit: "$GIT_COMMIT":$GIT_URL/commit/?id=$GIT_COMMIT - EOF - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out debian/images/${codename}/${rootfs}-arm64/${BUILD_NUMBER} - publishers: - - groovy-postbuild: - script: | - def build_number = manager.build.number - def codename = manager.build.buildVariables.get('codename') - def rootfs = manager.build.buildVariables.get('rootfs') - def url = "http://snapshots.linaro.org/debian/images/${codename}/${rootfs}-arm64/${build_number}/" - def desc = " Build location" - - if (manager.build.result == hudson.model.Result.SUCCESS) { - manager.build.setDescription(desc) - } - - trigger-parameterized-builds: - - project: - - 'lt-qcom-debian-images-dragonboard410c' - - 'lt-qcom-debian-images-dragonboard820c' - condition: SUCCESS - trigger-with-no-params: true - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/trigger-96boards-bubblegum-u-boot.yaml b/trigger-96boards-bubblegum-u-boot.yaml deleted file mode 100644 index 0010731f79..0000000000 --- a/trigger-96boards-bubblegum-u-boot.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- job: - name: trigger-96boards-bubblegum-u-boot - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/96boards-bubblegum/u-boot.git - refspec: +refs/heads/bubblegum96-2015.07:refs/remotes/origin/bubblegum96-2015.07 - name: origin - branches: - - refs/heads/bubblegum96-2015.07 - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - trigger-builds: - - project: '96boards-bubblegum-u-boot' - diff --git a/trigger-96boards-bubblegum.yaml b/trigger-96boards-bubblegum.yaml deleted file mode 100644 index 4518003903..0000000000 --- a/trigger-96boards-bubblegum.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- job: - name: trigger-96boards-bubblegum - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/96boards-bubblegum/linux.git - refspec: +refs/heads/bubblegum96-3.10:refs/remotes/origin/bubblegum96-3.10 - name: origin - branches: - - refs/heads/bubblegum96-3.10 - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - trigger-builds: - - project: '96boards-bubblegum, 96boards-bubblegum-kernel' - diff --git a/trigger-96boards-helium-u-boot.yaml b/trigger-96boards-helium-u-boot.yaml deleted file mode 100644 index 145eda48b2..0000000000 --- a/trigger-96boards-helium-u-boot.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- job: - name: trigger-96boards-helium-u-boot - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/people/rob.herring/u-boot.git - refspec: +refs/heads/v2015.07-pxa1928:refs/remotes/origin/v2015.07-pxa1928 - name: origin - branches: - - refs/heads/v2015.07-pxa1928 - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - trigger-builds: - - project: '96boards-helium-u-boot' - diff --git a/trigger-96boards-helium.yaml b/trigger-96boards-helium.yaml deleted file mode 100644 index 1323aa4690..0000000000 --- a/trigger-96boards-helium.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- job: - name: trigger-96boards-helium - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/people/rob.herring/linux.git - refspec: +refs/heads/v4.1-pxa1928:refs/remotes/origin/v4.1-pxa1928 - name: origin - branches: - - refs/heads/v4.1-pxa1928 - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - trigger-builds: - - project: '96boards-helium' - diff --git a/trigger-96boards-hikey-atf.yaml b/trigger-96boards-hikey-atf.yaml deleted file mode 100644 index ce474666dc..0000000000 --- a/trigger-96boards-hikey-atf.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- job: - name: trigger-96boards-hikey-atf - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/96boards-hikey/arm-trusted-firmware.git - refspec: +refs/heads/hikey:refs/remotes/origin/hikey - name: origin - branches: - - refs/heads/hikey - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - trigger-builds: - - project: '96boards-hikey-uefi-openplatformpkg' - diff --git a/trigger-96boards-hikey-mainline-rebase.yaml b/trigger-96boards-hikey-mainline-rebase.yaml deleted file mode 100644 index 749d1d787c..0000000000 --- a/trigger-96boards-hikey-mainline-rebase.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- job: - name: trigger-96boards-hikey-mainline-rebase - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/96boards-hikey/linux.git - refspec: +refs/heads/hikey-mainline-rebase:refs/remotes/origin/hikey-mainline-rebase - name: origin - branches: - - refs/heads/hikey-mainline-rebase - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - trigger-builds: - - project: '96boards-hikey-mainline-rebase' - diff --git a/trigger-coresight.yaml b/trigger-coresight.yaml deleted file mode 100644 index 37d9a2e6c7..0000000000 --- a/trigger-coresight.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- job: - name: trigger-coresight - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: http://git.linaro.org/kernel/coresight.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - exit 0 - } - - echo -n "defconfig_list=hisi vexpress" > defconfig.properties - - trigger-builds: - - project: 'coresight' - property-file: defconfig.properties - diff --git a/trigger-idlestat.yaml b/trigger-idlestat.yaml deleted file mode 100644 index f57e4188dd..0000000000 --- a/trigger-idlestat.yaml +++ /dev/null @@ -1,73 +0,0 @@ -- job: - name: trigger-idlestat - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: master - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/power/idlestat.git - refspec: +refs/tags/*:refs/remotes/origin/tags/* - name: origin - branches: - - refs/tags/* - skip-tag: true - shallow-clone: false - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash -x - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf meta-linaro - } - - tag=$(git describe --tags --abbrev=0) - version=$(echo ${tag} | cut -d'-' -f2) - - git clone --depth 1 http://git.linaro.org/openembedded/meta-linaro.git - recipe=$(find meta-linaro -type f -name 'idlestat_git.bb') - sed -i "s|^SRCREV = .*|SRCREV = \"${GIT_COMMIT}\"|" ${recipe} - sed -i "s|^PV = .*|PV = \"${version}+git\${SRCPV}\"|" ${recipe} - - cd meta-linaro && git diff > ${WORKSPACE}/idlestat-recipe-update.patch - publishers: - - email-ext: - recipients: 'fathi.boudra@linaro.org, koen.kooi@linaro.org, riku.voipio@linaro.org' - body: | - Project: ${PROJECT_NAME} - Build number: ${BUILD_NUMBER} - Build status: ${BUILD_STATUS} - Build URL: ${BUILD_URL} - Build summary: - - New upstream release: https://git.linaro.org/power/idlestat.git ${GIT_BRANCH} - - Please, update Debian package and OpenEmbedded recipe to ${GIT_COMMIT}. - attachments: '*.patch' - always: true - diff --git a/trigger-linux-arm-soc-for-next.yaml b/trigger-linux-arm-soc-for-next.yaml deleted file mode 100644 index e6bb2442a9..0000000000 --- a/trigger-linux-arm-soc-for-next.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- job: - name: trigger-linux-arm-soc-for-next - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git - refspec: +refs/heads/for-next:refs/remotes/origin/for-next - name: origin - branches: - - refs/heads/for-next - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - exit 0 - } - - echo -n "defconfig_list=" > defconfig.properties - - wget https://git.kernel.org/cgit/linux/kernel/git/arm/arm-soc.git/tree/arch/arm/configs?h=for-next -O configs - cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties - - wget https://git.kernel.org/cgit/linux/kernel/git/arm/arm-soc.git/tree/arch/arm64/configs?h=for-next -O configs - cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties - - trigger-builds: - - project: 'linux-arm-soc-for-next' - property-file: defconfig.properties - diff --git a/trigger-linux-eas.yaml b/trigger-linux-eas.yaml deleted file mode 100644 index c4492b19f2..0000000000 --- a/trigger-linux-eas.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- job: - name: trigger-linux-eas - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: http://git.linaro.org/kernel/eas-backports.git - refspec: +refs/heads/eas-test:refs/remotes/origin/eas-test - name: origin - branches: - - refs/heads/eas-test - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - exit 0 - } - - echo -n "defconfig_list=omap2plus vexpress" > defconfig.properties - - trigger-builds: - - project: 'linux-eas' - property-file: defconfig.properties - diff --git a/trigger-linux-linaro-tracking-ll-ilp32.yaml b/trigger-linux-linaro-tracking-ll-ilp32.yaml deleted file mode 100644 index 5bd4d7f1e0..0000000000 --- a/trigger-linux-linaro-tracking-ll-ilp32.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- job: - name: trigger-linux-linaro-tracking-ll-ilp32 - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/kernel/linux-linaro-tracking.git - refspec: +refs/heads/linux-linaro-extra:refs/remotes/origin/linux-linaro-extra - name: origin - branches: - - refs/heads/linux-linaro-extra - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - trigger-builds: - - project: 'linux-linaro-tracking-ll-ilp32' - diff --git a/trigger-linux-linaro-tracking-ll.yaml b/trigger-linux-linaro-tracking-ll.yaml deleted file mode 100644 index 34721e6f36..0000000000 --- a/trigger-linux-linaro-tracking-ll.yaml +++ /dev/null @@ -1,63 +0,0 @@ -- job: - name: trigger-linux-linaro-tracking-ll - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/kernel/linux-linaro-tracking.git - refspec: +refs/heads/linux-linaro:refs/remotes/origin/linux-linaro - name: origin - branches: - - refs/heads/linux-linaro - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf meta-linaro - } - - git clone --depth 1 http://git.linaro.org/openembedded/meta-linaro.git - - VERSION=`grep "^VERSION =" Makefile | cut -d' ' -f3`.`grep "^PATCHLEVEL =" Makefile | cut -d' ' -f3` - - ll_recipe=`find meta-linaro -type f -name 'linux-linaro-aarch64.bb'` - sed -i "s|^SRCREV_kernel=.*|SRCREV_kernel=\"${GIT_COMMIT}\"|" ${ll_recipe} - sed -i "s|^PV = .*|PV = \"${VERSION}+git\${SRCPV}\"|" ${ll_recipe} - - ll_recipe=`find meta-linaro -type f -name 'linux-linaro-vexpress_git.bb'` - sed -i "s|^SRCREV_kernel=.*|SRCREV_kernel=\"${GIT_COMMIT}\"|" ${ll_recipe} - sed -i "s|^PV = .*|PV = \"${VERSION}+git\${SRCPV}\"|" ${ll_recipe} - - cd meta-linaro && git diff > ${WORKSPACE}/linux-linaro-recipe-update.patch - - trigger-builds: - - project: 'linux-linaro-tracking-ll' - publishers: - - email-ext: - recipients: 'fathi.boudra@linaro.org, koen.kooi@linaro.org' - attachments: '*.patch' - always: true - diff --git a/trigger-linux-linaro-tracking-llct.yaml b/trigger-linux-linaro-tracking-llct.yaml deleted file mode 100644 index 8388f46862..0000000000 --- a/trigger-linux-linaro-tracking-llct.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- job: - name: trigger-linux-linaro-tracking-llct - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/kernel/linux-linaro-tracking.git - refspec: +refs/heads/linux-linaro-core-tracking:refs/remotes/origin/linux-linaro-core-tracking - name: origin - branches: - - refs/heads/linux-linaro-core-tracking - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - trigger-builds: - - project: 'linux-linaro-tracking-llct' - diff --git a/trigger-linux-ltsi.yaml b/trigger-linux-ltsi.yaml deleted file mode 100644 index 5f975d2182..0000000000 --- a/trigger-linux-ltsi.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- job: - name: trigger-linux-ltsi - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git - refspec: +refs/heads/linux-3.14.y:refs/remotes/origin/linux-3.14.y - name: origin - branches: - - refs/heads/linux-3.14.y - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - exit 0 - } - - echo -n "defconfig_list=" > defconfig.properties - - wget https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/configs?h=linux-3.14.y -O configs - cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties - - wget https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/configs?h=linux-3.14.y -O configs - cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties - - trigger-builds: - - project: 'linux-ltsi' - property-file: defconfig.properties - diff --git a/trigger-linux-mainline.yaml b/trigger-linux-mainline.yaml deleted file mode 100644 index 205893e8f8..0000000000 --- a/trigger-linux-mainline.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- job: - name: trigger-linux-mainline - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - exit 0 - } - - echo -n "defconfig_list=" > defconfig.properties - - wget https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/configs -O configs - cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties - - wget https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/configs -O configs - cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties - - trigger-builds: - - project: 'linux-mainline' - property-file: defconfig.properties - diff --git a/trigger-linux-next.yaml b/trigger-linux-next.yaml deleted file mode 100644 index 40f9fbc8a4..0000000000 --- a/trigger-linux-next.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- job: - name: trigger-linux-next - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - exit 0 - } - - echo -n "defconfig_list=" > defconfig.properties - - wget https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/arch/arm/configs -O configs - cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties - - wget http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/arch/arm64/configs -O configs - cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties - - trigger-builds: - - project: 'linux-next' - property-file: defconfig.properties - diff --git a/trigger-linux-stable.yaml b/trigger-linux-stable.yaml deleted file mode 100644 index b1c306a5e4..0000000000 --- a/trigger-linux-stable.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- job: - name: trigger-linux-stable - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git - refspec: +refs/heads/linux-3.14.y:refs/remotes/origin/linux-3.14.y - name: origin - branches: - - refs/heads/linux-3.14.y - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - exit 0 - } - - echo -n "defconfig_list=" > defconfig.properties - - wget https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/configs?h=linux-3.14.y -O configs - cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties - - wget https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/configs?h=linux-3.14.y -O configs - cut -d'>' -f6 configs | cut -d'<' -f1 | grep defconfig | tr -s "\n" " " | sed 's/_defconfig//g' >> defconfig.properties - - trigger-builds: - - project: 'linux-stable' - property-file: defconfig.properties - diff --git a/trigger-lt-hisilicon-hix5hd2.yaml b/trigger-lt-hisilicon-hix5hd2.yaml deleted file mode 100644 index 3a6e249923..0000000000 --- a/trigger-lt-hisilicon-hix5hd2.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- job: - name: trigger-lt-hisilicon-hix5hd2 - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: http://git.linaro.org/git/landing-teams/working/hisilicon/kernel.git - refspec: +refs/heads/hix5hd2:refs/remotes/origin/hix5hd2 - name: origin - branches: - - refs/heads/hix5hd2 - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - trigger-builds: - - project: 'LT-HiSilicon-hix5hd2' - diff --git a/trigger-oe-recipe-gator.yaml b/trigger-oe-recipe-gator.yaml deleted file mode 100644 index 7f0c266656..0000000000 --- a/trigger-oe-recipe-gator.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- job: - name: trigger-oe-recipe-gator - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - scm: - - git: - url: http://git.linaro.org/arm/ds5/gator.git - refspec: +refs/heads/linaro:refs/remotes/origin/linaro - name: origin - branches: - - refs/heads/linaro - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf meta-linaro - } - - git clone --depth 1 http://git.linaro.org/openembedded/meta-linaro.git - gator_recipe=`find meta-linaro -type f -name 'gator_git.bb'` - sed -i "s|^SRCREV = .*|SRCREV = \"${GIT_COMMIT}\"|" ${gator_recipe} - sed -i "s|^PV = .*|PV = \"`git describe --tags | cut -d'-' -f2`+git\${SRCPV}\"|" ${gator_recipe} - - cd meta-linaro && git diff > ${WORKSPACE}/gator-recipe-update.patch - publishers: - - email-ext: - recipients: 'fathi.boudra@linaro.org, koen.kooi@linaro.org' - attachments: '*.patch' - always: true - diff --git a/trigger-oe-recipe-kselftests-next.yaml b/trigger-oe-recipe-kselftests-next.yaml deleted file mode 100644 index ac3e7f2d04..0000000000 --- a/trigger-oe-recipe-kselftests-next.yaml +++ /dev/null @@ -1,69 +0,0 @@ -- job: - name: trigger-oe-recipe-kselftests-next - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: master - display-name: 'DELETE ME' - scm: - - git: - url: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: false - wipe-workspace: false - triggers: - - pollscm: - cron: 'H/5 * * * *' - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - builders: - - shell: | - #!/bin/bash -x - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf meta-rpb - } - - tag=$(git describe --tags --abbrev=0) - version=$(echo ${tag} | cut -d'-' -f3) - - git clone -b morty --depth 1 https://github.com/96boards/meta-rpb.git - recipe=$(find meta-rpb -type f -name 'kselftests-next_git.bb') - sed -i "s|^SRCREV = .*|SRCREV = \"${GIT_COMMIT}\"|" ${recipe} - sed -i "s|^PV = .*|PV = \"${version}+git\${SRCPV}\"|" ${recipe} - - cd meta-rpb && git diff > ${WORKSPACE}/kselftests-next-recipe-update.patch - publishers: - - email-ext: - recipients: 'fathi.boudra@linaro.org' - body: | - Project: ${PROJECT_NAME} - Build number: ${BUILD_NUMBER} - Build status: ${BUILD_STATUS} - Build URL: ${BUILD_URL} - Build summary: - - New upstream commit: ${GIT_URL} ${GIT_BRANCH} - - Please, update OpenEmbedded recipe to ${GIT_COMMIT}. - attachments: '*.patch' - always: true - diff --git a/trigger-openembedded-rootfs-external-toolchain.yaml b/trigger-openembedded-rootfs-external-toolchain.yaml deleted file mode 100644 index 3dbc52b903..0000000000 --- a/trigger-openembedded-rootfs-external-toolchain.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- job: - name: trigger-openembedded-rootfs-external-toolchain - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - triggers: - - pollurl: - cron: '@daily' - polling-node: build - urls: - - url: 'http://abe.tcwglab.linaro.org/binaries/' - check-content: - - simple: true - wrappers: - - timestamps - builders: - - shell: | - #!/bin/bash - - set -x - - # FIXME: figure out the new toolchain URLs - toolchain_armv7a_url='http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz' - toolchain_armv8_url='http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz' - - cat << EOF > toolchain_url_parameters - toolchain_armv7a_url=${toolchain_armv7a_url} - toolchain_armv8_url=${toolchain_armv8_url} - EOF - - inject: - properties-file: toolchain_url_parameters - publishers: - - trigger-parameterized-builds: - - project: openembedded-armv7a-rootfs-external-toolchain - predefined-parameters: toolchain_url=${toolchain_armv7a_url} - condition: SUCCESS - - project: openembedded-armv8-rootfs-external-toolchain - predefined-parameters: toolchain_url=${toolchain_armv8_url} - condition: SUCCESS - diff --git a/trigger-stretch-rootfs.yaml b/trigger-stretch-rootfs.yaml deleted file mode 100644 index 6f499e9abf..0000000000 --- a/trigger-stretch-rootfs.yaml +++ /dev/null @@ -1,23 +0,0 @@ -- job: - name: trigger-stretch-rootfs - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - disabled: true - node: build - display-name: 'DELETE ME' - triggers: - - timed: '@weekly' - wrappers: - - timestamps - builders: - - trigger-builds: - - project: 'stretch-arm64-rootfs' - - project: 'stretch-armhf-rootfs' - diff --git a/ubuntu-armhf-hwpacks.yaml b/ubuntu-armhf-hwpacks.yaml deleted file mode 100644 index 7275c83ae5..0000000000 --- a/ubuntu-armhf-hwpacks.yaml +++ /dev/null @@ -1,208 +0,0 @@ -- job: - name: ubuntu-armhf-hwpacks - 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: 'DELETE ME' - axes: - - axis: - type: user-defined - name: hwpack - values: - - arndale - - arndale-be - - lsk-arndale-be - - lsk-vexpress - - lsk-vexpress-be - - lsk-vexpress64 - - lsk-vexpress64-be - - lt-vexpress64 - - vexpress - - vexpress64 - - vexpress64-be - - axis: - type: slave - name: label - values: - - build - execution-strategy: - sequential: true - touchstone: - expr: 'hwpack=="arndale"' - wrappers: - - timestamps - - matrix-tie-parent: - node: build - builders: - - linaro-publish-token - - copyartifact: - project: package-and-publish-linux-linaro - filter: 'out/*.deb' - target: artifacts - flatten: true - optional: true - - copyartifact: - project: package-and-publish-linux-linaro-stable - filter: 'out/*.deb' - target: artifacts - flatten: true - optional: true - - shell: | - #!/bin/bash - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - sudo umount builddir - rm -rf artifacts - } - - dpkg -s linaro-image-tools |grep '^Version' - - rm -rf out *.txt - - test -d builddir || mkdir builddir - sudo mount -t tmpfs -o size=2G tmpfs builddir - cd builddir - - VERSION=`date +%Y%m%d`-${BUILD_NUMBER} - case "${hwpack}" in - arndale|arndale-octa|beaglebone|highbank|lsk-vexpress|midway|origen|panda|snowball|vexpress) - git clone git://git.linaro.org/hwpack/${hwpack}.git - linaro-hwpack-create --debug ${hwpack}/hwpacks/linaro-${hwpack} ${VERSION} - mv hwpack_linaro-${hwpack}* ${WORKSPACE} - mv *.txt ${WORKSPACE} - ;; - lsk-vexpress64|lsk-vexpress64-be|vexpress64|vexpress64-be|lt-vexpress64) - git clone git://git.linaro.org/hwpack/vexpress64-rtsm.git - linaro-hwpack-create --debug vexpress64-rtsm/hwpacks/linaro-vexpress64-rtsm ${VERSION} - mv hwpack_linaro-vexpress64-rtsm_${VERSION}_arm64_supported.manifest.txt ${WORKSPACE}/hwpack_linaro-arm64_supported.manifest.txt - mv hwpack_linaro-vexpress64-rtsm_${VERSION}_arm64_supported.tar.gz ${WORKSPACE}/hwpack_linaro_arm64_supported.tar.gz - mv *.txt ${WORKSPACE} - ;; - esac - - cd ${WORKSPACE} - - echo "distribution=ubuntu" > remote_directory_parameters - - case "${hwpack}" in - lsk-arndale-be|arndale-be) - find artifacts -type f -name "linux-*-linaro-${hwpack}_*.deb" -exec mv -t ${WORKSPACE} {} + - - rm -f hwpack_linaro_armhf_supported.tar.gz - export HWPACK_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-hwpacks/hwpack=arndale,label=build/lastSuccessfulBuild/buildNumber` - export HWPACK_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-hwpacks/hwpack=arndale,label=build/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` - export HWPACK_BUILD_URL="http://snapshots.linaro.org/ubuntu/hwpacks/arndale/${HWPACK_BUILD_NUMBER}/hwpack_linaro-arndale_${HWPACK_BUILD_TIMESTAMP}-${HWPACK_BUILD_NUMBER}_armhf_supported.tar.gz" - wget --progress=dot -e dotbytes=2M ${HWPACK_BUILD_URL} -O hwpack_linaro_armhf_supported.tar.gz - - linaro-hwpack-replace -t hwpack_linaro_armhf_supported.tar.gz -p `ls linux-image-*-linaro-${hwpack}_*.deb` -r linux-image -d -i - linaro-hwpack-replace -t hwpack_linaro_armhf_supported.tar.gz -p `ls linux-headers-*-linaro-${hwpack}_*.deb` -r linux-headers -d -i - - mv hwpack_linaro_armhf_supported.tar.gz ${WORKSPACE}/hwpack_linaro-${hwpack}_${VERSION}_armhf_supported.tar.gz - mv hwpack_linaro_armhf_supported.manifest.txt ${WORKSPACE}/hwpack_linaro-${hwpack}_${VERSION}_armhf_supported.manifest.txt - - echo "distribution=openembedded" > remote_directory_parameters - ;; - lsk-panda-be|panda-be) - [ "${hwpack}" = "panda-be" ] && omap=omap-be || true - [ "${hwpack}" = "lsk-panda-be" ] && omap=lsk-omap-be || true - find artifacts -type f -name "linux-*-linaro-${omap}_*.deb" -exec mv -t ${WORKSPACE} {} + - - rm -f hwpack_linaro_armhf_supported.tar.gz - export HWPACK_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-hwpacks/hwpack=panda,label=build/lastSuccessfulBuild/buildNumber` - export HWPACK_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-hwpacks/hwpack=panda,label=build/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` - export HWPACK_BUILD_URL="http://snapshots.linaro.org/ubuntu/hwpacks/panda/${HWPACK_BUILD_NUMBER}/hwpack_linaro-panda_${HWPACK_BUILD_TIMESTAMP}-${HWPACK_BUILD_NUMBER}_armhf_supported.tar.gz" - wget --progress=dot -e dotbytes=2M ${HWPACK_BUILD_URL} -O hwpack_linaro_armhf_supported.tar.gz - - linaro-hwpack-replace -t hwpack_linaro_armhf_supported.tar.gz -p `ls linux-image-*-linaro-${omap}_*.deb` -r linux-image -d -i - linaro-hwpack-replace -t hwpack_linaro_armhf_supported.tar.gz -p `ls linux-headers-*-linaro-${omap}_*.deb` -r linux-headers -d -i - - mv hwpack_linaro_armhf_supported.tar.gz ${WORKSPACE}/hwpack_linaro-${hwpack}_${VERSION}_armhf_supported.tar.gz - mv hwpack_linaro_armhf_supported.manifest.txt ${WORKSPACE}/hwpack_linaro-${hwpack}_${VERSION}_armhf_supported.manifest.txt - - echo "distribution=openembedded" > remote_directory_parameters - ;; - lsk-vexpress-be|vexpress-be) - find artifacts -type f -name "linux-*-linaro-${hwpack}_*.deb" -exec mv -t ${WORKSPACE} {} + - - rm -f hwpack_linaro_armhf_supported.tar.gz - export HWPACK_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-hwpacks/hwpack=vexpress,label=build/lastSuccessfulBuild/buildNumber` - export HWPACK_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/ubuntu-armhf-hwpacks/hwpack=vexpress,label=build/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` - export HWPACK_BUILD_URL="http://snapshots.linaro.org/ubuntu/hwpacks/vexpress/${HWPACK_BUILD_NUMBER}/hwpack_linaro-vexpress_${HWPACK_BUILD_TIMESTAMP}-${HWPACK_BUILD_NUMBER}_armhf_supported.tar.gz" - wget --progress=dot -e dotbytes=2M ${HWPACK_BUILD_URL} -O hwpack_linaro_armhf_supported.tar.gz - - linaro-hwpack-replace -t hwpack_linaro_armhf_supported.tar.gz -p `ls linux-image-*-linaro-${hwpack}_*.deb` -r linux-image -d -i - linaro-hwpack-replace -t hwpack_linaro_armhf_supported.tar.gz -p `ls linux-headers-*-linaro-${hwpack}_*.deb` -r linux-headers -d -i - - mv hwpack_linaro_armhf_supported.tar.gz ${WORKSPACE}/hwpack_linaro-${hwpack}_${VERSION}_armhf_supported.tar.gz - mv hwpack_linaro_armhf_supported.manifest.txt ${WORKSPACE}/hwpack_linaro-${hwpack}_${VERSION}_armhf_supported.manifest.txt - - echo "distribution=openembedded" > remote_directory_parameters - ;; - lsk-vexpress64|lsk-vexpress64-be|vexpress64|vexpress64-be|lt-vexpress64) - find artifacts -type f -name "linux-*-linaro-${hwpack}_*.deb" -exec mv -t ${WORKSPACE} {} + - - rm -f hwpack_linaro-${hwpack}-rtsm_*_arm64_supported.tar.gz - - linaro-hwpack-replace -t hwpack_linaro_arm64_supported.tar.gz -p `ls linux-image-*-linaro-${hwpack}_*.deb` -r linux-image -d -i - linaro-hwpack-replace -t hwpack_linaro_arm64_supported.tar.gz -p `ls linux-headers-*-linaro-${hwpack}_*.deb` -r linux-headers -d -i - - mv hwpack_linaro_arm64_supported.tar.gz ${WORKSPACE}/hwpack_linaro-${hwpack}-rtsm_${VERSION}_arm64_supported.tar.gz - mv hwpack_linaro_arm64_supported.manifest.txt ${WORKSPACE}/hwpack_linaro-${hwpack}-rtsm_${VERSION}_arm64_supported.manifest.txt - - echo "distribution=openembedded" > remote_directory_parameters - ;; - esac - - echo "HWPACK_JOB_NAME=${JOB_NAME}" > post_build_lava_parameters - echo "HWPACK_BUILD_NUMBER=${BUILD_NUMBER}" >> post_build_lava_parameters - echo "HWPACK_FILE_NAME=`ls hwpack_linaro-${hwpack}*.tar.gz`" >> post_build_lava_parameters - - case "${hwpack}" in - arndale|highbank|panda) - echo "DEVICE_TYPE=${hwpack}" >> post_build_lava_parameters - ;; - snowball) - echo "DEVICE_TYPE=snowball_sd" >> post_build_lava_parameters - # XXX workaround until BUILD.INFO.txt is fixed - rm -f BUILD-INFO.txt - touch EULA.txt - ;; - lsk-vexpress|vexpress) - echo "DEVICE_TYPE=vexpress-a9" >> post_build_lava_parameters - ;; - arndale-be|arndale-octa|beaglebone|lsk-arndale-be|lsk-panda-be|lsk-vexpress-be|lsk-vexpress64|lsk-vexpress64-be|midway|panda-be|vexpress64|vexpress64-be|lt-vexpress64) - echo "Skip DEVICE_TYPE for ${hwpack}" - ;; - esac - - inject: - properties-file: remote_directory_parameters - - shell: | - mkdir out - mv hwpack_linaro-${hwpack}* out - ${HOME}/bin/linaro-cp --api_version 3 out ${distribution}/hwpacks/${hwpack}/${BUILD_NUMBER} - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - publishers: - - archive: - artifacts: 'out/*' - latest-only: true - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/ynk-lof-test.yaml b/ynk-lof-test.yaml deleted file mode 100644 index 7b9ecd98ab..0000000000 --- a/ynk-lof-test.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- job: - name: ynk-lof-test - project-type: matrix - defaults: global - logrotate: - daysToKeep: 15 - numToKeep: 15 - properties: - - authorization: - anonymous: - - job-read - linaro: - - job-build - - job-cancel - - job-configure - disabled: true - node: build - display-name: 'DELETE ME' - axes: - - axis: - type: slave - name: label - values: - - lhg - - axis: - type: user-defined - name: image_type - values: - - media-weston - - axis: - type: user-defined - name: board_type - values: - - db410c - execution-strategy: - sequential: true - wrappers: - - timestamps - - matrix-tie-parent: - node: lhg - builders: - - shell: | - #!/bin/bash - - set -x - - export PATH="$HOME/bin:$PATH" - - manifest_branch=my.jethro.testing - manifest_repository=https://github.com/andrey-konovalov/lhg-oe-manifests.git - - rm -rf build - - repo init -u $manifest_repository -b $manifest_branch -m ${image_type}-${board_type}.xml --repo-url=git://android-git.linaro.org/tools/repo - repo sync - - MACHINE=dragonboard-410c source meta-lhg/script/envsetup.sh - bitbake lof-mm-image - - # just try the build - don't publish anything for now - publishers: - - email: - recipients: 'andrey.konovalov@linaro.org' - -- cgit v1.2.3