diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2017-07-31 15:55:41 +0100 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-08-02 11:31:53 +0000 |
commit | 4d278e474bee8e2d37f8c02be03181aac40bae19 (patch) | |
tree | 0b1f513e5261f53c57b00b5af4478858f9f0f4a4 /openembedded-lkft-linaro-hikey-stable-4.4.yaml | |
parent | 581831e21371c37f0ca036bc16151e54a07fb8f4 (diff) |
lkft: move hikey lts-4.4 trees to maintained repositories
The 4.4 based branch on 96boards repository is no longer maintained. It
was replaced by the repository on git.linaro.org maintained by Sumit
Semwal. This patch updates the location of repositories and names of the
projects on qa-reports.
Change-Id: Ie7b6fbd64aef2e390f26ccc8e9b29365071a4519
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Diffstat (limited to 'openembedded-lkft-linaro-hikey-stable-4.4.yaml')
-rw-r--r-- | openembedded-lkft-linaro-hikey-stable-4.4.yaml | 155 |
1 files changed, 155 insertions, 0 deletions
diff --git a/openembedded-lkft-linaro-hikey-stable-4.4.yaml b/openembedded-lkft-linaro-hikey-stable-4.4.yaml new file mode 100644 index 00000000..d6799480 --- /dev/null +++ b/openembedded-lkft-linaro-hikey-stable-4.4.yaml @@ -0,0 +1,155 @@ +- job: + name: openembedded-lkft-linaro-hikey-stable-4.4 + 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: 1 + parameters: + - string: + name: KERNEL_BRANCH + default: '' + - string: + name: KERNEL_VERSION + default: '4.4' + - string: + name: KERNEL_RECIPE + default: 'linux-hikey-lts' + - string: + name: KERNEL_REPO + default: 'https://git.linaro.org/people/sumit.semwal/linux-lts.git' + - string: + name: KERNEL_DESCRIBE + - string: + name: SRCREV_kernel + - string: + name: IMAGES + default: 'rpb-console-image' + - string: + name: MANIFEST_BRANCH + default: 'morty' + - string: + name: BUNDLE_STREAM_NAME + default: '/public/team/linaro/openembedded-lkft-${MANIFEST_BRANCH}/' + - string: + name: LAVA_SERVER + default: 'validation.linaro.org/RPC2/' + - string: + name: QA_SERVER + default: 'https://qa-reports.linaro.org' + - string: + name: QA_SERVER_PROJECT + default: 'linaro-hikey-stable-4.4-oe' + - string: + name: KSELFTEST_SKIPLIST + default: 'step_after_suspend_test default_file_splice_read.sh default_file_splice_read' + disabled: false + node: master + display-name: 'LKFT - Linux Stable 4.4 + HiKey (OpenEmbedded/morty)' + axes: + - axis: + type: user-defined + name: MACHINE + values: + - 'hikey' + - axis: + type: user-defined + name: DISTRO + values: + - rpb + - axis: + type: slave + name: label + values: + - docker-jessie-amd64 + execution-strategy: + sequential: false + wrappers: + - timestamps + - ssh-agent-credentials: + users: + - 'OE_COMMIT_BOT_KEY' + - credentials-binding: + - text: + credential-id: QA_REPORTS_TOKEN + variable: QA_REPORTS_TOKEN + builders: + - shell: | + #!/bin/bash + + # Mapping for MACHINE -> DEVICE_TYPE + case "${MACHINE}" in + hikey) + DEVICE_TYPE=hi6220-hikey + ;; + esac + + echo "DEVICE_TYPE=${DEVICE_TYPE}" > device_type_parameters + echo "#${BUILD_NUMBER}-${SRCREV_kernel:0:8}" > ${WORKSPACE}/version.txt + - build-name-setter: + name: 'version.txt' + file: true + - inject: + properties-file: device_type_parameters + - shell: + !include-raw: openembedded-lkft/builders.sh + - inject: + properties-file: post_build_lava_parameters + - linaro-publish-token + - shell: | + #!/bin/bash + + # 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 \ + ${DEPLOY_DIR_IMAGE}/ ${BASE_URL} + - shell: | + rm -rf configs + git clone --depth 1 http://git.linaro.org/ci/job/configs.git + + sed -e "s|\${BOOT_URL}|${BOOT_URL}|" \ + -e "s|\${SYSTEM_URL}|${SYSTEM_URL}|" \ + -e "s|\${BUILD_URL}|${BUILD_URL}|" \ + -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \ + -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \ + -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \ + < configs/openembedded-lkft/lava-job-definitions/${DEVICE_TYPE}/template.json \ + > custom_lava_job_definition.json + + cat custom_lava_job_definition.json + + cat << EOF > post_build_lava_parameters + DEVICE_TYPE=${DEVICE_TYPE} + BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} + CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json + LAVA_SERVER=${LAVA_SERVER} + EOF + - trigger-builds: + - project: 'post-build-lava' + property-file: post_build_lava_parameters + block: true + - shell: + !include-raw: openembedded-lkft/submit_for_testing.sh + publishers: + - groovy-postbuild: + script: + !include-raw: openembedded-lkft/postbuild.groovy + - email-ext: + recipients: 'fathi.boudra@linaro.org, milosz.wasilewski@linaro.org, naresh.kamboju@linaro.org' + always: true + matrix-trigger: only-parent |