diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2017-06-20 11:57:55 +0100 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-06-20 13:08:33 +0000 |
commit | f786e995987082eb0fa347785cf491be55b2c6cd (patch) | |
tree | 8b34a7479b8d5a7659314399ba443fe9f87c4c0f /lkft-lava-staging-oe.yaml | |
parent | f5292eab6c1dac123a5ae38bfb2d4bc1a1e67f28 (diff) |
lkft: submit staging LAVA test jobs
In order to catch infrastructure regressions early, there are 2 build
jobs that only submit the 'latest' available OE/AOSP build to
staging.validation.linaro.org LAVA instance. The builds are triggered
daily.
Change-Id: I14479c5ea94e451aeef4867db0711ac9fb9581ec
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Diffstat (limited to 'lkft-lava-staging-oe.yaml')
-rw-r--r-- | lkft-lava-staging-oe.yaml | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/lkft-lava-staging-oe.yaml b/lkft-lava-staging-oe.yaml new file mode 100644 index 0000000000..db9275d257 --- /dev/null +++ b/lkft-lava-staging-oe.yaml @@ -0,0 +1,88 @@ +- job: + name: lkft-lava-staging-oe + 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: LAVA_SERVER + default: 'https://staging.validation.linaro.org/RPC2/' + - string: + name: QA_SERVER + default: 'https://qa-reports.linaro.org' + disabled: false + node: master + display-name: 'LKFT - LAVA staging submit OE' + triggers: + - timed: 'H 0 * * *' + axes: + - axis: + type: user-defined + name: BUILD_NAME + values: + - '4.4' + - '4.9' + - 'linux-lt-4.4' + - 'linux-next' + - 'linux-stable-4.9' + - axis: + type: user-defined + name: DEVICE_TYPE + values: + - 'hi6220-hikey' + 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: | + export KSELFTEST_SKIPLIST="" + export SNAPSHOTS_BASE_URL="https://snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/${BUILD_NAME}/latest/" + + MD5_FILENAME="MD5SUMS.txt" + wget -O "${MD5_FILENAME}" "${SNAPSHOTS_BASE_URL}${MD5_FILENAME}" + ROOTFS_FILENAME=$(grep -E "rpb-console-image-hikey-[0-9]{14}-[0-9]{2}\.rootfs\.img\.gz" "${MD5_FILENAME}" | awk '{print $2}') + BOOT_FILENAME=$(grep -E "boot\S*uefi\.img" "${MD5_FILENAME}" | awk '{print $2}') + export BOOT_URL="${SNAPSHOTS_BASE_URL}${BOOT_FILENAME}" + export SYSTEM_URL="${SNAPSHOTS_BASE_URL}${ROOTFS_FILENAME}" + + rm -rf configs + git clone --depth 1 http://git.linaro.org/ci/job/configs.git + + python configs/openembedded-lkft/submit_for_testing.py \ + --device-type ${DEVICE_TYPE} \ + --build-number ${BUILD_NUMBER} \ + --lava-server ${LAVA_SERVER} \ + --qa-server ${QA_SERVER} \ + --qa-server-team staging-lkft \ + --qa-server-project ${BUILD_NAME} \ + --git-commit ${BUILD_NUMBER} \ + --template-names template-kselftest.yaml template-ltp.yaml template-libhugetlbfs.yaml + 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 |