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-guppy-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-guppy-sources')
-rw-r--r-- | jjb/release-jjb-guppy-sources/include-release-jjb-release-sources-rsync.sh | 62 | ||||
-rw-r--r-- | jjb/release-jjb-guppy-sources/release-jjb-sources.yaml | 44 |
2 files changed, 0 insertions, 106 deletions
diff --git a/jjb/release-jjb-guppy-sources/include-release-jjb-release-sources-rsync.sh b/jjb/release-jjb-guppy-sources/include-release-jjb-release-sources-rsync.sh deleted file mode 100644 index ceac3acd..00000000 --- a/jjb/release-jjb-guppy-sources/include-release-jjb-release-sources-rsync.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/bash - -#set -x -set -e - -# construct upload folder - - -BRANCH=${RELEASE_BRANCH} -REVISION=${RELEASE_VERSION} - - -rm -rf AGLRELEASE || true - -mkdir agl-${BRANCH}-${REVISION} -pushd agl-${BRANCH}-${REVISION} - -repo init --reference=/opt/AGL/preclone -q -b ${GERRIT_BRANCH} -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo -m ${BRANCH}_${REVISION}.xml - -repo sync --force-sync - -repo manifest -r > ../${BRANCH}_${REVISION}.tar.xml - -rm -rf .repo -find . -name *.git | xargs rm -rf - -ln -sf meta-agl/README-AGL.md - -cat <<EOF > aglsetup.sh -#!/bin/bash - -source ./meta-agl/scripts/aglsetup.sh \$@ -EOF - -chmod a+x aglsetup.sh - -popd - -tar -cjvf agl-${BRANCH}-${REVISION}.tar.bz2 agl-${BRANCH}-${REVISION} - -md5sum agl-${BRANCH}-${REVISION}.tar.bz2 > agl-${BRANCH}-${REVISION}.tar.bz2.md5sum -sha256sum agl-${BRANCH}-${REVISION}.tar.bz2 > agl-${BRANCH}-${REVISION}.tar.bz2.sha256sum - - - -rm -rf UPLOAD || true -mkdir -p UPLOAD/ - -cp -ar agl-${RELEASE_BRANCH}-${RELEASE_VERSION}.* UPLOAD/ - -export RSYNCSRC=$(pwd)/UPLOAD -export RSYNCDST="/srv/download/AGL/release/${RELEASE_BRANCH}/" - -ls -alh UPLOAD/ - -if test x"yes" = x"${UPLOAD}" ; then - set +x - ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 "mkdir -p ${RSYNCDST}" - rsync -avr -e "ssh -o StrictHostKeyChecking=no" ${RSYNCSRC}/* jenkins-slave@10.30.72.8:${RSYNCDST} - ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 "rm -rf ${RSYNCDST}/latest" - ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 "ln -sf ${RELEASE_VERSION} ${RSYNCDST}/latest" -fi diff --git a/jjb/release-jjb-guppy-sources/release-jjb-sources.yaml b/jjb/release-jjb-guppy-sources/release-jjb-sources.yaml deleted file mode 100644 index 4e33fabc..00000000 --- a/jjb/release-jjb-guppy-sources/release-jjb-sources.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -- project: - name: release-jjb-guppy-sources - jobs: - - release-jjb-guppy-sources - -- job-template: - name: 'release-jjb-guppy-sources' - project-type: freestyle - concurrent: false - node: agl-test-slave - - parameters: - - string: - name: GERRIT_BRANCH - default: guppy - description: "release version number for build" - - string: - name: RELEASE_VERSION - default: 7.0.0 - description: "release version number for build" - - string: - name: RELEASE_BRANCH - default: guppy - 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-release-sources-rsync.sh |