Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
pin mariadb version in chaos (#1865) (#1866)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot committed Jul 14, 2021
1 parent 1f0ca8b commit a0247ec
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/binlog-999999.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@ jobs:
sudo bash -c "echo './mysql-bin.999998' > /tmp/mysql2-data/mysql-bin.index"
docker-compose -f ./tests/binlog_999999/docker-compose.yml up -d
while ! mysqladmin -h127.0.0.1 -P3306 -p123456 -uroot ping --connect-timeout=1 > /dev/null 2>&1 ; do
echo "wait mysql"
sleep 1
done
while ! mysqladmin -h127.0.0.1 -P3307 -p123456 -uroot ping --connect-timeout=1 > /dev/null 2>&1 ; do
echo "wait mysql"
sleep 1
done
- name: Run test cases
run: |
RESET_MASTER=false make integration_test CASE=incremental_mode
Expand Down
10 changes: 5 additions & 5 deletions chaos/manifests/sources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
name: mysql57
spec:
accessModes:
- ReadWriteOnce
- ReadWriteOnce
resources:
requests:
storage: 5Gi
Expand All @@ -87,7 +87,7 @@ spec:
spec:
containers:
- name: mysql8
image: mysql:8.0.23
image: mysql:8.0.23 # use latest after TiDB support utf8mb3
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: "/var/lib/mysql"
Expand All @@ -109,7 +109,7 @@ spec:
name: mysql8
spec:
accessModes:
- ReadWriteOnce
- ReadWriteOnce
resources:
requests:
storage: 5Gi
Expand All @@ -135,7 +135,7 @@ spec:
spec:
containers:
- name: mariadb
image: mariadb:latest
image: mariadb:10.6.0 # use latest after TiDB support utf8mb3
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: "/var/lib/mysql"
Expand All @@ -155,7 +155,7 @@ spec:
name: mariadb
spec:
accessModes:
- ReadWriteOnce
- ReadWriteOnce
resources:
requests:
storage: 5Gi

0 comments on commit a0247ec

Please sign in to comment.