From 088e03a37b21be7f1db29deed7a7b208c5395626 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 11 Jul 2018 11:43:30 +0200 Subject: Introduce gracetime into pipeline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5e4fce954d02b25d25cb9442e9704d0ab55a7179 Signed-off-by: Jan-Simon Möller --- jjb/ci-apps-verify/ci-apps-jjb.yaml | 66 +++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) (limited to 'jjb/ci-apps-verify') diff --git a/jjb/ci-apps-verify/ci-apps-jjb.yaml b/jjb/ci-apps-verify/ci-apps-jjb.yaml index 9ee5fc46..1c369eb5 100644 --- a/jjb/ci-apps-verify/ci-apps-jjb.yaml +++ b/jjb/ci-apps-verify/ci-apps-jjb.yaml @@ -27,6 +27,7 @@ - agl-service-geofence - agl-service-gps - agl-service-gstreamer + - agl-service-harvester - agl-service-homescreen-2017 - agl-service-identity-agent - agl-service-iiodevices @@ -45,12 +46,15 @@ - agl-service-wifi - agl-service-windowmanager - agl-service-windowmanager-2017 + - agl-service-xds-monitoring - als-meter-demo + - app-afb-test - controls - dashboard - homescreen - hvac - launcher + - low-level-can-service - mediaplayer - mixer - navigation @@ -65,6 +69,7 @@ - ci-apps-{project}-verify-{aglbranch} - ci-apps-{project}-verify-{aglbranch}-CIB-{architecture} - ci-apps-{project}-verify-{aglbranch}-CIB-finish-success + - ci-apps-{project}-verify-{aglbranch}-signal-gracetime - ci-apps-{project}-verify-{aglbranch}-failure - ci-apps-{project}-remove-{aglbranch}-artifacts - ci-apps-{project}-merge-{aglbranch} @@ -168,6 +173,14 @@ current-parameters: true abort-all-job: true kill-phase-on: FAILURE + - multijob: + name: ci-apps-{project}-verify-{aglbranch}-gracetime + condition: SUCCESSFUL + projects: + - name: 'ci-apps-{project}-verify-{aglbranch}-signal-gracetime' + current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE ################################################################################ @@ -285,6 +298,59 @@ ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified +1 --label ci-image-build=+1 -n NONE --message="CI-Image-Build\ finished,\ CIB+1,\ Verified+1.\ Artifacts\ available\ at\ https://download.automotivelinux.org/AGL/upload/ci/${{GERRIT_CHANGE_NUMBER}}/${{GERRIT_PATCHSET_NUMBER}}/\ ." || true +################################################################################ +# ci-apps-{project}-gracetime = 24h grace msg to gerrit +################################################################################ +- job-template: + name: 'ci-apps-{project}-verify-{aglbranch}-signal-gracetime' + project-type: freestyle + concurrent: true + node: control-slave + quiet-period: 3600 + parameters: + - string: + name: GERRIT_PROJECT + default: 'apps/{project}' + description: "Project to build" + - string: + name: GERRIT_BRANCH + default: '{aglbranch}' + description: "branch to build" + - string: + name: GERRIT_REFSPEC + default: 'refs/heads/{aglbranch}' + 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: AGLBRANCH + default: '{aglbranch}' + description: "AGL release branch to use" + build-discarder: + days-to-keep: 30 + artifact-days-to-keep: -1 + artifact-num-to-keep: 5 + wrappers: + - agl-infra-wrappers: + build-timeout: '{build-timeout}' + builders: + - shell: | + set + echo "#### CIB +1 #### Verified +1 ####" + ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified +1 --label ci-gracetime=+1 --label ci-image-build=+1 -n NONE --message="24h gracetime over. Ready to merge." || true + + + + +################# Unused templates ################## + + ################################################################################ # ci-apps-{project}-verify-failure = message back to gerrit on failure ################################################################################ -- cgit 1.2.3-korg