ti-community-infra / tichi Goto Github PK
View Code? Open in Web Editor NEWTiChi ☯️ contains the tidb community collaboration automation basic framework and tool set.
Home Page: https://prow.tidb.net
License: Apache License 2.0
TiChi ☯️ contains the tidb community collaboration automation basic framework and tool set.
Home Page: https://prow.tidb.net
License: Apache License 2.0
Which project: TiUP
PR or Issue Link: pingcap/tiup#1116 (comment)
Support weighted assignment of reviewers based on code changes
None
Cleanup the prow doc link
Create a label-blocker plugin to prevent the manual addition of certain key labels.
For example:
We do not want collaborators to manually add status/can-merge
label.
Which project: ti-community-infra/ti-community-prow
PR or Issue Link: #228
Only unrequest all reviewers in the PENDING state, not all reviewers.
We need to translate all the documents into English.
tichi/cmd/ticommunitylabelblocker/main.go
Lines 144 to 149 in 1986e14
TODO
comment in 1986e14. It's been assigned to @Mini256 because they committed the code.cc: https://github.com/ti-community-infra/rfcs/blob/main/active-rfcs/0001-contribution.md
https://github.com/ti-community-infra/rfcs/blob/main/active-rfcs/0001-contribution.md
None
LGTM multiple times.
Only triggered once.
Triggered multiple times.
such as:
Remove //nolint:scopelint
.
None
We need to standardize the help provider for each plugin to provide the standard format and content specification.
None
None
Migrate the external plugin config path.
Still in plugins
path.
None
Send a PR, when the master branch update, we need to update it to the PR.
We can automaticly update the out of date PR.
We need to update manually.
None
status/can-merge
Auto remove status/can-merge
label.
No response.
owners support giving permissions to all sig reviewers and committers when there are no sig labels.
Which project:
TiUP
PR or Issue Link:
pingcap/tiup#1193
We got the CI queue boomed when some config samples been edited multiple times today, so we introduced on.<push | pull_request>.ignore-paths
option for CI workflows to reduce CI jobs when there're only docs changed in pingcap/tiup#1192
Now if a PR does not change any code most of the CI jobs will not be triggered. But that then lead to a problem that those "required" checks are never going to be satisfied, and then the PR can not be merged in normal way.
We would like to have an command (or by adding a label) to tell bot to ignore checks for some certain PR.
None
Non sig label PR.
Only write and admin collaborators can LGTM and Merge.
All collaborators have LGTM and Merge permissions
None
The autoresponder should support all comment events.
For now it's only support issue comment event.
Waiting kubernetes/test-infra#19724 landed.
None
Support multiple trusted teams for ti-community-owners.
None
Add a delay time for blunderbuss to wait for sig label to be added.
None
None
Remove these properties.
We still use these properties.
In the past we used loose lgtm management, but to ensure that all code is reviewed when merging, the new bot places some restrictions on committers merging their own pr. Submitters are not allowed to merge their own pr directly.
Which project: TiChi
PR or Issue Link: #312
Add an external plugin configuration verification tool.
Like: https://github.com/kubernetes/test-infra/tree/master/prow/cmd/checkconfig
None
When adding or updating sig label, blunderbuss supports re-cc to reviewers.
None
In order to make better use of tide's feature, I want to migrate all the test-related CI of this org to prow job.
None
Move label and label prefix constants to label.go
For master branch, we require two LGTMs for each PR.
For release branches, we can require 1 LGTM for each PR.
IMO, ti-community-prow-bot
is too long to remember and recall. We may want a new bright and sharp name for it.
Also, we have ti-challenge-bot
and ti-community-bot
. I'd like to make them into one from the contributors' perspective.
E.g., tikv/tikv#9430 (comment)
In this case I wrote "lgtm" as a review summary comment when I approved the PR. The suggestion from the bot is therefore unnecessary. Perhaps you can check for this case?
None
We don't have a clear definition of what each plugin responds to, for example the label plugin should respond to all comment events, not just issue comments, so I think we should clean up all the events and configurations that the plugin responds to.
cc: https://github.com/ti-community-infra/rfcs/blob/main/active-rfcs/0002-lifecycle.md
https://github.com/ti-community-infra/rfcs/blob/main/active-rfcs/0002-lifecycle.md
None
I want to custom the needs lgtm number by PR label.
Support it by owners.
Which project: PD
PR or Issue Link: tikv/pd#3244
/merge
a PR that is out of date with the upstream branch.
The bot will update the branch by merging it with the upstream branch and then trigger the /run-all-tests
command to run all the integration tests.
However, because the merging will also trigger the building and unit tests. It will cover up the integration tests triggered by the /run-all-tests
command.
We can use JSON Schema to make IDE support yaml lint and hint, which can help us avoid some errors on IDE prompts.
We can use jsonschema to automatically generate JSON Schema according to the Go language type definition, and then import the json file into the configuration in the IDE (Such as Goland).
type Configuration struct {
TichiWebURL string `json:"tichi_web_url,omitempty" jsonschema:"required"`
PRProcessLink string `json:"pr_process_link,omitempty" jsonschema:"required"`
CommandHelpLink string `json:"command_help_link,omitempty" jsonschema:"required"`
}
{
"$schema": "http://json-schema.org/draft-04/schema#",
"required": [
"tichi_web_url",
"pr_process_link",
"command_help_link"
],
"properties": {
"tichi_web_url": {
"type": "string"
},
"pr_process_link": {
"type": "string"
},
"command_help_link": {
"type": "string"
},
},
"additionalProperties": false,
"type": "object",
"definitions": {}
}
Which project:
PR or Issue Link:
cd configs/prow-dev
make prow
It should apply the configuration to the cluster without errors
zhangys@xxx:~/utility/ti-community-prow/configs/prow-dev$ make prow
kubectl apply -f cluster/prow_namespace.yaml
namespace/prow unchanged
kubectl apply -f cluster/test-pods_namespace.yaml
namespace/prow-test-pods unchanged
kubectl apply -f cluster/github-token.yaml
error: the path "cluster/github-token.yaml" does not exist
Makefile:10: recipe for target 'github' failed
make: *** [github] Error 1
I don't know what to do to fix it. A better explanation is needed.
Which project: configs
PR or Issue Link: ti-community-infra/configs#89 (comment)
add plugins and components summary.
None
Like: https://github.com/falcosecurity/test-infra/blob/master/config/jobs/autobump/autobump.yaml
pingcap/tidb-operator#3522 (comment)
For now, we directly expose the URL to the collaborators, and we need a page to display these content.
You can refer to https://pingcap.com/developer/sig/tiup/.
And I suggest you use antd's card to display the collaborators.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.