diff options
author | Maxim Uvarov <maxim.uvarov@linaro.org> | 2019-09-11 10:14:50 +0300 |
---|---|---|
committer | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2019-09-11 09:11:56 +0000 |
commit | df5cc0b2097d6aea892e95385725fd3fd3322c27 (patch) | |
tree | b886fe5bd4124eace48e1e13558933acb9d956ae /ledge-oe.yaml | |
parent | 5107a76454516ef9ba212ff31e4eaf682f8888b5 (diff) |
lede-oe: use submit for testing directly
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Change-Id: I6e3d70c4acbf0cbfe3cae72ca0b15d16e9383c64
Diffstat (limited to 'ledge-oe.yaml')
-rw-r--r-- | ledge-oe.yaml | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/ledge-oe.yaml b/ledge-oe.yaml index cc31da35..f8e55fae 100644 --- a/ledge-oe.yaml +++ b/ledge-oe.yaml @@ -128,7 +128,32 @@ if [ ${MACHINE} = "am57xx-evm" ]; then export LAVA_SERVER="validation.linaro.org/RPC2/" fi - ./rpb-openembedded/submit_for_testing.sh + + [ -z "${KSELFTEST_PATH}" ] && export KSELFTEST_PATH="/opt/kselftests/mainline/" + [ -z "${LAVA_JOB_PRIORITY}" ] && export LAVA_JOB_PRIORITY="25" + [ -z "${SANITY_LAVA_JOB_PRIORITY}" ] && export SANITY_LAVA_JOB_PRIORITY="30" + [ -z "${SKIP_LAVA}" ] || unset DEVICE_TYPE + [ -z "${QA_SERVER_TEAM}" ] && export QA_SERVER_TEAM=rpb + [ -z "${TOOLCHAIN}" ] && export TOOLCHAIN="unknown" + [ -z "${TDEFINITIONS_REVISION}" ] && export TDEFINITIONS_REVISION="kselftest-5.1" + [ -z "${MANIFEST_COMMIT}" ] && export MANIFEST_COMMIT="HEAD" + # Used by DB410C's template: + export RESIZE_ROOTFS=${RESIZE_ROOTFS:-} + + rm -rf configs + git clone --depth 1 http://git.linaro.org/ci/job/configs.git + + [ -z "${DEVICE_TYPE}" ] || \ + 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 ${QA_SERVER_TEAM} \ + --qa-server-project ${QA_SERVER_PROJECT} \ + --git-commit ${MANIFEST_COMMIT} \ + --template-path configs/rpb-openembedded/lava-job-definitions \ + --template-names template-boot.yaml publishers: - groovy-postbuild: script: |