diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-10-16 13:16:48 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-10-16 14:28:26 +0300 |
commit | 5f3dece13ef364b5118bf5caeec79d49549c77e7 (patch) | |
tree | 77bcc4bc09a7b0ac1b7560a52905178fe3a60eb3 /optee | |
parent | 099cedc7481c8ff5728e162efcc9e1701a10621d (diff) |
optee-os: publish build artifacts to snapshots.linaro.org
Publish the build artifacts to snapshots.linaro.org in order to use them
in LAVA or by developers.
Change-Id: I82c61dc07f1b3800ea8f644b9be94a5cadcfe218
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'optee')
-rwxr-xr-x | optee/os/publishers.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/optee/os/publishers.sh b/optee/os/publishers.sh new file mode 100755 index 00000000..1b5066a8 --- /dev/null +++ b/optee/os/publishers.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Prepare files to publish +mkdir -p ${WORKSPACE}/out-publish +cp -a \ + ${HOME}/optee_repo/out/bios-qemu/bios.bin \ + ${HOME}/optee_repo/qemu/arm-softmmu/qemu-system-arm \ + ${WORKSPACE}/out-publish/ + +# 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 \ + ${WORKSPACE}/out-publish components/optee/os/${BUILD_NUMBER} |