diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-06-28 09:26:22 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-06-28 09:29:17 +0300 |
commit | 1556fc248894eab12729f5704c5f41511340b7cf (patch) | |
tree | 1ab98dadba68fed6ec330eb95591823b017b402f /openembedded-lkft-linux-stable-rc-4.4.yaml | |
parent | 1c77835cfc8acc01c4c2dd03dfb9f79db6b7e9e1 (diff) |
openembedded-lkft-linux-lts-4.4: rename to linux-stable-rc-4.4
Adjust the build job to the new git tree location and updates the related
names.
Change-Id: Ic4ef1ca7b6e12175310e51825423d457071f5969
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'openembedded-lkft-linux-stable-rc-4.4.yaml')
-rw-r--r-- | openembedded-lkft-linux-stable-rc-4.4.yaml | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/openembedded-lkft-linux-stable-rc-4.4.yaml b/openembedded-lkft-linux-stable-rc-4.4.yaml new file mode 100644 index 0000000000..ab5a599486 --- /dev/null +++ b/openembedded-lkft-linux-stable-rc-4.4.yaml @@ -0,0 +1,152 @@ +- job: + name: openembedded-lkft-linux-stable-rc-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/arm64-stable-rc.git' + - 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: 'linux-lts-4.4' + - string: + name: KSELFTEST_SKIPLIST + disabled: false + node: master + display-name: 'LKFT - Linux Stable RC 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 + - inject: + properties-file: device_type_parameters + - shell: + !include-raw: openembedded-lkft/builders.sh + - inject: + properties-file: post_build_lava_parameters + - shell: | + #!/bin/bash -e + echo "#${BUILD_NUMBER}-${KERNEL_COMMIT:0:8}" > ${WORKSPACE}/version.txt + - build-name-setter: + name: 'version.txt' + file: true + - 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 |