English | 中文
- This is an unofficial GitHub Action, using Docker to deploy a TiDB.
- This action only for test. If you want a formal cluster TiDB, please see here.
- This library is developed based on mirromutth/mysql-action.
Minimal configuration:
steps:
- uses: Icemap/[email protected]Full configuration:
steps:
- uses: Icemap/[email protected]
with:
port: 4001 # Optional, default is 4000, the port on which TiDB will run
version: "v7.2.0" # Optional, default is v7.1.0, the version TiDB is running
config: |
[tikv-client.async-commit]
safe-window = 0
allowed-clock-drift = 0 # Optional, default is empty, if you need special TiDB configuration, write the configuration here
inner port: 4001 # Optional, defaults to 4000, refers port inside the TiDB container, which is a configuration that is only used if you change the port in the config param