aboutsummaryrefslogtreecommitdiff
path: root/debian-armhf-rootfs.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-10-28 11:37:04 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2015-10-28 11:37:04 +0200
commit58e4575824a05b09f3d187447b047fea75e0bf35 (patch)
tree256ddda2700da5cd870e2634ef109890d49c7ddf /debian-armhf-rootfs.yaml
parent674a70f8c44b1084527a249de2f4058c49ac4e38 (diff)
downloadconfigs-58e4575824a05b09f3d187447b047fea75e0bf35.tar.gz
debian-arm*-rootfs: fix publishing
Due to the switch to docker slaves, we need to adjust publishing. Install pycurl dependency and download latest linaro-cp.py script. Change-Id: I9f40ff521776602bd56721396d7e57986d7aaeed Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'debian-armhf-rootfs.yaml')
-rw-r--r--debian-armhf-rootfs.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian-armhf-rootfs.yaml b/debian-armhf-rootfs.yaml
index ddd2d46df..371e9d3f6 100644
--- a/debian-armhf-rootfs.yaml
+++ b/debian-armhf-rootfs.yaml
@@ -62,7 +62,7 @@
}
sudo apt-get update
- sudo apt-get install -y --no-install-recommends cpio debootstrap live-build
+ sudo apt-get install -y --no-install-recommends cpio debootstrap live-build python-pycurl
sudo dpkg -i --force-all packages/live-build_3.0.5-1linaro1_all.deb
dpkg -s qemu-user-static |grep '^Version'
@@ -78,7 +78,11 @@
cd ${WORKSPACE}
sudo rm -rf out && mkdir out
sudo mv builddir/jessie-armhf-${rootfs}/linaro-jessie-* out
- time python ${HOME}/bin/linaro-cp --link-latest out debian/images/${rootfs}-armhf/${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 --link-latest out debian/images/${rootfs}-armhf/${BUILD_NUMBER}
publishers:
- archive:
artifacts: 'out/linaro-jessie-${rootfs}-*'