Skip to content

Commit

Permalink
fix: mitigate old docker for full stack test (#6712)
Browse files Browse the repository at this point in the history
ref #6233
  • Loading branch information
lijie authored Feb 2, 2023
1 parent 379eba5 commit 7cf64b0
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/docker/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ version: '2.3'
services:
pd0:
image: hub.pingcap.net/qa/pd:${PD_BRANCH:-master}
security_opt:
- seccomp:unconfined
volumes:
- ./config/pd.toml:/pd.toml:ro
- ./data/pd0:/data
Expand All @@ -34,6 +36,8 @@ services:
restart: on-failure
tikv0:
image: hub.pingcap.net/qa/tikv:${TIKV_BRANCH:-master}
security_opt:
- seccomp:unconfined
volumes:
- ./config/tikv.toml:/tikv.toml:ro
- ./data/tikv0:/data
Expand All @@ -50,6 +54,8 @@ services:
restart: on-failure
tidb0:
image: hub.pingcap.net/qa/tidb:${TIDB_BRANCH:-master}
security_opt:
- seccomp:unconfined
volumes:
- ./config/tidb.toml:/tidb.toml:ro
- ./log/tidb0:/log
Expand Down
6 changes: 6 additions & 0 deletions tests/docker/cluster_disable_new_collation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ version: '2.3'
services:
pd0:
image: hub.pingcap.net/qa/pd:${PD_BRANCH:-master}
security_opt:
- seccomp:unconfined
volumes:
- ./config/pd.toml:/pd.toml:ro
- ./data/pd0:/data
Expand All @@ -34,6 +36,8 @@ services:
restart: on-failure
tikv0:
image: hub.pingcap.net/qa/tikv:${TIKV_BRANCH:-master}
security_opt:
- seccomp:unconfined
volumes:
- ./config/tikv.toml:/tikv.toml:ro
- ./data/tikv0:/data
Expand All @@ -50,6 +54,8 @@ services:
restart: on-failure
tidb0:
image: hub.pingcap.net/qa/tidb:${TIDB_BRANCH:-master}
security_opt:
- seccomp:unconfined
volumes:
- ./config/tidb_disable_new_collation.toml:/tidb.toml:ro
- ./log/tidb0:/log
Expand Down
6 changes: 6 additions & 0 deletions tests/docker/cluster_new_collation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ version: '2.3'
services:
pd0:
image: hub.pingcap.net/qa/pd:${PD_BRANCH:-master}
security_opt:
- seccomp:unconfined
volumes:
- ./config/pd.toml:/pd.toml:ro
- ./data/pd0:/data
Expand All @@ -34,6 +36,8 @@ services:
restart: on-failure
tikv0:
image: hub.pingcap.net/qa/tikv:${TIKV_BRANCH:-master}
security_opt:
- seccomp:unconfined
volumes:
- ./config/tikv.toml:/tikv.toml:ro
- ./data/tikv0:/data
Expand All @@ -50,6 +54,8 @@ services:
restart: on-failure
tidb0:
image: hub.pingcap.net/qa/tidb:${TIDB_BRANCH:-master}
security_opt:
- seccomp:unconfined
volumes:
- ./config/tidb_new_collation.toml:/tidb.toml:ro
- ./log/tidb0:/log
Expand Down
6 changes: 6 additions & 0 deletions tests/docker/cluster_tidb_fail_point.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ version: '2.3'
services:
pd0:
image: hub.pingcap.net/qa/pd:${PD_BRANCH:-master}
security_opt:
- seccomp:unconfined
volumes:
- ./config/pd.toml:/pd.toml:ro
- ./data/pd0:/data
Expand All @@ -34,6 +36,8 @@ services:
restart: on-failure
tikv0:
image: hub.pingcap.net/qa/tikv:${TIKV_BRANCH:-master}
security_opt:
- seccomp:unconfined
volumes:
- ./config/tikv.toml:/tikv.toml:ro
- ./data/tikv0:/data
Expand All @@ -50,6 +54,8 @@ services:
restart: on-failure
tidb0:
image: hub.pingcap.net/qa/tidb:${TIDB_BRANCH:-master}-failpoint
security_opt:
- seccomp:unconfined
environment:
GO_FAILPOINTS: "github.com/pingcap/tidb/server/enableTestAPI=return"
volumes:
Expand Down
2 changes: 2 additions & 0 deletions tests/docker/tiflash-dt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ services:
# (engine DeltaTree)
tiflash0:
image: hub.pingcap.net/tiflash/tiflash-ci-base
security_opt:
- seccomp:unconfined
volumes:
- ./config/tiflash_dt.toml:/config.toml:ro
- ./data/tiflash:/tmp/tiflash/data
Expand Down

0 comments on commit 7cf64b0

Please sign in to comment.