aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-db410c-bootloader.yaml
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2015-06-18 19:02:25 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2015-06-19 11:51:05 +0300
commita7db3ed49e0d4d467ff12883224fcf4b067f5b87 (patch)
tree0f1a972261860150a5319b55b95304afbd50422f /lt-qcom-db410c-bootloader.yaml
parentec11847a5707c34c65bc8c46bb746c0ca5f02c7a (diff)
lt-qcom{ubuntu-images-arm64,db410c-bootloader}: clean up to align with release layout
* sd_card -> sdcard * implement the following layout, like on releases folder: snapshots/linaro/ rescue/ : bootloader and SD install images ubuntu/ : ubuntu images qualcomm/ android : android images * removed access restriction from now on * Note: in a next commit the SD install images will be moved in 'ubuntu' and 'android' folder, instead of 'rescue', but that requires deeper changes in the job, that will be added once these changes are verified Change-Id: I872afa758b37f6d8ab3fb42b72a14224e71f6bd4 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'lt-qcom-db410c-bootloader.yaml')
-rw-r--r--lt-qcom-db410c-bootloader.yaml29
1 files changed, 11 insertions, 18 deletions
diff --git a/lt-qcom-db410c-bootloader.yaml b/lt-qcom-db410c-bootloader.yaml
index 1da4b5b7c7..5060b2406f 100644
--- a/lt-qcom-db410c-bootloader.yaml
+++ b/lt-qcom-db410c-bootloader.yaml
@@ -108,7 +108,7 @@
cd ../emmc_linux
export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/lt-qcom-ubuntu-images-arm64/lastSuccessfulBuild/buildNumber`
export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/lt-qcom-ubuntu-images-arm64/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd`
- export ROOTFS_BUILD_URL="http://builds.96boards.org/snapshots/dragonboard410c/ubuntu/${ROOTFS_BUILD_NUMBER}/"
+ export ROOTFS_BUILD_URL="http://builds.96boards.org/snapshots/dragonboard410c/linaro/ubuntu/${ROOTFS_BUILD_NUMBER}/"
wget --progress=dot -e dotbytes=2M "${ROOTFS_BUILD_URL}/boot-linaro-vivid-qcom-snapdragon-arm64-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.img.gz" -O boot.img.gz
wget --progress=dot -e dotbytes=2M "${ROOTFS_BUILD_URL}/linaro-vivid-alip-qcom-snapdragon-arm64-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.img.gz" -O rootfs.img.gz
gunzip *.img.gz
@@ -131,35 +131,28 @@
# add license.txt file
wget https://git.linaro.org/landing-teams/working/qualcomm/lt-docs.git/blob_plain/HEAD:/license/license.txt
- for d in sd_card_install_ubuntu sd_card_install_android sd_card_rescue bootloader_emmc_linux bootloader_emmc_android; do
+ for d in sdcard_install_ubuntu sdcard_install_android sdcard_rescue bootloader_emmc_linux bootloader_emmc_android; do
cp license.txt out/dragonboard410c_$d
done
# Final preparation of archives for publishing
- mkdir out-bootloader out-pre-built
- zip -rj out-pre-built/dragonboard410c_sd_card_install_ubuntu-${BUILD_NUMBER}-${ROOTFS_BUILD_NUMBER}.zip out/dragonboard410c_sd_card_install_ubuntu
- zip -rj out-pre-built/dragonboard410c_sd_card_install_android-${BUILD_NUMBER}-${ANDROID_ROOTFS_BUILD_NUMBER}.zip out/dragonboard410c_sd_card_install_android
- zip -rj out-pre-built/dragonboard410c_sd_card_rescue-${BUILD_NUMBER}.zip out/dragonboard410c_sd_card_rescue
- zip -rj out-bootloader/dragonboard410c_bootloader_emmc_linux-${BUILD_NUMBER}.zip out/dragonboard410c_bootloader_emmc_linux
- zip -rj out-bootloader/dragonboard410c_bootloader_emmc_android-${BUILD_NUMBER}.zip out/dragonboard410c_bootloader_emmc_android
+ mkdir out-rescue
+ zip -rj out-rescue/dragonboard410c_sdcard_install_ubuntu-${BUILD_NUMBER}-${ROOTFS_BUILD_NUMBER}.zip out/dragonboard410c_sdcard_install_ubuntu
+ zip -rj out-rescue/dragonboard410c_sdcard_install_android-${BUILD_NUMBER}-${ANDROID_ROOTFS_BUILD_NUMBER}.zip out/dragonboard410c_sdcard_install_android
+ zip -rj out-rescue/dragonboard410c_sdcard_rescue-${BUILD_NUMBER}.zip out/dragonboard410c_sdcard_rescue
+ zip -rj out-rescue/dragonboard410c_bootloader_emmc_linux-${BUILD_NUMBER}.zip out/dragonboard410c_bootloader_emmc_linux
+ zip -rj out-rescue/dragonboard410c_bootloader_emmc_android-${BUILD_NUMBER}.zip out/dragonboard410c_bootloader_emmc_android
# Create MD5SUMS file
- (cd out-pre-built && md5sum * > MD5SUMS.txt)
- (cd out-bootloader && md5sum * > MD5SUMS.txt)
+ (cd out-rescue && md5sum * > MD5SUMS.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
- wget -q https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/lt-qcom-db410c-bootloader/build-info/template.txt -O out-bootloader/BUILD-INFO.txt
- wget -q https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/lt-qcom-db410c-bootloader/build-info/template.txt -O out-pre-built/BUILD-INFO.txt
time python ${HOME}/bin/linaro-cp.py \
--server ${PUBLISH_SERVER} \
- --build-info out-bootloader/BUILD-INFO.txt \
- out-bootloader snapshots/dragonboard410c/bootloader/${BUILD_NUMBER}
- time python ${HOME}/bin/linaro-cp.py \
- --server ${PUBLISH_SERVER} \
- --build-info out-pre-built/BUILD-INFO.txt \
- out-pre-built snapshots/dragonboard410c/pre-built/${BUILD_NUMBER}
+ --link-latest \
+ out-rescue snapshots/dragonboard410c/linaro/rescue/${BUILD_NUMBER}
- shell: |
#!/bin/bash