aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openembedded-lkft-linux-stable-rt-4.4.yaml132
-rw-r--r--openembedded-lkft-linux-stable-rt-4.9.yaml132
-rwxr-xr-xopenembedded-lkft/builders.sh5
-rw-r--r--trigger-openembedded-lkft-linux-stable-rt-4.4.yaml48
-rw-r--r--trigger-openembedded-lkft-linux-stable-rt-4.9.yaml48
5 files changed, 364 insertions, 1 deletions
diff --git a/openembedded-lkft-linux-stable-rt-4.4.yaml b/openembedded-lkft-linux-stable-rt-4.4.yaml
new file mode 100644
index 000000000..99badabcb
--- /dev/null
+++ b/openembedded-lkft-linux-stable-rt-4.4.yaml
@@ -0,0 +1,132 @@
+- job:
+ name: openembedded-lkft-linux-stable-rt-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: 'v4.4-rt'
+ - string:
+ name: KERNEL_VERSION
+ default: '4.4'
+ - string:
+ name: KERNEL_RECIPE
+ default: 'linux-generic-stable-rt'
+ - string:
+ name: KERNEL_REPO
+ default: 'https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.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: 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: 'TBD'
+ - string:
+ name: KSELFTEST_SKIPLIST
+ default: 'test_verifier test_tag test_maps test_lru_map test_lpm_map test_progs test_align test_kmod.sh'
+ - string:
+ name: SKIP_LAVA
+ default: '1'
+ disabled: false
+ node: master
+ display-name: 'LKFT - Linux Stable RT 4.4 (OpenEmbedded/morty)'
+ axes:
+ - axis:
+ type: user-defined
+ name: MACHINE
+ values:
+ - 'juno'
+ - axis:
+ type: user-defined
+ name: DISTRO
+ values:
+ - rpb
+ - axis:
+ type: slave
+ name: label
+ values:
+ - docker-stretch-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
+ juno)
+ DEVICE_TYPE=juno-r2
+ ;;
+ 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}/ ${BASE_URL}
+ - 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, fathi.boudra@linaro.org, milosz.wasilewski@linaro.org, naresh.kamboju@linaro.org'
+ always: true
+ matrix-trigger: only-parent
diff --git a/openembedded-lkft-linux-stable-rt-4.9.yaml b/openembedded-lkft-linux-stable-rt-4.9.yaml
new file mode 100644
index 000000000..f11ba0cda
--- /dev/null
+++ b/openembedded-lkft-linux-stable-rt-4.9.yaml
@@ -0,0 +1,132 @@
+- job:
+ name: openembedded-lkft-linux-stable-rt-4.9
+ 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: 'v4.9-rt'
+ - string:
+ name: KERNEL_VERSION
+ default: '4.9'
+ - string:
+ name: KERNEL_RECIPE
+ default: 'linux-generic-stable-rt'
+ - string:
+ name: KERNEL_REPO
+ default: 'https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.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: 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: 'TBD'
+ - string:
+ name: KSELFTEST_SKIPLIST
+ default: 'test_verifier test_tag test_maps test_lru_map test_lpm_map test_progs test_align test_kmod.sh'
+ - string:
+ name: SKIP_LAVA
+ default: '1'
+ disabled: false
+ node: master
+ display-name: 'LKFT - Linux Stable RT 4.9 (OpenEmbedded/morty)'
+ axes:
+ - axis:
+ type: user-defined
+ name: MACHINE
+ values:
+ - 'juno'
+ - axis:
+ type: user-defined
+ name: DISTRO
+ values:
+ - rpb
+ - axis:
+ type: slave
+ name: label
+ values:
+ - docker-stretch-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
+ juno)
+ DEVICE_TYPE=juno-r2
+ ;;
+ 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}/ ${BASE_URL}
+ - 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, fathi.boudra@linaro.org, milosz.wasilewski@linaro.org, naresh.kamboju@linaro.org'
+ always: true
+ matrix-trigger: only-parent
diff --git a/openembedded-lkft/builders.sh b/openembedded-lkft/builders.sh
index 47f9fd45c..33fd344fc 100755
--- a/openembedded-lkft/builders.sh
+++ b/openembedded-lkft/builders.sh
@@ -88,7 +88,7 @@ PREFERRED_PROVIDER_virtual/kernel = "${KERNEL_RECIPE}"
EOF
case "${KERNEL_RECIPE}" in
- linux-hikey-aosp|linux-hikey-stable|linux-hikey-stable-rc|linux-generic-android-common-o|linux-generic-android-common-o-release|linux-generic-lsk*)
+ linux-hikey-aosp|linux-hikey-stable*|linux-generic-android-common-o*|linux-generic-lsk*|linux-generic-stable*)
cat << EOF >> ${distro_conf}
PREFERRED_VERSION_${KERNEL_RECIPE} = "${KERNEL_VERSION}+git%"
EOF
@@ -285,6 +285,9 @@ case "${KERNEL_RECIPE}" in
linux-generic-lsk-rt-test)
PUB_DEST="lsk-${KERNEL_VERSION}-rt-test"
;;
+ linux-generic-stable-rt)
+ PUB_DEST="linux-stable-rt-${KERNEL_VERSION}"
+ ;;
*)
PUB_DEST="${KERNEL_VERSION}"
;;
diff --git a/trigger-openembedded-lkft-linux-stable-rt-4.4.yaml b/trigger-openembedded-lkft-linux-stable-rt-4.4.yaml
new file mode 100644
index 000000000..f50e4d7cd
--- /dev/null
+++ b/trigger-openembedded-lkft-linux-stable-rt-4.4.yaml
@@ -0,0 +1,48 @@
+- job:
+ name: trigger-openembedded-lkft-linux-stable-rt-4.4
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ parameters:
+ - string:
+ name: KERNEL_BRANCH
+ default: 'v4.4-rt'
+ disabled: false
+ node: master
+ display-name: 'Trigger for LKFT - Linux Stable RT 4.4'
+ scm:
+ - git:
+ url: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git
+ refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
+ name: origin
+ branches:
+ - origin/${KERNEL_BRANCH}
+ skip-tag: true
+ shallow-clone: false
+ wipe-workspace: false
+ triggers:
+ - pollscm: 'H/5 * * * *'
+ wrappers:
+ - timestamps
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
+ builders:
+ - shell: |
+ #!/bin/bash -e
+ echo KERNEL_DESCRIBE=$(git describe --always) > lkft_parameters
+ echo SRCREV_kernel=${GIT_COMMIT} >> lkft_parameters
+ echo MAKE_KERNELVERSION=$(make kernelversion) >> lkft_parameters
+ cat lkft_parameters
+ publishers:
+ - trigger-parameterized-builds:
+ - project:
+ - 'openembedded-lkft-linux-stable-rt-4.4'
+ condition: SUCCESS
+ property-file: lkft_parameters
diff --git a/trigger-openembedded-lkft-linux-stable-rt-4.9.yaml b/trigger-openembedded-lkft-linux-stable-rt-4.9.yaml
new file mode 100644
index 000000000..afc9e9ca1
--- /dev/null
+++ b/trigger-openembedded-lkft-linux-stable-rt-4.9.yaml
@@ -0,0 +1,48 @@
+- job:
+ name: trigger-openembedded-lkft-linux-stable-rt-4.9
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ parameters:
+ - string:
+ name: KERNEL_BRANCH
+ default: 'v4.9-rt'
+ disabled: false
+ node: master
+ display-name: 'Trigger for LKFT -Linux Stable RT 4.9'
+ scm:
+ - git:
+ url: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git
+ refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
+ name: origin
+ branches:
+ - origin/${KERNEL_BRANCH}
+ skip-tag: true
+ shallow-clone: false
+ wipe-workspace: false
+ triggers:
+ - pollscm: 'H/5 * * * *'
+ wrappers:
+ - timestamps
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
+ builders:
+ - shell: |
+ #!/bin/bash -e
+ echo KERNEL_DESCRIBE=$(git describe --always) > lkft_parameters
+ echo SRCREV_kernel=${GIT_COMMIT} >> lkft_parameters
+ echo MAKE_KERNELVERSION=$(make kernelversion) >> lkft_parameters
+ cat lkft_parameters
+ publishers:
+ - trigger-parameterized-builds:
+ - project:
+ - 'openembedded-lkft-linux-stable-rt-4.9'
+ condition: SUCCESS
+ property-file: lkft_parameters