Skip to content

Commit dca4fc2

Browse files
authored
Deb: Use archive.mariadb.org for upgrade testing in Salsa-CI (#2294)
The official deb.mariadb.org mirrors are intended for distribution of the current MariaDB releases. When a version goes end-of-life, they are removed from those mirrors. The upgrade tests should however work even after EOL. While we do want users to stop using EOL versions, we still expect the newer versions to support upgrades from old versions to the current versions. Therefore we should continue testing upgrades from EOL versions, and for that to work, switch the CI to use the archive.mariadb.org repositories instead. MERGE NOTE: This commit was made on the oldest branch with the salsa-ci.yml file. When merging 10.5->10.6->...->10.12 please include this commit in the merge and ensure all files end up with the change: deb.mariadb.org/10.([0-9]+)/ -> archive.mariadb.org/mariadb-10.$1/repo/
1 parent 7afc6ee commit dca4fc2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

debian/salsa-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ mariadb.org-10.5 to mariadb-10.5 upgrade:
519519
- *test-prepare-container
520520
- apt install -y curl
521521
- curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
522-
- echo "deb https://deb.mariadb.org/10.5/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list
522+
- echo "deb https://archive.mariadb.org/mariadb-10.5/repo/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list
523523
- apt-get update
524524
# The 10.5.9 release is missing mariadb-plugin-columnstore, define all other packages but it to avoid hitting the error:
525525
# The following packages have unmet dependencies:
@@ -558,7 +558,7 @@ mariadb.org-10.4 to mariadb-10.5 upgrade:
558558
- *test-prepare-container
559559
- apt install -y curl
560560
- curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
561-
- echo "deb https://deb.mariadb.org/10.4/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list
561+
- echo "deb https://archive.mariadb.org/mariadb-10.4/repo/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list
562562
- apt-get update
563563
- apt-get install -y mariadb-server-10.4
564564
# MariaDB.org version of 10.4 and early 10.5 do not install an init file, so
@@ -591,7 +591,7 @@ mariadb.org-10.3 to mariadb-10.5 upgrade:
591591
- *test-prepare-container
592592
- apt install -y curl
593593
- curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
594-
- echo "deb https://deb.mariadb.org/10.3/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list
594+
- echo "deb https://archive.mariadb.org/mariadb-10.3/repo/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list
595595
- apt-get update
596596
- apt-get install -y mariadb-server-10.3
597597
- *test-verify-initial
@@ -624,7 +624,7 @@ mariadb.org-10.2 to mariadb-10.5 upgrade:
624624
- *test-prepare-container
625625
- apt install -y curl apt-transport-https
626626
- curl -sS https://mariadb.org/mariadb_release_signing_key.asc -o /etc/apt/trusted.gpg.d/mariadb.asc
627-
- echo "deb https://deb.mariadb.org/10.2/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list
627+
- echo "deb https://archive.mariadb.org/mariadb-10.2/repo/debian ${RELEASE} main" > /etc/apt/sources.list.d/mariadb.list
628628
- apt-get update
629629
- apt-get install -y mariadb-server-10.2
630630
# Verify initial state before upgrade

0 commit comments

Comments
 (0)