aboutsummaryrefslogtreecommitdiff
path: root/lava-debian-sid-arm64.yaml
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2016-03-22 17:03:20 +0000
committerNeil Williams <neil.williams@linaro.org>2016-03-22 17:40:58 +0000
commit66a05e26d6ee403d8bf5eb1eac92ccea0a2aa78f (patch)
treeb1997a47ec169b2f52ae97f6da1c43b28827496f /lava-debian-sid-arm64.yaml
parent0ab59888f695da175d9485219ea553847296b132 (diff)
add arm64 build scripts
Drop link-latest, it is not useful when checksums are recommended in the job submissions using these files. Change-Id: Iaeb3fd48df60251a1d2418b589a0dc3c54e5ea12
Diffstat (limited to 'lava-debian-sid-arm64.yaml')
-rw-r--r--lava-debian-sid-arm64.yaml75
1 files changed, 75 insertions, 0 deletions
diff --git a/lava-debian-sid-arm64.yaml b/lava-debian-sid-arm64.yaml
new file mode 100644
index 0000000000..b376fddec4
--- /dev/null
+++ b/lava-debian-sid-arm64.yaml
@@ -0,0 +1,75 @@
+# Debian arm64 NFS, initramfs, modules and dtbs
+
+- job:
+ name: lava-debian-sid-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: false
+ node: docker-jessie-amd64
+ display-name: 'LAVA - Build ARM64 Debian unstable files'
+ wrappers:
+ - timestamps
+ builders:
+ - linaro-publish-token
+ - shell: |
+ #!/bin/bash
+
+ mkdir out
+ cd out/
+ 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 sid
+ cd ..
+ cat > ${WORKSPACE}/out/debian-arm64-readme.html <<EOF
+ <html><body><pre>
+ 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 unstable: 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-sid-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-sid-arm64.yaml
+ The base system is a Debian Unstable VM.
+
+ The NFS rootfs uses a prompt of "root@sid:"
+
+ </pre></body></html>
+ 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 out components/lava/standard/debian/sid/arm64/${BUILD_NUMBER}
+ publishers:
+ - email:
+ recipients: 'neil.williams@linaro.org fathi.boudra@linaro.org'