diff options
author | 2020-02-27 14:20:23 +0100 | |
---|---|---|
committer | 2020-02-27 22:07:30 +0000 | |
commit | 28925d1d95d7bde1322b53d1153de35349e2cd4c (patch) | |
tree | b62339c0cf8f578340fc0e9d56a06ca1dddef7c2 /jjb | |
parent | 1933ef9d1c4f632edfb24137f9b6630a382c9d3f (diff) |
Add the html5 image to the CI pipeline
Add a new job to the pipeline (qemux86-64 for now) to build-test the
html5 image.
Bug-AGL: SPEC-3108
.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I9ef99da8cc325e55bcf44c641acbce12d59015ac
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/ci-AGL-verify/ci-platform-jjb.yaml | 69 | ||||
-rw-r--r-- | jjb/common/include-agl-set-html5-image.sh | 24 |
2 files changed, 93 insertions, 0 deletions
diff --git a/jjb/ci-AGL-verify/ci-platform-jjb.yaml b/jjb/ci-AGL-verify/ci-platform-jjb.yaml index 108cc121..5c8d8cd3 100644 --- a/jjb/ci-AGL-verify/ci-platform-jjb.yaml +++ b/jjb/ci-AGL-verify/ci-platform-jjb.yaml @@ -102,6 +102,10 @@ current-parameters: true abort-all-job: true kill-phase-on: FAILURE + - name: 'ci-platform-html5-{project}-verify-CIB-qemux86-64' + current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - multijob: name: CIB-{project}-devboards condition: SUCCESSFUL @@ -352,6 +356,71 @@ ################################################################################ ################################################################################ +# html5-verify-CIB-{machine} = build for machine +################################################################################ +- job-template: + name: 'ci-platform-html5-{project}-verify-CIB-qemux86-64' + project-type: freestyle + concurrent: true + node: agl-test-slave + description: "Managed by JJB. Do not Edit. \ + <br>Build time graph:<br><img src='buildTimeGraph/png' />" + parameters: + - string: + name: GERRIT_PROJECT + default: 'AGL/{project}' + description: "Project to build" + - string: + name: GERRIT_BRANCH + default: master + description: "branch to build" + - string: + name: GERRIT_REFSPEC + default: refs/heads/master + description: "refspec to build" + - string: + name: GERRIT_CHANGE_NUMBER + default: "8313" + description: "change # to build" + - string: + name: GERRIT_PATCHSET_NUMBER + default: "2" + description: "patchset # to build" + - string: + name: MACHINE + default: 'qemux86-64' + description: "Machine to build" + build-discarder: + days-to-keep: 30 + artifact-days-to-keep: -1 + artifact-num-to-keep: 5 + wrappers: + - agl-infra-wrappers: + build-timeout: '{build-timeout}' + - openstack: + single-use: true + builders: + - shell: + !include-raw-escape: + - ../common/include-agl-header.sh + - ../common/include-agl-repo.sh + - ../common/include-agl-set-html5-image.sh + - ../common/include-agl-source-aglsetup.sh + - ../common/include-agl-auto-conf.sh + - ../common/include-agl-limit-parallelism.sh + - ../common/include-agl-local-conf-DISTROFEATURES-AGLCI.sh + - ../common/include-agl-cat-auto-conf.sh + - ../common/include-agl-bitbake-image.sh + - conditional-step: + condition-kind: always + steps: + - shell: + !include-raw-escape: + - ../common/include-agl-get-cost.sh + + +################################################################################ +################################################################################ # -verify-CIB-finish-success = build succeeded, message to gerrit ################################################################################ - job-template: diff --git a/jjb/common/include-agl-set-html5-image.sh b/jjb/common/include-agl-set-html5-image.sh new file mode 100644 index 00000000..07967736 --- /dev/null +++ b/jjb/common/include-agl-set-html5-image.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# (c) 2016 Jan-Simon Moeller dl9pf(at)gmx.de +# License GPLv2 +# +# debugging purposes +set -e + +################################################################################ +## Header +################################################################################ + + +export TARGETFEATURES="agl-profile-graphical-html5 agl-devel" +export TARGETQA="" +export TARGETIMAGE="agl-demo-platform-html5" + +eval TARGETIMAGE="$TARGETIMAGE" +eval TARGETIMAGEnogfx="$TARGETIMAGE" + +#if $DEBUG; then +set | grep ^TARGET || true +set | grep ^GERRIT || true +set | grep ^MACHINE || true +#fi |