Skip to content
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
f389d1a
Merge pull request #1660 from satya-bodapati/PXB-8.0-3199
satya-bodapati May 1, 2025
ef73848
Update checks.yml
satya-bodapati May 1, 2025
88dcedc
Update XB_VERSION
satya-bodapati May 2, 2025
53aba69
PKG-680 Enable Telemetry Phase-0 for PXB 8.0.35-33
surbhat1595 May 5, 2025
e7f6f15
estimate_memory test fix. Bump up the version
satya-bodapati May 9, 2025
533ffad
Bump up the minimum version to mininum glibc version to 2.17
satya-bodapati May 12, 2025
07e526c
Bump up the minum glibc version to 2.28 and for glibc versions 2.39 a…
satya-bodapati May 13, 2025
3f3cff4
Fix bootstrap.sh to download from PS testing repos.
satya-bodapati May 15, 2025
a982afd
PXB-3501 : Remove object_group from KMIP tests because of PS-9799
satya-bodapati May 15, 2025
7ccd609
Merge pull request #1666 from percona/release-8.0.35-33
adivinho May 19, 2025
54e537f
Merge pull request #1682 from satya-bodapati/PXB-8.0-3470-2
satya-bodapati Jun 6, 2025
052ce59
Update XB_VERSION for release 8.0.35-34
satya-bodapati Jul 31, 2025
4ab8770
Merge pull request #1686 from satya-bodapati/PXB-8.4-3571
satya-bodapati Jul 31, 2025
92f5f64
Update XB_VERSION for release 8.4.0-4
satya-bodapati Jul 31, 2025
e6f761b
PKG-1032 Packaging tasks for release - PXB 8.0.35-34
adivinho Jul 31, 2025
d9a1203
PKG-1032 Packaging tasks for release - PXB 8.0.35-34
adivinho Aug 1, 2025
9ec70da
Merge pull request #1688 from adivinho/release-8.0.35-34
adivinho Aug 1, 2025
957388d
PKG-1030 Packaging tasks for release - PXB 8.4.0-4
adivinho Aug 4, 2025
0906974
PXB-3587 Wrong telemetry metrics for PXB 8.0.35-34 in RHEL only
surbhat1595 Aug 5, 2025
0bf8626
PKG-1030 Packaging tasks for release - PXB 8.4.0-4
adivinho Aug 5, 2025
c584cb2
Merge pull request #1690 from Percona-Lab/release-8.4.0-4
adivinho Aug 6, 2025
b878eb7
PKG-1032 Packaging tasks for release - PXB 8.0.35-34
adivinho Aug 6, 2025
5393fcb
Merge pull request #1691 from adivinho/release-8.0.35-34
adivinho Aug 6, 2025
c5f1490
PKG-1032 Packaging tasks for release - PXB 8.0.35-34
adivinho Aug 6, 2025
f0de806
Merge pull request #1692 from adivinho/release-8.0.35-34
adivinho Aug 6, 2025
e6b6c7c
PKG-1032 Packaging tasks for release - PXB 8.0.35-34
adivinho Aug 7, 2025
c8a25ff
Merge pull request #1693 from adivinho/release-8.0.35-34
adivinho Aug 7, 2025
3855abe
Merge pull request #1697 from percona/release-8.4.0-4
adivinho Aug 21, 2025
2247ae1
Merge pull request #1701 from percona/release-8.0.35-34
adivinho Aug 22, 2025
be0201a
NULL Merge remote-tracking branch 'origin/8.0' into 8.4
satya-bodapati Aug 22, 2025
dbc0105
Merge pull request #1702 from satya-bodapati/8.4
satya-bodapati Aug 22, 2025
8de0a99
NULL Merge remote-tracking branch 'origin/8.4' into trunk
satya-bodapati Aug 22, 2025
4352635
Cherry-pick the bootstrap fixes from 8.4
satya-bodapati Aug 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 18 additions & 19 deletions storage/innobase/xtrabackup/test/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ function glibc_version() {
glibc=$(ldd --version | head -1 | awk '{print $NF}')
case ${glibc} in
2.12|2.17|2.27|2.28|2.31|2.34|2.35) ;;
2.36|2.39) echo 2.35; return;;

*)
>&2 echo "tarball for your glibc version (${glibc}) is not available"
exit 1
Expand Down Expand Up @@ -75,14 +77,14 @@ parse_arguments() {
}

check_url() {
url=$1
tarball=$2
local_url=$1
local_tarball=$2
retries=10
# upstream sometimes reports file does not exists due to transient error
# we should retry a few times before failing back
tries=0
while [[ ${tries} -lt ${retries} ]]; do
if ! wget --spider "${url}/${tarball}" 2>/dev/null; then
if ! wget --spider "${local_url}/${local_tarball}" 2>/dev/null; then
tries=$((tries+1))
else
return 0;
Expand Down Expand Up @@ -117,18 +119,12 @@ main () {
clean_version="${VERSION%-[0-9][0-9]}"
clean_version="${clean_version%-[0-9]}"

if [ "${OS}" == "deb" ]; then
tarball="mysql-${clean_version}-linux-glibc2.28-${arch}.tar.xz"
else
tarball="mysql-${clean_version}-linux-glibc2.17-${arch}.tar.xz"
fi
if ! check_url "${url}" "${tarball}"; then
unset url
url=${fallback_url}
fi
tarball="mysql-${clean_version}-linux-glibc2.28-${arch}.tar.xz"
;;
xtradb80)
url="https://www.percona.com/downloads/Percona-Server-8.4/Percona-Server-${VERSION}/binary/tarball"
fallback_url="https://downloads.percona.com/downloads/TESTING/ps-${VERSION}"
short_version=$(echo ${VERSION} | awk -F "." '{ print $3 }' | cut -d '-' -f1)
if [[ ${PXB_TYPE} == "Debug" ]] || [[ ${PXB_TYPE} == "debug" ]]; then
SUFFIX="-debug"
else
Expand All @@ -145,13 +141,16 @@ main () {
;;
esac

# Check if tarball exist before any download
if ! check_url "${url}" "${tarball}"; then
echo "Version you specified(${VERSION}) does not exist on ${url}/${tarball}"
exit 1
else
echo "Downloading ${tarball}"
# Check if tarball exists at primary URL
if check_url "${url}" "${tarball}"; then
echo "Downloading ${tarball} from ${url}"
wget -qc "${url}/${tarball}"
elif check_url "${fallback_url}" "${tarball}"; then
echo "Primary URL failed. Downloading ${tarball} from fallback URL: ${fallback_url}"
wget -qc "${fallback_url}/${tarball}"
else
echo "Version you specified (${VERSION}) does not exist at either ${url}/${tarball} or ${fallback_url}/${tarball}"
exit 1
fi

echo "Unpacking ${tarball} into ${DESTDIR}"
Expand Down Expand Up @@ -179,7 +178,7 @@ main () {

TYPE="xtradb80"
PXB_TYPE="release"
VERSION="8.4.0-1"
VERSION="8.4.4-4"
DESTDIR="./server"
parse_arguments PICK-ARGS-FROM-ARGV "$@"
main