diff options
author | 2024-05-22 20:54:08 +0200 | |
---|---|---|
committer | 2024-05-22 23:36:10 +0200 | |
commit | 3c9a45b3032b66aaba75e5192287af9414e483c8 (patch) | |
tree | b6094dafebc96c8a10f7d5a9eafa8dc6ad79309f /jjb/release-jjb-dab-sources | |
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/release-jjb-dab-sources')
-rw-r--r-- | jjb/release-jjb-dab-sources/include-release-jjb-dab-release-sources-rsync.sh | 36 | ||||
-rw-r--r-- | jjb/release-jjb-dab-sources/release-jjb-dab-sources.yaml | 40 |
2 files changed, 0 insertions, 76 deletions
diff --git a/jjb/release-jjb-dab-sources/include-release-jjb-dab-release-sources-rsync.sh b/jjb/release-jjb-dab-sources/include-release-jjb-dab-release-sources-rsync.sh deleted file mode 100644 index 9b40b5ac..00000000 --- a/jjb/release-jjb-dab-sources/include-release-jjb-dab-release-sources-rsync.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -#set -x -set -e -#export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/release/${RELEASE_BRANCH}/${RELEASE_VERSION}/" -#export RSYNCSRC=$(pwd)/UPLOAD/ - -# construct upload folder - - -BRANCH=${RELEASE_BRANCH} -RELVER=${RELEASE_VERSION} - -rm -rf release-upload || true - -git clone -b ${RELEASE_BRANCH} https://gerrit.automotivelinux.org/gerrit/p/staging/release-upload.git -cd release-upload - -gpg --keyserver pgp.mit.edu --recv D6DD2170 - -ls | grep -q agl-${RELEASE_BRANCH}-${RELEASE_VERSION}.tar.bz2 - -( gpg --verify agl-${RELEASE_BRANCH}-${RELEASE_VERSION}.tar.bz2.sig agl-${RELEASE_BRANCH}-${RELEASE_VERSION}.tar.bz2 2>&1 | grep -e "Good signature.*Jan-Simon.*Moeller.*AGL.*Release" -q && echo "gpg key verification succeeded" ) || ( echo "gpg key verification failed" && exit 1 ) - -rm -rf ../UPLOAD || true -mkdir -p ../UPLOAD/ - -cp -ar agl-${RELEASE_BRANCH}-${RELEASE_VERSION}.* ../UPLOAD/ - -export RSYNCSRC=$(pwd)/../UPLOAD -export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/release/${RELEASE_BRANCH}/" - -if test x"yes" = x"${UPLOAD}" ; then - ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 "mkdir -p ${RSYNCDST}" - rsync -avr -e "ssh -o StrictHostKeyChecking=no" ${RSYNCSRC}/* ${RSYNCDST} -fi diff --git a/jjb/release-jjb-dab-sources/release-jjb-dab-sources.yaml b/jjb/release-jjb-dab-sources/release-jjb-dab-sources.yaml deleted file mode 100644 index 08203f9b..00000000 --- a/jjb/release-jjb-dab-sources/release-jjb-dab-sources.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -- project: - name: release-jjb-dab-sources - jobs: - - release-jjb-dab-sources - -- job-template: - name: 'release-jjb-dab-sources' - project-type: freestyle - concurrent: false - node: agl-test-slave - - parameters: - - string: - name: RELEASE_VERSION - default: 3.99.1 - description: "release version number for build" - - string: - name: RELEASE_BRANCH - default: dab - description: "release branch to build" - - string: - name: UPLOAD - default: yes_or_no - description: "Upload?" - - build-discarder: - days-to-keep: 30 - num-to-keep: 40 - artifact-days-to-keep: -1 - artifact-num-to-keep: 5 - - wrappers: - - agl-infra-wrappers: - build-timeout: '{build-timeout}' - - builders: - - shell: - !include-raw-escape: - - include-release-jjb-dab-release-sources-rsync.sh |