aboutsummaryrefslogtreecommitdiff
path: root/lite-aeolus-jerryscript.yaml
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2017-07-02 23:19:28 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2017-07-02 23:19:28 +0300
commit1d03c08140321f63434bb98040b62db1395d92e7 (patch)
treeabd805b949ec8c4a5ac786bf8b9f7c9406f498d0 /lite-aeolus-jerryscript.yaml
parent7f8bfb208d0fa86d6df651c1d21d76aa9256f9ac (diff)
pfalcon-aelous-*: Copy to lite-aeolus-*.
Prototyping phase is done, convert to production jobs. Initially tried to rename, but that lead to validation failure, working around with copy. Change-Id: I06099b7cfbf653027c9a7d6e520858f66bc0a5d4
Diffstat (limited to 'lite-aeolus-jerryscript.yaml')
-rw-r--r--lite-aeolus-jerryscript.yaml135
1 files changed, 135 insertions, 0 deletions
diff --git a/lite-aeolus-jerryscript.yaml b/lite-aeolus-jerryscript.yaml
new file mode 100644
index 0000000000..f3a1855f15
--- /dev/null
+++ b/lite-aeolus-jerryscript.yaml
@@ -0,0 +1,135 @@
+- job:
+ name: lite-aeolus-jerryscript
+ project-type: matrix
+ defaults: global
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ - job-workspace
+ linaro:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 30
+ artifact-num-to-keep: 30
+ parameters:
+ - string:
+ name: GIT_URL
+ default: 'https://github.com/jerryscript-project/jerryscript'
+ - string:
+ name: BRANCH
+ default: 'master'
+ - string:
+ name: LAVA_SERVER
+ default: 'validation.linaro.org/RPC2/'
+ - string:
+ name: QA_SERVER
+ default: 'https://qa-reports.linaro.org'
+ disabled: false
+ node: master
+ child-workspace: .
+ display-name: 'LITE Aeolus - JerryScript'
+ axes:
+ - axis:
+ type: slave
+ name: label
+ values:
+ - docker-xenial-amd64-13
+ - axis:
+ type: user-defined
+ name: ZEPHYR_GCC_VARIANT
+ values:
+ - zephyr
+ - axis:
+ type: user-defined
+ name: PLATFORM
+ values:
+ - 96b_carbon
+ - arduino_101
+ - frdm_k64f
+ - qemu_cortex_m3
+ - qemu_x86
+ wrappers:
+ - timestamps
+ - credentials-binding:
+ - text:
+ credential-id: LAVA_USER
+ variable: LAVA_USER
+ - credentials-binding:
+ - text:
+ credential-id: LAVA_TOKEN
+ variable: LAVA_TOKEN
+ - credentials-binding:
+ - text:
+ credential-id: QA_REPORTS_TOKEN
+ variable: QA_REPORTS_TOKEN
+ builders:
+ - shell:
+ !include-raw:
+ - lite-aeolus/build-init.sh
+ - lite-aeolus/build-jerryscript.sh
+ - lite-aeolus/build-finalize.sh
+ - inject:
+ properties-file: env_var_parameters
+ - build-name-setter:
+ template: '#${BUILD_NUMBER}-${GIT_COMMIT}'
+ macro: true
+ - linaro-publish-token
+ - shell: |
+ #!/bin/bash
+
+ echo "Publishing artifacts"
+
+ # 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 \
+ --api_version 3 \
+ --link-latest \
+ out/${PLATFORM} components/kernel/aeolus-2/jerryscript/${BRANCH}/${ZEPHYR_GCC_VARIANT}/${PLATFORM}/${BUILD_NUMBER}
+
+ rm -rf out
+ - shell: |
+ #!/bin/bash -e
+
+ echo "Preparing to submit to LAVA"
+
+ case "${PLATFORM}" in
+ arduino_101)
+ export DEVICE_TYPE=arduino101
+ ;;
+ frdm_k64f)
+ export DEVICE_TYPE=frdm-k64f
+ ;;
+ frdm_kw41z)
+ export DEVICE_TYPE=frdm-kw41z
+ ;;
+ qemu_cortex_m3)
+ export DEVICE_TYPE=qemu
+ ;;
+ *)
+ echo "Skipping LAVA testing for ${PLATFORM}"
+ ;;
+ esac
+
+ rm -rf configs
+ git clone --depth 1 http://git.linaro.org/ci/job/configs.git
+
+ cd configs/lite-aeolus
+
+ export IMAGE_URL="http://snapshots.linaro.org/components/kernel/aeolus-2/jerryscript/${BRANCH}/${ZEPHYR_GCC_VARIANT}/${PLATFORM}/${BUILD_NUMBER}/zephyr.bin"
+
+ [ -z "${DEVICE_TYPE}" ] || \
+ python submit-for-test.py "Zephyr version"
+
+ publishers:
+ - groovy-postbuild:
+ script:
+ !include-raw: lite-aeolus/description-lava-link.groovy
+ - email:
+ recipients: 'paul.sokolovsky@linaro.org'