Skip to content

Commit

Permalink
doc: fix main-cron-bisect docs (#17720)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel authored Jul 17, 2024
1 parent 4605773 commit e8273ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/dev/src/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ To run `e2e-test` and `e2e-source-test` for `main-cron` in your pull request:

## Main Cron Bisect Guide

1. Create a new build via buildkite: https://buildkite.com/risingwavelabs/main-cron-bisect/builds/#new
1. Create a new build via [buildkite](https://buildkite.com/risingwavelabs/main-cron-bisect/builds/#new)
2. Add the following environment variables:
- `GOOD_COMMIT`: The good commit hash.
- `BAD_COMMIT`: The bad commit hash.
- `BISECT_BRANCH`: The branch name where the bisect will be performed.
- `CI_STEPS`: The `CI_STEPS` to run during the bisect. Separate multiple steps with a comma.
- You can check the labels for this in `main-cron.yml`, under the conditions for each step.
- You can check the labels for this in [main-cron.yml](https://github.com/risingwavelabs/risingwave/blob/main/ci/workflows/main-cron.yml),
under the conditions for each step.

Example you can try on [buildkite](https://buildkite.com/risingwavelabs/main-cron-bisect/builds/#new):
- Branch: `kwannoel/find-regress`
- Environment variables:
```
START_COMMIT=29791ddf16fdf2c2e83ad3a58215f434e610f89a
END_COMMIT=7f36bf17c1d19a1e6b2cdb90491d3c08ae8b0004
GOOD_COMMIT=29791ddf16fdf2c2e83ad3a58215f434e610f89a
BAD_COMMIT=7f36bf17c1d19a1e6b2cdb90491d3c08ae8b0004
BISECT_BRANCH=kwannoel/test-bisect
CI_STEPS="test-bisect,disable-build"
```

0 comments on commit e8273ca

Please sign in to comment.