Skip to content

Commit 4d4e6f1

Browse files
committed
Merge main into refac-materialize
Signed-off-by: Noble Mittal <noblemittal@outlook.com>
2 parents 1177251 + 45192d2 commit 4d4e6f1

File tree

623 files changed

+23775
-14649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

623 files changed

+23775
-14649
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ go.sum @ajm188 @deepthi @harshit-gangal @mattlord @rohit-nayak-ps @systay @froui
2828
/go/test/endtoend/onlineddl @rohit-nayak-ps @shlomi-noach
2929
/go/test/endtoend/messaging @mattlord @rohit-nayak-ps @derekperkins
3030
/go/test/endtoend/schemadiff @shlomi-noach @mattlord
31+
/go/test/endtoend/transaction @harshit-gangal @systay @frouioui @GuptaManan100
3132
/go/test/endtoend/*throttler* @shlomi-noach @mattlord @timvaillancourt
3233
/go/test/endtoend/vtgate @harshit-gangal @systay @frouioui
3334
/go/test/endtoend/vtorc @deepthi @shlomi-noach @GuptaManan100 @timvaillancourt

.github/workflows/assign_milestone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
jobs:
1313
build:
1414
name: Assign Milestone
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-24.04
1616
permissions:
1717
pull-requests: write
1818

.github/workflows/auto_approve_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
jobs:
1010
auto_approve:
1111
name: Auto Approve Pull Request
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313

1414
permissions:
1515
pull-requests: write # only given on local PRs, forks run with `read` access

.github/workflows/check_label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
check_pull_request_labels:
1010
name: Check Pull Request labels
1111
timeout-minutes: 10
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
if: github.repository == 'vitessio/vitess'
1414
steps:
1515
- name: Release Notes label

.github/workflows/check_make_vtadmin_authz_testgen.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions: read-all
66
jobs:
77
build:
88
name: Check Make vtadmin_authz_testgen
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-24.04
1010
steps:
1111
- name: Skip CI
1212
run: |
@@ -61,7 +61,7 @@ jobs:
6161
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.vtadmin_changes == 'true'
6262
run: |
6363
sudo apt-get update
64-
sudo apt-get install -y make unzip g++ etcd curl git wget
64+
sudo apt-get install -y make unzip g++ etcd-client etcd-server curl git wget
6565
sudo service etcd stop
6666
go mod download
6767
go install golang.org/x/tools/cmd/goimports@latest

.github/workflows/check_make_vtadmin_web_proto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions: read-all
66
jobs:
77
build:
88
name: Check Make VTAdmin Web Proto
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-24.04
1010
steps:
1111
- name: Skip CI
1212
run: |

.github/workflows/close_stale_pull_requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions: read-all
99

1010
jobs:
1111
close_stale_pull_requests:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
permissions:
1414
pull-requests: write
1515

.github/workflows/cluster_endtoend_12.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818
name: Run endtoend tests on Cluster (12)
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Skip CI
@@ -96,10 +96,19 @@ jobs:
9696
# Get key to latest MySQL repo
9797
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8D3785C
9898
# Setup MySQL 8.0
99-
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
99+
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.33-1_all.deb
100100
echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
101101
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i mysql-apt-config*
102102
sudo apt-get -qq update
103+
104+
# We have to install this old version of libaio1 in case we end up testing with MySQL 5.7. See also:
105+
# https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
106+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.112-13build1_amd64.deb
107+
sudo dpkg -i libaio1_0.3.112-13build1_amd64.deb
108+
# libtinfo5 is also needed for older MySQL 5.7 builds.
109+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
110+
sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb
111+
103112
# Install everything else we need, and configure
104113
sudo apt-get -qq install -y mysql-server mysql-shell mysql-client make unzip g++ etcd-client etcd-server curl git wget eatmydata xz-utils libncurses6
105114

.github/workflows/cluster_endtoend_13.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818
name: Run endtoend tests on Cluster (13)
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Skip CI
@@ -96,10 +96,19 @@ jobs:
9696
# Get key to latest MySQL repo
9797
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8D3785C
9898
# Setup MySQL 8.0
99-
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
99+
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.33-1_all.deb
100100
echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
101101
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i mysql-apt-config*
102102
sudo apt-get -qq update
103+
104+
# We have to install this old version of libaio1 in case we end up testing with MySQL 5.7. See also:
105+
# https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
106+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.112-13build1_amd64.deb
107+
sudo dpkg -i libaio1_0.3.112-13build1_amd64.deb
108+
# libtinfo5 is also needed for older MySQL 5.7 builds.
109+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
110+
sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb
111+
103112
# Install everything else we need, and configure
104113
sudo apt-get -qq install -y mysql-server mysql-shell mysql-client make unzip g++ etcd-client etcd-server curl git wget eatmydata xz-utils libncurses6
105114

.github/workflows/cluster_endtoend_15.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818
name: Run endtoend tests on Cluster (15)
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Skip CI
@@ -96,10 +96,19 @@ jobs:
9696
# Get key to latest MySQL repo
9797
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8D3785C
9898
# Setup MySQL 8.0
99-
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
99+
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.33-1_all.deb
100100
echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
101101
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i mysql-apt-config*
102102
sudo apt-get -qq update
103+
104+
# We have to install this old version of libaio1 in case we end up testing with MySQL 5.7. See also:
105+
# https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
106+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.112-13build1_amd64.deb
107+
sudo dpkg -i libaio1_0.3.112-13build1_amd64.deb
108+
# libtinfo5 is also needed for older MySQL 5.7 builds.
109+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
110+
sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb
111+
103112
# Install everything else we need, and configure
104113
sudo apt-get -qq install -y mysql-server mysql-shell mysql-client make unzip g++ etcd-client etcd-server curl git wget eatmydata xz-utils libncurses6
105114

.github/workflows/cluster_endtoend_18.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818
name: Run endtoend tests on Cluster (18)
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Skip CI
@@ -96,10 +96,19 @@ jobs:
9696
# Get key to latest MySQL repo
9797
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8D3785C
9898
# Setup MySQL 8.0
99-
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
99+
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.33-1_all.deb
100100
echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
101101
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i mysql-apt-config*
102102
sudo apt-get -qq update
103+
104+
# We have to install this old version of libaio1 in case we end up testing with MySQL 5.7. See also:
105+
# https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
106+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.112-13build1_amd64.deb
107+
sudo dpkg -i libaio1_0.3.112-13build1_amd64.deb
108+
# libtinfo5 is also needed for older MySQL 5.7 builds.
109+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
110+
sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb
111+
103112
# Install everything else we need, and configure
104113
sudo apt-get -qq install -y mysql-server mysql-shell mysql-client make unzip g++ etcd-client etcd-server curl git wget eatmydata xz-utils libncurses6
105114

.github/workflows/cluster_endtoend_21.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818
name: Run endtoend tests on Cluster (21)
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Skip CI
@@ -96,10 +96,19 @@ jobs:
9696
# Get key to latest MySQL repo
9797
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8D3785C
9898
# Setup MySQL 8.0
99-
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
99+
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.33-1_all.deb
100100
echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
101101
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i mysql-apt-config*
102102
sudo apt-get -qq update
103+
104+
# We have to install this old version of libaio1 in case we end up testing with MySQL 5.7. See also:
105+
# https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
106+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.112-13build1_amd64.deb
107+
sudo dpkg -i libaio1_0.3.112-13build1_amd64.deb
108+
# libtinfo5 is also needed for older MySQL 5.7 builds.
109+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
110+
sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb
111+
103112
# Install everything else we need, and configure
104113
sudo apt-get -qq install -y mysql-server mysql-shell mysql-client make unzip g++ etcd-client etcd-server curl git wget eatmydata xz-utils libncurses6
105114
@@ -112,6 +121,13 @@ jobs:
112121
# install JUnit report formatter
113122
go install github.com/vitessio/go-junit-report@HEAD
114123
124+
- name: Install Minio
125+
if: steps.skip-workflow.outputs.skip-workflow == 'false'
126+
run: |
127+
wget https://dl.min.io/server/minio/release/linux-amd64/minio
128+
chmod +x minio
129+
mv minio /usr/local/bin
130+
115131
- name: Setup launchable dependencies
116132
if: steps.skip-workflow.outputs.is_draft == 'false' && steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true' && github.base_ref == 'main'
117133
run: |

.github/workflows/cluster_endtoend_backup_pitr.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818
name: Run endtoend tests on Cluster (backup_pitr)
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Skip CI
@@ -96,10 +96,19 @@ jobs:
9696
# Get key to latest MySQL repo
9797
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8D3785C
9898
# Setup MySQL 8.0
99-
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
99+
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.33-1_all.deb
100100
echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
101101
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i mysql-apt-config*
102102
sudo apt-get -qq update
103+
104+
# We have to install this old version of libaio1 in case we end up testing with MySQL 5.7. See also:
105+
# https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
106+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.112-13build1_amd64.deb
107+
sudo dpkg -i libaio1_0.3.112-13build1_amd64.deb
108+
# libtinfo5 is also needed for older MySQL 5.7 builds.
109+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
110+
sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb
111+
103112
# Install everything else we need, and configure
104113
sudo apt-get -qq install -y mysql-server mysql-shell mysql-client make unzip g++ etcd-client etcd-server curl git wget eatmydata xz-utils libncurses6
105114

.github/workflows/cluster_endtoend_backup_pitr_mysqlshell.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818
name: Run endtoend tests on Cluster (backup_pitr_mysqlshell)
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Skip CI
@@ -96,10 +96,19 @@ jobs:
9696
# Get key to latest MySQL repo
9797
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8D3785C
9898
# Setup MySQL 8.0
99-
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
99+
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.33-1_all.deb
100100
echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
101101
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i mysql-apt-config*
102102
sudo apt-get -qq update
103+
104+
# We have to install this old version of libaio1 in case we end up testing with MySQL 5.7. See also:
105+
# https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
106+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.112-13build1_amd64.deb
107+
sudo dpkg -i libaio1_0.3.112-13build1_amd64.deb
108+
# libtinfo5 is also needed for older MySQL 5.7 builds.
109+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
110+
sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb
111+
103112
# Install everything else we need, and configure
104113
sudo apt-get -qq install -y mysql-server mysql-shell mysql-client make unzip g++ etcd-client etcd-server curl git wget eatmydata xz-utils libncurses6
105114

.github/workflows/cluster_endtoend_backup_pitr_xtrabackup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818
name: Run endtoend tests on Cluster (backup_pitr_xtrabackup)
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Skip CI

.github/workflows/cluster_endtoend_ers_prs_newfeatures_heavy.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818
name: Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Skip CI
@@ -96,10 +96,19 @@ jobs:
9696
# Get key to latest MySQL repo
9797
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8D3785C
9898
# Setup MySQL 8.0
99-
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
99+
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.33-1_all.deb
100100
echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
101101
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i mysql-apt-config*
102102
sudo apt-get -qq update
103+
104+
# We have to install this old version of libaio1 in case we end up testing with MySQL 5.7. See also:
105+
# https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
106+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.112-13build1_amd64.deb
107+
sudo dpkg -i libaio1_0.3.112-13build1_amd64.deb
108+
# libtinfo5 is also needed for older MySQL 5.7 builds.
109+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
110+
sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb
111+
103112
# Install everything else we need, and configure
104113
sudo apt-get -qq install -y mysql-server mysql-shell mysql-client make unzip g++ etcd-client etcd-server curl git wget eatmydata xz-utils libncurses6
105114

.github/workflows/cluster_endtoend_mysql80.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818
name: Run endtoend tests on Cluster (mysql80)
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Skip CI
@@ -96,10 +96,19 @@ jobs:
9696
# Get key to latest MySQL repo
9797
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8D3785C
9898
# Setup MySQL 8.0
99-
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
99+
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.33-1_all.deb
100100
echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
101101
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i mysql-apt-config*
102102
sudo apt-get -qq update
103+
104+
# We have to install this old version of libaio1 in case we end up testing with MySQL 5.7. See also:
105+
# https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
106+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.112-13build1_amd64.deb
107+
sudo dpkg -i libaio1_0.3.112-13build1_amd64.deb
108+
# libtinfo5 is also needed for older MySQL 5.7 builds.
109+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
110+
sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb
111+
103112
# Install everything else we need, and configure
104113
sudo apt-get -qq install -y mysql-server mysql-shell mysql-client make unzip g++ etcd-client etcd-server curl git wget eatmydata xz-utils libncurses6
105114

.github/workflows/cluster_endtoend_mysql_server_vault.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818
name: Run endtoend tests on Cluster (mysql_server_vault)
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Skip CI
@@ -96,10 +96,19 @@ jobs:
9696
# Get key to latest MySQL repo
9797
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8D3785C
9898
# Setup MySQL 8.0
99-
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
99+
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.33-1_all.deb
100100
echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
101101
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i mysql-apt-config*
102102
sudo apt-get -qq update
103+
104+
# We have to install this old version of libaio1 in case we end up testing with MySQL 5.7. See also:
105+
# https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
106+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.112-13build1_amd64.deb
107+
sudo dpkg -i libaio1_0.3.112-13build1_amd64.deb
108+
# libtinfo5 is also needed for older MySQL 5.7 builds.
109+
curl -L -O http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
110+
sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb
111+
103112
# Install everything else we need, and configure
104113
sudo apt-get -qq install -y mysql-server mysql-shell mysql-client make unzip g++ etcd-client etcd-server curl git wget eatmydata xz-utils libncurses6
105114

0 commit comments

Comments
 (0)