Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

First milestone #1

Open
17 of 27 tasks
koenw opened this issue Apr 7, 2022 · 0 comments
Open
17 of 27 tasks

First milestone #1

koenw opened this issue Apr 7, 2022 · 0 comments
Assignees
Labels

Comments

@koenw
Copy link
Contributor

koenw commented Apr 7, 2022

  • Github PR comment listener
    • Github webhook secret authentication
    • Whitelist of allowed repositories (everything under paritytech?)
    • User authorization (should be part of the org in order to run it)
  • Shared incoming job queue
    • Long-polling
    • Exponential backoff
    • Authentication
    • Peer discovery through DNS SRV records
  • Job execution
    • Checkout & prepare git repository
    • Load rhai script from repository
    • Run script
      • Pass extra arguments to script
      • Provide API to commit/push any output files
      • Provide API to run cargo
      • Provide API to comment on issue
      • Use Linux Namespaces (e.g. using unshare) to isolate the script and cargo from the rest of the system
  • Runtime configuration
    • Command-line and environment variable configuration
      • Github webhook secret
      • Listen address & port
      • Log-level (debug,info,warn,error)
      • repository root directory
      • bot command prefix (e.g. /bench-bot)
      • DNS SRV Record Name (e.g. benchbot.opstooling.parity.io)
    • Command-line --help option
@koenw koenw self-assigned this Apr 7, 2022
@Vovke Vovke added the epic label Apr 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants