aboutsummaryrefslogtreecommitdiff
path: root/openembedded-lkft-linux-stable-4.15.yaml
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2018-01-30 00:20:19 +0100
committerDan Rue <dan.rue@linaro.org>2018-02-02 20:11:15 +0000
commit986326432006165ea08715e273202fed67aa93f5 (patch)
treedc8c1183caa7c2d0184d01262b0d3ed55e07dea8 /openembedded-lkft-linux-stable-4.15.yaml
parentb81cac1f2cee09e0e0936f1ace094677650ea4bb (diff)
add new openembedded-lkft-linux-stable-4.15 job
Change-Id: Idce96fee3526fb5ad75f8690ac65664691dec604 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'openembedded-lkft-linux-stable-4.15.yaml')
-rw-r--r--openembedded-lkft-linux-stable-4.15.yaml163
1 files changed, 163 insertions, 0 deletions
diff --git a/openembedded-lkft-linux-stable-4.15.yaml b/openembedded-lkft-linux-stable-4.15.yaml
new file mode 100644
index 0000000000..57218869ee
--- /dev/null
+++ b/openembedded-lkft-linux-stable-4.15.yaml
@@ -0,0 +1,163 @@
+- job:
+ name: openembedded-lkft-linux-stable-4.15
+ 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: 'linux-4.15.y'
+ - string:
+ name: KERNEL_VERSION
+ default: '4.15'
+ - string:
+ name: KERNEL_RECIPE
+ default: 'linux-generic-stable'
+ - string:
+ name: KERNEL_REPO
+ default: 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git'
+ - string:
+ name: KERNEL_DESCRIBE
+ - string:
+ name: SRCREV_kernel
+ - string:
+ name: MAKE_KERNELVERSION
+ - string:
+ name: IMAGES
+ default: 'rpb-console-image'
+ - string:
+ name: MANIFEST_BRANCH
+ default: 'morty'
+ - string:
+ name: PUB_DEST
+ default: 'openembedded/lkft/${MANIFEST_BRANCH}/${MACHINE}/${DISTRO}/linux-stable-${KERNEL_VERSION}/${BUILD_NUMBER}'
+ - string:
+ name: LAVA_SERVER
+ default: 'https://lkft.validation.linaro.org/RPC2/'
+ - string:
+ name: QA_SERVER
+ default: 'https://qa-reports.linaro.org'
+ - string:
+ name: QA_SERVER_PROJECT
+ default: 'linux-stable-4.15-oe'
+ - string:
+ name: SKIP_LAVA
+ default: ''
+ - string:
+ name: LAVA_JOB_PRIORITY
+ default: 'medium'
+ disabled: false
+ node: master
+ display-name: 'LKFT - Linux Stable 4.15.y (OpenEmbedded/morty)'
+ axes:
+ - axis:
+ type: user-defined
+ name: MACHINE
+ values:
+ - 'am57xx-evm'
+ - 'dragonboard-410c'
+ - 'hikey'
+ - 'intel-core2-32'
+ - 'juno'
+ - 'stih410-b2260'
+ - axis:
+ type: user-defined
+ name: DISTRO
+ values:
+ - rpb
+ - axis:
+ type: slave
+ name: label
+ values:
+ - docker-lkft
+ execution-strategy:
+ sequential: false
+ wrappers:
+ - timeout:
+ timeout: 180
+ - 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
+ ;;
+ intel-core2-32)
+ DEVICE_TYPE=x86
+ ;;
+ juno)
+ DEVICE_TYPE=juno-r2
+ ;;
+ am57xx-evm)
+ DEVICE_TYPE=x15
+ ;;
+ 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}/ ${PUB_DEST}
+ - shell:
+ !include-raw: openembedded-lkft/submit_for_testing.sh
+ publishers:
+ - groovy-postbuild:
+ script:
+ !include-raw: openembedded-lkft/postbuild.groovy
+ - email-ext:
+ recipients: 'lkft-maintainers@lists.linaro.org'
+ matrix-trigger: only-configurations
+ subject: '[CI] ${MACHINE}: ${KERNEL_BRANCH} {{SRCREV_kernel}} ${BUILD_STATUS}'
+ body: |
+ Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
+ Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
+ Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
+ Git branch: ${KERNEL_BRANCH}
+ Git URL: ${KERNEL_REPO}
+ Git commit: ${SRCREV_kernel}
+
+ Errors:
+ ${BUILD_LOG_REGEX, regex="^ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
+ presend-script:
+ !include-raw: openembedded-lkft/presend-script.groovy