Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update ci commands doc #49264

Merged
merged 6 commits into from
Dec 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 16 additions & 17 deletions ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,23 @@

## Guide

ci pipeline will be triggered when your comment on pull request matched command. But we have some task that will be triggered manually.
The CI pipeline will automatically trigger when you submit a PR or push new commits. There are also some CI pipelines that support manual triggering, usually for integration testing, which will give you more confidence in the quality of PR. You can obtain the trigger command for all supported CI pipelines by commenting `/test ?` in a PR.

## Commands

| ci pipeline | Commands |
| ---------------------------------------- |-----------------------------------------------------------------|
| tidb_ghpr_coverage | /run-coverage |
| tidb_ghpr_build_arm64 | /run-build-arm64 comment=true |
| tidb_ghpr_common_test | /run-common-test<br />/run-integration-tests |
| tidb_ghpr_integration_br_test | /run-integration-br-test<br />/run-integration-tests |
| tidb_ghpr_integration_campatibility_test | /run-integration-compatibility-test<br />/run-integration-tests |
| tidb_ghpr_integration_common_test | /run-integration-common-test<br />/run-integration-tests |
| tidb_ghpr_integration_copr_test | /run-integration-copr-test<br />/run-integration-tests |
| tidb_ghpr_integration_ddl_test | /run-integration-ddl-test<br />/run-integration-tests |
| tidb_ghpr_monitor_test | /run-monitor-test |
| tidb_ghpr_mybatis | /run-mybatis-test<br />/run-integration-tests |
| tidb_ghpr_sqllogic_test_1 | /run-sqllogic-test<br />/run-integration-tests |
| tidb_ghpr_sqllogic_test_2 | /run-sqllogic-test<br />/run-integration-tests |
| tidb_ghpr_tics_test | /run-tics-test<br />/run-integration-tests |
| tidb_ghpr_unit_test | /run-unit-test<br />/run-all-tests<br />/merge |
| ci pipeline | Commands | Tests |
| ------------------------------- | --------------------------------------- | ------------------------------------------------------------ |
| pull-br-integration-test | `/test pull-br-integration-test` | All br integration test in `br/tests` |
| pull-lightning-integration-test | `/test pull-lightning-integration-test` | All lightning integration tests in `br/tests` |
| pull-common-test | `/test pull-common-test` | Some ORM tests performed through the unistore. |
| pull-e2e-test | `/test pull-e2e-test` | E2e tests in `tests/globalkilltest` and `tests/graceshutdown` |
| pull-integration-common-test | `/test pull-integration-common-test` | Some ORM tests performed through the tikv |
| pull-integration-copr-test | `/test pull-integration-copr-test` | Coprocessor tests in [tikv/copr-test](https://github.com/tikv/copr-test) |
| pull-integration-ddl-test | `/test pull-integration-ddl-test` | All ddl tests in PingCAP-QE/tidb-test `ddl_test` |
| pull-integration-jdbc-test | `/test pull-integration-jdbc-test` | All JDBC tests in PingCAP-QE/tidb-test |
| pull-integration-mysql-test | `/test pull-integration-mysql-test` | All mysql tests in PingCAP-QE/tidb-test performed through the tikv |
| pull-integration-nodejs-test | `/test pull-integration-nodejs-test` | Node.js ORM tests in PingCAP-QE/tidb-test |
| pull-mysql-client-test | `/test pull-mysql-client-test` | MySQL client tests in PingCAP-QE/tidb-test |
| pull-sqllogic-test | `/test pull-sqllogic-test` | SQL logic tests in PingCAP-QE/tidb-test |
| pull-tiflash-test | `/test pull-tiflash-test` | TiFlash tests in pingcap/tiflash `tests/docker/` |