-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EngAut] CommandBot: Create GHA version #113
Comments
Could you elaborate on what currently doesn't work, or how |
I didn't go as far a trying to setup everything yet. The documentation contains many element but it is a bit hard to know how all of the elements are orchestrated overall.
That is why I supposed it required to do so, I'll try to set the bot up and see where I get stuck |
Also, the first line of readme also mention:
|
You're going through deployment/development setup. Are you trying to host your own instance? |
Ideally yes, but if you offer a service where we can plug our repo and our CI servers, I'm happy to try it (I don't think that would work in term of security however so we would end up hosting it) |
Okay, I think I've misread the situation. Let us think on it. |
@crystalin Currently, we defer the tasks to run and queue for the CI, in our case Gitlab. We are going to make it less opinionated and instead of creating a Gitlab CI job - create Kubernetes jobs. What would be a desired infrastructure set up so you could deploy and use it on your side? |
Thank you, I think plugin it with github and using their GHA (self-hosted runner) is preferred but we could probably combine it with our kubernetes cluster too |
Current plan is to move away from gitlab completely, so will be porting the exiting command bot to separate repo, the idea is to set this up as Github action, with decoupled repo for command scripts and interface. |
I will be taking up this task. I have created a milestone to track this: GitHub action milestone |
The repository I ran two experiments to see if this is feasible, both of them were succesfull: |
Currently working on paritytech/cmd-action#1. I'm making the system parse content from the comments and validating it with the commands. |
Preparing schema handling. I've been in contact with Oliver, our main stakeholder.
The logic of configuration handling will be similar to review-bot's: Easy to read and hosted in the target repository.
|
Currently working on paritytech/cmd-action#7 Configuration files will be moved to be in I'm preparing this ticket in combination with paritytech/cmd-action#10 so we have a schema validator out of the box |
Completed the following tasks |
22-26 of April
|
Currently working on the finishing touches for paritytech/cmd-action#18 This will close: |
WIP: #8 Most of the task is done. Only some things remaining:
|
Work in progress to migrate the command action to work as a github workflow: Missing commands
|
The fellows/runtimes integration is on pause due to couple of reasons
|
Finished preparing paritytech/polkadot-sdk#4701 |
Completed migration of most commands: Currently working on adding the last command (sync): paritytech/polkadot-sdk#4818 |
Note: I added a task to the list to:
|
Fix the mentioned issue: paritytech/command-bot#113 (comment)
Fix the mentioned issue: paritytech/command-bot#113 (comment)
Fix the mentioned issue: paritytech/command-bot#113 (comment)
Fix the mentioned issue: paritytech/command-bot#113 (comment)
Fix the mentioned issue: paritytech/command-bot#113 (comment)
paritytech/polkadot-sdk#5000 should provide the fix for this. |
Fixed the mentioned issue: paritytech/command-bot#113 (comment) Now it will properly comment when the old bot gets triggered.
Fixed the mentioned issue: paritytech/command-bot#113 (comment) Now it will properly comment when the old bot gets triggered.
Fixed the mentioned issue: paritytech/command-bot#113 (comment) Now it will properly comment when the old bot gets triggered.
Closing this as done in V1 and V2 versions ->
@crystalin we've gone with simple python script (could be short bash too, like Astar does) |
Fixed the mentioned issue: paritytech/command-bot#113 (comment) Now it will properly comment when the old bot gets triggered.
Background:
Stakeholders and Goals:
Original request:
We've been using the benchbot and are thinking to move to the command-bot, however we don't rely on gitlab for our CI.
Our current setup is using Github Action but with self-hosted instances (dedicated to building/testing).
I like the idea of the command-bot allowing commands from different sources (matrix/github/...) but it seems to be quite customized to how parity work (using gitlab, helm,...).
Do you have any plan on making it more generic to allow non-gitlab service ?
GitHub action milestone
Tasks
name
field cmd-action#22The text was updated successfully, but these errors were encountered: