aboutsummaryrefslogtreecommitdiff
path: root/armnn-ci-build.yaml
diff options
context:
space:
mode:
authorTheodore Grey <theodore.grey@linaro.org>2019-06-10 16:46:47 +0100
committerFathi Boudra <fathi.boudra@linaro.org>2019-06-11 13:49:04 +0000
commitc37db3800681e1dc8705e4a2504cc532492ec80a (patch)
tree7eec91a9fcc07bf067710c723acbe2f6921ff944 /armnn-ci-build.yaml
parent05ef20e3f63b403a4aa8d51bd810e42742331708 (diff)
armnn-ci-build: add LAVA job submission
Change-Id: I6c20b002e27e3fb85c9b7b16c23e1ea8ffca5174
Diffstat (limited to 'armnn-ci-build.yaml')
-rw-r--r--armnn-ci-build.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/armnn-ci-build.yaml b/armnn-ci-build.yaml
index a84e96c141..151f3809f6 100644
--- a/armnn-ci-build.yaml
+++ b/armnn-ci-build.yaml
@@ -19,6 +19,10 @@
num-to-keep: 90
- github:
url: https://git.mlplatform.org/ml/armnn.git
+ parameters:
+ - string:
+ name: LAVA_SERVER
+ default: 'staging.validation.linaro.org/'
disabled: false
node: docker-stretch-arm64
display-name: 'Arm NN - CI Build'
@@ -27,6 +31,9 @@
builders:
- shell:
!include-raw: armnn-ci-build/builders.sh
+ - build-name-setter:
+ template: '#${BUILD_NUMBER}-${GIT_COMMIT_ID}'
+ macro: true
- linaro-publish-token
- shell: |
#!/bin/bash
@@ -39,3 +46,20 @@
time python ${HOME}/bin/linaro-cp.py \
--link-latest \
out/ components/armnn/${BUILD_NUMBER}
+ - shell: |
+ #!/bin/bash -ex
+
+ export DEVICE_TYPE=hi960-hikey
+
+ rm -rf configs
+ git clone --depth 1 http://git.linaro.org/ci/job/configs.git
+
+ [ -z "${DEVICE_TYPE}" ] || \
+ python configs/armnn-ci-build/submit_for_testing.py \
+ --device-type ${DEVICE_TYPE} \
+ --build-number ${BUILD_NUMBER} \
+ --qa-server-team staging-lkft \
+ --qa-server-project armnn-ci-build \
+ --lava-server ${LAVA_SERVER} \
+ --git-commit ${GIT_COMMIT_ID} \
+ --template-names armnn-template.yaml \ No newline at end of file