GithubHelp home page GithubHelp logo

ti-community-infra / ti-community-bot Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 2.11 MB

A bot for tidb community.

License: ISC License

Shell 0.51% JavaScript 1.39% TypeScript 97.38% Dockerfile 0.72%
ti-community-bot bot github tidb tikv pingcap

ti-community-bot's Introduction

ti-community-bot

GitHub Actions codecov Probot jest ISC License

A GitHub App built with Probot that a community bot for tidb.

Require

  • Git >= 2.13.0 (For husky support)
  • Node >= 10
  • MYSQL 5.7
  • Docker
  • Docker Compose >= 3

Development

# Copy .env.example to .env (fill in the relevant environment variables)
copy .env.example .env

# docker-compose up the db and bot
docker-compose -f dev.docker-compose.yml up -d --build

Changing code

The directory is mounted directly into the ti-community-bot Docker container, which means that the nodemon live-reload server will still just work.

If you change some configuration files or environment variables, we need to restart the service to take effect.

# Rebuild bot Docker image
docker-compose -f dev.docker-compose.yml build bot

# Restart running frontend container (if it's already running)
docker-compose -f dev.docker-compose.yml stop bot
docker-compose -f dev.docker-compose.yml rm bot
docker-compose -f dev.docker-compose.yml up -d

Deploy

Deploy using the docker-compose file of the production environment.

# docker-compose up the bot
docker-compose -f prod.docker-compose.yml up -d

Contributing

If you have suggestions for how ti-community-bot could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

ISC © 2020 Rustin-Liu [email protected]

ti-community-bot's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar hi-rustin avatar mini256 avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hi-rustin mini256

ti-community-bot's Issues

Automate all data updates for sig

Feature Request

  • I have searched the issues of this repository and believe that this is not a duplicate.

Is your feature request related to a Issue or PR(Optional)

None

Describe the feature you'd like:

Automate all data updates for sig.

Do you have any ideas on how to implement it?(Optional)

Notify operation colleagues when there is SIG membership info update

Feature Request

  • I have searched the issues of this repository and believe that this is not a duplicate.

Is your feature request related to a Issue or PR(Optional)

  • Which project: pingcap/community

Describe the feature you'd like:

Notify operation colleagues when there is SIG membership info update.

Do you have any ideas on how to implement it?(Optional)

When the PR is merged, @ operations colleagues in the PR comment.

Split API server and ti-community-bot

Feature Request

  • I have searched the issues of this repository and believe that this is not a duplicate.

Is your feature request related to a Issue or PR(Optional)

None

Describe the feature you'd like:

Split API server and ti-community-bot.

Do you have any ideas on how to implement it?(Optional)

Show old committer

Feature Request

  • I have searched the issues of this repository and believe that this is not a duplicate.

Is your feature request related to a Issue or PR(Optional)

None

Describe the feature you'd like:

Show old committer

Do you have any ideas on how to implement it?(Optional)

Add more and more detailed logs

Feature Request

  • I have searched the issues of this repository and believe that this is not a duplicate.

Is your feature request related to a Issue or PR(Optional)

None

Describe the feature you'd like:

Currently we only print logs at the API level, adding more logs to the service will help us to troubleshoot the problem.

Do you have any ideas on how to implement it?(Optional)

Upgrade ti-community-bot probot dependency to 11

Feature Request

  • I have searched the issues of this repository and believe that this is not a duplicate.

Is your feature request related to a Issue or PR(Optional)

None

Describe the feature you'd like:

Upgrade ti-community-bot probot dependency to 11

Do you have any ideas on how to implement it?(Optional)

Migrate the test CI to prow jobs

Feature Request

  • I have searched the issues of this repository and believe that this is not a duplicate.

Is your feature request related to a Issue or PR(Optional)

None

Describe the feature you'd like:

Migrate the test CI to prow jobs.

Do you have any ideas on how to implement it?(Optional)

Support to update multiple SIG membership data at the same time

Feature Request

  • I have searched the issues of this repository and believe that this is not a duplicate.

Is your feature request related to a Issue or PR(Optional)

None

Describe the feature you'd like:

Support to update multiple SIG membership data at the same time.

Do you have any ideas on how to implement it?(Optional)

Migrate ti-community-bot to k8s cluster

Feature Request

  • I have searched the issues of this repository and believe that this is not a duplicate.

Is your feature request related to a Issue or PR(Optional)

None

Describe the feature you'd like:

Migrate ti-community-bot to k8s cluster

Do you have any ideas on how to implement it?(Optional)

When we remove a sig or a sig member it not update the database

Bug Report

  • I have searched the issues of this repository and believe that this is not a duplicate.

Related link

None

Steps to reproduce(Optional)

Remove a sig or a sig member.

What is expected?

Update the database.

What is actually happening?

Nothing.

Archive the repository and split its functions into other repositories

Feature Request

  • I have searched the issues of this repository and believe that this is not a duplicate.

Is your feature request related to a Issue or PR(Optional)

None

Describe the feature you'd like:

We will be redesigning the sig nomination process, please see: https://docs.google.com/document/d/1OvlpU00W_LpTL09zB3gvDyQzHULz27kmNKH2O0seWCI/edit?usp=sharing

So there will be no point for this bot to continue to exist, we will redesign the database synchronization mechanism and hope it will be able to synchronize and verify data in bulk with a ci task.

Do you have any ideas on how to implement it?(Optional)

  • Separate data synchronization function
  • Migrating APIs to a new project

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.