Skip to content

Commit

Permalink
ci: update mariadb and tidb versions
Browse files Browse the repository at this point in the history
  • Loading branch information
blackbeam committed Jan 2, 2025
1 parent 13a269a commit 1f7941e
Showing 1 changed file with 30 additions and 14 deletions.
44 changes: 30 additions & 14 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ jobs:
SSL=false COMPRESS=false cargo test
SSL=true COMPRESS=false cargo test
SSL=false COMPRESS=true cargo test
SSL=true COMPRESS=true cargo test
env:
RUST_BACKTRACE: 1
DATABASE_URL: mysql://root:password@127.0.0.1/mysql
Expand All @@ -96,6 +95,12 @@ jobs:
strategy:
maxParallel: 10
matrix:
v91:
DB_VERSION: "9.1"
v90:
DB_VERSION: "9.0"
v84:
DB_VERSION: "8.4"
v80:
DB_VERSION: "8.0-debian"
v57:
Expand Down Expand Up @@ -126,7 +131,14 @@ jobs:
docker exec container bash -l -c "apt-get --allow-unauthenticated -y update"
docker exec container bash -l -c "apt-get install -y curl clang libssl-dev pkg-config build-essential"
docker exec container bash -l -c "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable"
displayName: Install Rust in docker
displayName: Install Rust in docker (Debian)
condition: or(eq(variables['DB_VERSION'], '5.6'), eq(variables['DB_VERSION'], '5.7-debian'), eq(variables['DB_VERSION'], '8.0-debian'))
- bash: |
docker exec container bash -l -c "microdnf install dnf"
docker exec container bash -l -c "dnf group install \"Development Tools\""
docker exec container bash -l -c "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable"
displayName: Install Rust in docker (RedHat)
condition: not(or(eq(variables['DB_VERSION'], '5.6'), eq(variables['DB_VERSION'], '5.7-debian'), eq(variables['DB_VERSION'], '8.0-debian')))
- bash: |
if [[ "5.6" != "$(DB_VERSION)" ]]; then SSL=true; else DATABASE_URL="mysql://root2:password@127.0.0.1/mysql?secure_auth=false"; fi
docker exec container bash -l -c "cd \$HOME && DATABASE_URL=$DATABASE_URL cargo test"
Expand All @@ -145,16 +157,16 @@ jobs:
strategy:
maxParallel: 10
matrix:
v1162:
DB_VERSION: "11.6.2"
v1152:
DB_VERSION: "11.5.2"
v1144:
DB_VERSION: "11.4.2"
v113:
DB_VERSION: "11.3"
DB_VERSION: "11.3.2"
v1011:
DB_VERSION: "10.11"
v106:
DB_VERSION: "10.6"
v105:
DB_VERSION: "10.5"
v104:
DB_VERSION: "10.4"
DB_VERSION: "10.11.10"
steps:
- bash: |
sudo apt-get update
Expand Down Expand Up @@ -207,10 +219,14 @@ jobs:
vmImage: "ubuntu-latest"
strategy:
matrix:
v5.3.0:
DB_VERSION: "v5.3.0"
v5.0.6:
DB_VERSION: "v5.0.6"
v8.5.0:
DB_VERSION: "v8.5.0"
v7.6.0:
DB_VERSION: "v7.6.0"
v6.6.0:
DB_VERSION: "v6.6.0"
v5.4.3:
DB_VERSION: "v5.4.3"
steps:
- bash: |
curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh
Expand Down

0 comments on commit 1f7941e

Please sign in to comment.