diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-05-22 20:54:08 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-05-22 23:36:10 +0200 |
commit | 3c9a45b3032b66aaba75e5192287af9414e483c8 (patch) | |
tree | b6094dafebc96c8a10f7d5a9eafa8dc6ad79309f /jjb/ci-xds-verify | |
parent | 04952b6c0bf9865cdde4429f262e4da3cb476e15 (diff) |
Rework for new image names and drop older releases.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0323fd9053ed3679772715a0080a1990209a563a
Diffstat (limited to 'jjb/ci-xds-verify')
-rw-r--r-- | jjb/ci-xds-verify/ci-xds-jjb.yaml | 470 | ||||
-rwxr-xr-x | jjb/ci-xds-verify/ci-xds-local.sh | 22 |
2 files changed, 0 insertions, 492 deletions
diff --git a/jjb/ci-xds-verify/ci-xds-jjb.yaml b/jjb/ci-xds-verify/ci-xds-jjb.yaml deleted file mode 100644 index 7cebdfae..00000000 --- a/jjb/ci-xds-verify/ci-xds-jjb.yaml +++ /dev/null @@ -1,470 +0,0 @@ ---- -- project: - name: ci-xds-AGL - aglbranch: - - master - project: - - xds-server - - xds-agent - - xds-gdb - - xds-cli - jobs: - - ci-xds-{project}-verify-{aglbranch} - - ci-xds-{project}-verify-{aglbranch}-CIB - - ci-xds-{project}-verify-{aglbranch}-CIB-finish-success - - ci-xds-{project}-remove-artifacts - - ci-xds-{project}-merge - - ci-xds-{project}-merge-finish-success - - -################################################################################################################################################################ -################################################################################################################################################################ - -################# VERIFY ################# - -################################################################################ -# ci-xds-{project}-verify = trigger from gerrit and control job -################################################################################ -- job-template: - name: 'ci-xds-{project}-verify-{aglbranch}' - project-type: multijob - concurrent: true - node: control-slave - parameters: - - string: - name: GERRIT_PROJECT - default: 'src/xds/{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 - triggers: - - gerrit-trigger-patch-submitted-manual-verified: - name: 'src/xds/{project}' - branch: '{aglbranch}' - silent: 'true' - wrappers: - - agl-infra-wrappers: - build-timeout: '{build-timeout}' - builders: - - shell: | - set - export TRIGGERURL=$(echo ${{BUILD_URL}} | sed -e 's,-CIB-start.*,,') - echo \$TRIGGERURL - 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} - condition: SUCCESSFUL - projects: - - name: 'ci-xds-{project}-verify-{aglbranch}-CIB' - current-parameters: true - #abort-all-job: true - kill-phase-on: FAILURE - predefined-parameters: AGLBRANCH={aglbranch} - - multijob: - name: CIB-finish-success - condition: SUCCESSFUL - projects: - - name: 'ci-xds-{project}-verify-{aglbranch}-CIB-finish-success' - current-parameters: true - abort-all-job: true - kill-phase-on: FAILURE - - - -# - ci-xds-{project}-verify-{aglbranch}-CIB -################################################################################ -################################################################################ -- job-template: - name: 'ci-xds-{project}-verify-{aglbranch}-CIB' - project-type: freestyle - concurrent: true - node: agl-test-slave - parameters: - - string: - name: GERRIT_PROJECT - default: 'src/xds/{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: "" - description: "change # to build" - - string: - name: GERRIT_PATCHSET_NUMBER - default: "" - description: "patchset # to build" - - string: - name: AGLBRANCH - default: '{aglbranch}' - description: "AGL release branch to use" - - string: - name: PROJECT_TO_BUILD - default: '{project}' - description: 'plain project name' - 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: - # including from ../common - !include-raw-escape: - - ../common/include-xds-header.sh - - ../common/include-xds-build-common.sh - - ../common/include-xds-prepare-upload-folder.sh - - ../common/include-xds-rsync-download-changeid.sh - - publishers: - - naginator: - rerun-unstable-builds: true - progressive-delay-increment: 5 - progressive-delay-maximum: 15 - max-failed-builds: 2 - #regular-expression: "Unexpected termination of the channel" - - -# - ci-xds-{project}-verify-{aglbranch}-CIB-finish-success -################################################################################ -################################################################################ -- job-template: - name: 'ci-xds-{project}-verify-{aglbranch}-CIB-finish-success' - project-type: freestyle - concurrent: true - node: control-slave - parameters: - - string: - name: GERRIT_PROJECT - default: 'src/xds/{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 -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 - - -# - ci-xds-{project}-verify-{aglbranch}-failure -################################################################################ -################################################################################ - -# - ci-xds-{project}-merge -################################################################################ -################################################################################ -- job-template: - name: 'ci-xds-{project}-merge' - project-type: multijob - concurrent: true - node: control-slave - parameters: - - string: - name: GERRIT_PROJECT - default: 'src/xds/{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" - - string: - name: PROJECT_TO_BUILD - default: '{project}' - description: 'plain project name to build' - build-discarder: - days-to-keep: 30 - artifact-days-to-keep: -1 - artifact-num-to-keep: 5 - triggers: - - gerrit-trigger-silent-patch-merged: - name: 'src/xds/{project}' - branch: '{aglbranch}' - wrappers: - - agl-infra-wrappers: - build-timeout: '{build-timeout}' - builders: - - multijob: - name: CI-merge-{project} - condition: SUCCESSFUL - projects: - - name: 'ci-xds-{project}-merge-{aglbranch}' - current-parameters: true - #abort-all-job: true - kill-phase-on: FAILURE - predefined-parameters: AGLBRANCH={aglbranch} - - multijob: - name: CIB-{project}-{aglbranch}-finish-success - condition: SUCCESSFUL - projects: - - name: 'ci-xds-{project}-merge-finish-success' - current-parameters: true - abort-all-job: true - kill-phase-on: FAILURE - -# - ci-xds-{project}-merge-{aglbranch} -################################################################################ -################################################################################ -- job-template: - name: 'ci-xds-{project}-merge-{aglbranch}' - project-type: freestyle - concurrent: true - node: agl-test-slave - parameters: - - string: - name: GERRIT_PROJECT - default: 'src/xds/{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: "" - description: "change # to build" - - string: - name: GERRIT_PATCHSET_NUMBER - default: "" - description: "patchset # to build" - - string: - name: TARGETARCH - default: '{architecture}' - description: "Machine to build" - - string: - name: AGLBRANCH - default: '{aglbranch}' - description: "AGL release branch to use" - - string: - name: PROJECT_TO_BUILD - default: '{project}' - description: 'plain project name' - - 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: - # including from ../common - !include-raw-escape: - - ../common/include-xds-header.sh - - ../common/include-xds-build-common.sh - - ../common/include-xds-prepare-upload-folder-merged.sh - - ../common/include-xds-rsync-download-xds.sh - - - publishers: - - naginator: - rerun-unstable-builds: true - progressive-delay-increment: 5 - progressive-delay-maximum: 15 - max-failed-builds: 2 - #regular-expression: "Unexpected termination of the channel" - - -# - ci-xds-{project}-merge-finish-success -################################################################################ -################################################################################ -- job-template: - name: 'ci-xds-{project}-merge-finish-success' - project-type: freestyle - concurrent: true - node: control-slave - parameters: - - string: - name: GERRIT_PROJECT - default: 'src/xds/{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: | - 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/xds/{project}/\ ." || true - - -# - ci-xds-{project}-remove-artifacts -################################################################################ -################################################################################ -- job-template: - name: 'ci-xds-{project}-remove-artifacts' - project-type: freestyle - concurrent: true - node: control-slave - parameters: - - string: - name: GERRIT_PROJECT - default: 'src/xds/{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: "9551" - description: "change # to build" - - string: - name: GERRIT_PATCHSET_NUMBER - default: "2" - description: "patchset # 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: false - triggers: - - gerrit-trigger-silent-patch-merged-abandoned: - name: 'src/xds/{project}' - branch: 'refs/heads/{aglbranch}' - builders: - - shell: - !include-raw-escape: - - ../common/include-agl-remove-artifacts-changeid.sh - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jjb/ci-xds-verify/ci-xds-local.sh b/jjb/ci-xds-verify/ci-xds-local.sh deleted file mode 100755 index 7e70838b..00000000 --- a/jjb/ci-xds-verify/ci-xds-local.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -#set -x -export AGLBRANCH=master -export GERRIT_PROJECT="src/xds/xds-server" -export PROJECT_TO_BUILD="xds-server" - -#export GERRIT_REFSPEC="refs/changes/99/10799/1" -#export GERRIT_CHANGE_NUMBER="10799" -#export GERRIT_PATCHSET_NUMBER="1" -#export GERRIT_PATCHSET_REVISION="1a1ff962da92aff5a1d3e757710c725e03238458" -export GERRIT_HOST="gerrit.automotivelinux.org" -export GERRIT_PORT="29418" - -export -p > env.save - - -. ../common/include-xds-header.sh -. ../common/include-xds-build-common.sh - - -source env.save |