diff options
-rwxr-xr-x | lhg-oe-build/builders.sh | 4 | ||||
-rw-r--r-- | lhg-oe-wpe-morty.yaml | 75 |
2 files changed, 77 insertions, 2 deletions
diff --git a/lhg-oe-build/builders.sh b/lhg-oe-build/builders.sh index 82efd74a33..23b1e17ec9 100755 --- a/lhg-oe-build/builders.sh +++ b/lhg-oe-build/builders.sh @@ -39,7 +39,7 @@ export PATH=${HOME}/bin:${PATH} # initialize repo if not done already if [ ! -e ".repo/manifest.xml" ]; then - repo init -u ${MANIFEST_URL} -b ${MANIFEST_BRANCH} + repo init -u ${MANIFEST_URL} -b ${MANIFEST_BRANCH_PREFIX}${MANIFEST_BRANCH} # link to shared downloads on persistent disk # our builds config is expecting downloads and sstate-cache, here. @@ -145,7 +145,7 @@ h4. Linaro Home Group Build - OpenEmbedded Build description: * Build URL: "$BUILD_URL":$BUILD_URL * Manifest URL: "${MANIFEST_URL}":${MANIFEST_URL} -* Manifest branch: ${MANIFEST_BRANCH} +* Manifest branch: ${MANIFEST_BRANCH_PREFIX}${MANIFEST_BRANCH} * Manifest commit: "${MANIFEST_COMMIT}":${MANIFEST_URL/.git/\/commit}/${MANIFEST_COMMIT} EOF diff --git a/lhg-oe-wpe-morty.yaml b/lhg-oe-wpe-morty.yaml new file mode 100644 index 0000000000..d18c4b7bba --- /dev/null +++ b/lhg-oe-wpe-morty.yaml @@ -0,0 +1,75 @@ +- job: + name: lhg-oe-build + 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: IMAGES + default: 'lhg-westeros-wpe-image' + - string: + name: MANIFEST_URL + default: 'https://github.com/linaro-home/lhg-oe-manifests.git' + - string: + name: MANIFEST_BRANCH_PREFIX + default: 'wpe/' + - string: + name: MANIFEST_BRANCH + default: 'morty' + - string: + name: BASE_URL + default: 'http://snapshots.linaro.org/' + - string: +# TBD: need to confirm with LHG where the WPE builds are to be published + name: PUB_DEST + default: 'openembedded/pre-built/lhg/${MANIFEST_BRANCH_PREFIX}${MANIFEST_BRANCH}/${MACHINE}/${BUILD_NUMBER}/${DISTRO}' + disabled: false + node: lhg + display-name: 'LHG Westeros/WPE - OpenEmbedded (morty)' + axes: + - axis: + type: user-defined + name: MACHINE + values: + - hikey-32 + - axis: + type: user-defined + name: DISTRO + values: + - rpb-wayland + - axis: + type: slave + name: label + values: + - docker-stretch-amd64-lhg + execution-strategy: + sequential: false + wrappers: + - timestamps + builders: + - shell: + !include-raw: lhg-oe-build/builders.sh + - inject: + properties-file: post_build_lava_parameters +# - linaro-publish-token +# - shell: +# !include-raw: rpb-openembedded/publishers.sh + publishers: + - archive: + artifacts: 'out/*' + - email: + recipients: 'andrey.konovalov@linaro.org' |