diff options
Diffstat (limited to 'jjb/ci-apps-verify')
-rw-r--r-- | jjb/ci-apps-verify/app-projects.yaml.inc | 74 | ||||
-rw-r--r-- | jjb/ci-apps-verify/ci-apps-jjb.yaml | 80 | ||||
-rwxr-xr-x | jjb/ci-apps-verify/update-app-projects-yaml.sh | 2 |
3 files changed, 89 insertions, 67 deletions
diff --git a/jjb/ci-apps-verify/app-projects.yaml.inc b/jjb/ci-apps-verify/app-projects.yaml.inc new file mode 100644 index 00000000..a484ea6a --- /dev/null +++ b/jjb/ci-apps-verify/app-projects.yaml.inc @@ -0,0 +1,74 @@ +- agl-cluster-demo-dashboard +- agl-cluster-demo-receiver +- agl-service-audio-4a +- agl-service-bluetooth +- agl-service-bluetooth-pbap +- agl-service-can-low-level +- agl-service-data-persistence +- agl-service-geoclue +- agl-service-geofence +- agl-service-gps +- agl-service-gstreamer +- agl-service-harvester +- agl-service-helloworld +- agl-service-homescreen +- agl-service-homescreen-2017 +- agl-service-hvac +- agl-service-identity-agent +- agl-service-iiodevices +- agl-service-mediaplayer +- agl-service-mediascanner +- agl-service-navigation +- agl-service-network +- agl-service-nfc +- agl-service-platform-info +- agl-service-radio +- agl-service-signal-composer +- agl-service-soundmanager +- agl-service-soundmanager-2017 +- agl-service-speech +- agl-service-steering-wheel +- agl-service-taskmanager +- agl-service-telephony +- agl-service-unicens +- agl-service-voice-high +- agl-service-voice-high-capabilities +- agl-service-weather +- agl-service-wifi +- agl-service-windowmanager +- agl-service-windowmanager-2017 +- agl-service-xds-monitoring +- als-meter-demo +- app-afb-helpers-submodule +- app-afb-test +- app-controller-submodule +- app-templates +- chromium +- cluster-camera +- cluster-dashboard +- cluster-homescreen +- cluster-hvac +- cluster-launcher +- cluster-qtquickcontrols +- cluster-settings +- cluster-tachometer +- controls +- dashboard +- homescreen +- hvac +- launcher +- low-level-can-service +- mediaplayer +- mixer +- navigation +- onscreenapp +- phone +- radio +- restriction-screen +- settings +- settings-bluetooth +- settings-log-utils +- settings-wifi +- taskmanager +- tbtnavi +- videoplayer diff --git a/jjb/ci-apps-verify/ci-apps-jjb.yaml b/jjb/ci-apps-verify/ci-apps-jjb.yaml index 710ca366..5fd96ca6 100644 --- a/jjb/ci-apps-verify/ci-apps-jjb.yaml +++ b/jjb/ci-apps-verify/ci-apps-jjb.yaml @@ -3,9 +3,8 @@ name: ci-apps-AGL aglbranch: - master + - guppy - flounder - - eel - - dab architecture: - aarch64 #= dragonboard-410c (disabled for dab atm) @@ -18,61 +17,7 @@ #= dra7xx-evm # ####### REPLACE WITH generic-aarch64, generic-x86-64, generic-arm project: - - agl-service-audio-4a - - agl-service-audio-mpcd - - agl-service-bluetooth - - agl-service-bluetooth-avrcp - - agl-service-bluetooth-pbap - - agl-service-can-low-level - - agl-service-data-persistence - - agl-service-geoclue - - agl-service-geofence - - agl-service-gps - - agl-service-gstreamer - - agl-service-harvester - - agl-service-homescreen - - agl-service-hvac - - agl-service-identity-agent - - agl-service-iiodevices - - agl-service-mediaplayer - - agl-service-mediascanner - - agl-service-navigation - - agl-service-network - - agl-service-nfc - - agl-service-platform-info - - agl-service-radio - - agl-service-signal-composer - - agl-service-soundmanager - - agl-service-speech - - agl-service-steering-wheel - - agl-service-taskmanager - - agl-service-telephony - - agl-service-unicens - - agl-service-voice-high - - agl-service-weather - - agl-service-wifi - - agl-service-windowmanager - - agl-service-windowmanager-2017 - - agl-service-xds-monitoring - - app-afb-test - - chromium - - controls - - dashboard - - homescreen - - hvac - - launcher - - low-level-can-service - - mediaplayer - - mixer - - navigation - - onscreenapp - - phone - - radio - - settings - - settings-bluetooth - - settings-wifi - - taskmanager - - videoplayer + !include: app-projects.yaml.inc jobs: - ci-apps-{project}-verify-{aglbranch} @@ -144,9 +89,10 @@ builders: - shell: | set + set -x export TRIGGERURL=$(echo ${{BUILD_URL}} | sed -e 's,-CIB-start.*,,') echo \$TRIGGERURL - ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified=0 -n NONE --message="CI-cycle\ started.\ URL:\ ${{BUILD_URL}}" || true + ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified=0 -n NONE --message="CI-cycle\ started.\ URL:\ ${{BUILD_URL}}" || true # - multijob: # name: CIB-{project}-start # condition: SUCCESSFUL @@ -314,7 +260,7 @@ - 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-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 + ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -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 publishers: - trigger-parameterized-builds: - project: @@ -367,7 +313,7 @@ - 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 || true + ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -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 || true @@ -415,8 +361,8 @@ - shell: | set echo "#### Verified -1 ####" - #ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified -1 -n NONE --message="CI-cycle\ failed.\ URL:\ ${{BUILD_URL}}" || true - ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} -n NONE --message="CI-cycle\ failed.\ URL:\ ${{BUILD_URL}}" || true + #ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified -1 -n NONE --message="CI-cycle\ failed.\ URL:\ ${{BUILD_URL}}" || true + ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} -n NONE --message="CI-cycle\ failed.\ URL:\ ${{BUILD_URL}}" || true @@ -666,7 +612,7 @@ build-timeout: '{build-timeout}' builders: - shell: | - 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="Merge\ finished,\ Artifacts\ available\ at\ https://download.automotivelinux.org/AGL/apps/{project}/\ ." || true + ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -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="Merge\ finished,\ Artifacts\ available\ at\ https://download.automotivelinux.org/AGL/apps/{project}/\ ." || true @@ -728,8 +674,8 @@ - shell: | #set export TRIGGERURL=$(echo ${{BUILD_URL}} | sed -e 's,-CIB-start.*,,') - # ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified=0 --label ci-image-build=0 --label ci-image-boot-test=0 -n NONE --message="CI-Image-Build\ started.\ URL:\ ${{BUILD_URL}}" || true - ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified=0 -n NONE --message="CI-Image-Build\ started.\ URL:\ \$TRIGGERURL" || true + # ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified=0 --label ci-image-build=0 --label ci-image-boot-test=0 -n NONE --message="CI-Image-Build\ started.\ URL:\ ${{BUILD_URL}}" || true + ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified=0 -n NONE --message="CI-Image-Build\ started.\ URL:\ \$TRIGGERURL" || true # @@ -848,7 +794,7 @@ - shell: | echo "CIBT Started" # set - # ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --label ci-image-boot-test=0 -n NONE --message='CI-Image-Boot-Test\ started' || true + # ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --label ci-image-boot-test=0 -n NONE --message='CI-Image-Boot-Test\ started' || true # @@ -898,7 +844,7 @@ - shell: | # set echo "#### CIBT +1 ####" - ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified +1 --label ci-image-build=+1 --label ci-image-boot-test=+1 -n NONE --message='CI-Image-Boot-Test\ finished' || true + ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified +1 --label ci-image-build=+1 --label ci-image-boot-test=+1 -n NONE --message='CI-Image-Boot-Test\ finished' || true diff --git a/jjb/ci-apps-verify/update-app-projects-yaml.sh b/jjb/ci-apps-verify/update-app-projects-yaml.sh new file mode 100755 index 00000000..8a645b9c --- /dev/null +++ b/jjb/ci-apps-verify/update-app-projects-yaml.sh @@ -0,0 +1,2 @@ +#!/bin/bash +agl-gerrit-lsprojects-apps | sed -e "s'apps/'- 'g" > app-projects.yaml.inc |