- 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}" export KERNEL_BRANCH=${BUILD_NAME} export KERNEL_VERSION=${BUILD_NAME} export KERNEL_REPO="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/" export KERNEL_COMMIT=${BUILD_NUMBER} export KERNEL_DESCRIBE="Kernel Describe" 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