Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GitHub Action to setup a TiDB database by Docker

Icemap/tidb-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TiDB Action

English | 中文

Description

  • 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.

How to use

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

About

GitHub Action to setup a TiDB database by Docker

Resources

Stars

Watchers

Forks

Packages

No packages published