aboutsummaryrefslogtreecommitdiff
path: root/armnn-ci-build.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2019-05-21 11:45:33 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2019-05-21 11:45:33 +0300
commitb61acaed13b5d0d53a95e1044f3f23ca0e68cc3a (patch)
tree54dfb816553cc6145d9f9924df4cde9e5c5cfb89 /armnn-ci-build.yaml
parent13eb06158618b61ea0489ca50defc422a18a9398 (diff)
armnn-ci-build: fix the publishing
PUB_DEST environment variable wasn't set. Get rid of archiving on ci.linaro.org and keep only publishing to snapshots.linaro.org storage. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I958c871fc27ca69b9faacf20d4e7e6c4db50e396
Diffstat (limited to 'armnn-ci-build.yaml')
-rw-r--r--armnn-ci-build.yaml17
1 files changed, 11 insertions, 6 deletions
diff --git a/armnn-ci-build.yaml b/armnn-ci-build.yaml
index a6b33e24..b4de9183 100644
--- a/armnn-ci-build.yaml
+++ b/armnn-ci-build.yaml
@@ -12,7 +12,6 @@
- build-discarder:
days-to-keep: 90
num-to-keep: 90
- artifact-num-to-keep: 1
disabled: false
node: docker-stretch-arm64
display-name: 'Arm NN - CI Build'
@@ -22,8 +21,14 @@
- shell:
!include-raw: armnn-ci-build/builders.sh
- linaro-publish-token
- - shell:
- !include-raw: armnn-ci-build/publishers.sh
- publishers:
- - archive:
- artifacts: 'armnn-snapshot/*.tar.xz'
+ - shell: |
+ #!/bin/bash
+
+ set -ex
+
+ # 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/ components/armnn/${BUILD_NUMBER}