Giter Club home page Giter Club logo

copilot-ops-bot's People

Contributors

djach7 avatar guymguym avatar robotsail avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

djach7 robotsail

copilot-ops-bot's Issues

add public URL to repo

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Test the bot (CI)

We want the bot code to be tested and have an upstream CI on pr/merge/release.

Implement bot for issue => ai => pr

probot will handle the events and submit tekton pipeline-run with these steps:

  1. parse the user request from the issue description -
  2. checkout git repo files to workspace
    • does emptyDir works across tasks in a tekton pipeline? @tumido - no, since tasks map to pods, so sharing the workspace between tasks requires a PVC, or contain everything in one task. tekton workspace still requires a volume provided to PipelineRun - see example
    • create (or use existing) branch for the issue with a fixed name - i.e. copilot-ops-issue-123
    • @tumido suggests to use one of these two examples - peribolos.../run.yaml, and this dump-config action for example dump-config.yaml#L36
    • reusing tektonhub tasks is not as simple with app authentication - https://hub.tekton.dev/tekton/task/git-clone
  3. invoke copilot-ops to call the AI engine and put back the reply on the repo
  4. open a pr in github if not already existing using branch name copilot-ops-fixes-issue-###

Refer to previous github-actions example - https://github.com/redhat-et/copilot-ops/blob/main/.github/workflows/bot.yaml

Deploy the bot to operate-first

Provision a project on operate-first to host the bot app.
What is the release process from this repo to the deployment - perhaps a release tag or a branch.

Authorized Users List

Describe the solution you'd like
To prevent overload, we can add an "authorized users" list in the .copilot-ops-bot.yaml config file.

Describe alternatives you've considered
Having everybody use the bot.

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.