Skip to content

Commit faa980b

Browse files
authored
PKG-294 percona-telemetry-agent is not downloadable from percona.com (#2982)
1 parent 9cc22c9 commit faa980b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ps-pxc-dist/downloads_release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ for dir in $DIRECTORIES; do
3838
cp -av ./* ${RELEASEDIR}
3939
done
4040

41+
touch ${RELEASEDIR}/binary/telemetry-enhanced.json
42+
4143
cd /srv/UPLOAD/${REPOPATH}/${REPOPATH_W_V}/.tmp/
4244
ln -s ${REPOPATH} ${REPOPATH}-LATEST
4345
#
@@ -54,4 +56,4 @@ rsync -avt -e "ssh -p 2222" --bwlimit=50000 --exclude="*yassl*" --progress ${REP
5456
rm -fr /srv/UPLOAD/${REPOPATH}/${REPOPATH_W_V}/.tmp
5557
#
5658
fi
57-
#
59+
#

rel/jenkins/release-from-repository.groovy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ pipeline {
2323
choices: 'TESTING\nRELEASE\nEXPERIMENTAL\nLABORATORY',
2424
description: 'repo component to push to',
2525
name: 'COMPONENT')
26+
choice(
27+
choices: 'NO\nYES',
28+
description: 'show telemetry agent packages listing for corresponding product',
29+
name: 'COPY_TELEMETRY')
2630
choice(
2731
choices: 'NO\nYES',
2832
description: 'PRO build',
@@ -278,6 +282,9 @@ ENDSSH
278282
mkdir -p /srv/repo-copy/private/\${LCREPOSITORY}/tarballs/\${RELEASE}
279283
cp \${RELEASEDIR}/binary/tarball/* /srv/repo-copy/private/\${LCREPOSITORY}/tarballs/\${RELEASE}/
280284
else
285+
if [ ${COPY_TELEMETRY} = YES ]; then
286+
touch \${RELEASEDIR}/binary/telemetry-enhanced.json
287+
fi
281288
rsync -avt -e "ssh -p 2222" --bwlimit=50000 --exclude="*yassl*" --progress \${PRODUCT} jenkins-deploy.jenkins-deploy.web.r.int.percona.com:/data/downloads/
282289
fi
283290
rm -fr /srv/UPLOAD/\${PATH_TO_BUILD}/.tmp

0 commit comments

Comments
 (0)