Open trz42 opened 1 year ago
Bot instance at name with defined targets: |
arch | repo/version | config | builds | deployment |
---|---|---|---|---|---|
x86_64/generic |
NESSI/2022.11 |
enabled | ✅ :x: | 🏃approved |
|
aarch4/generic |
NESSI/2022.11 |
disabled | ✅ | -- |
Last state changes ($n$ per target)
date | arch+repo/version | job id | action/state | details |
---|---|---|---|---|
tomorrow | aarch64/generic+NESSI/2022.11 |
1234 |
submitted |
job dir /tmp/foo |
Commands
Note, add commands to the bot below. Keep the ones which are there. Add new at the end of the list. See DOC for a list of supported commands.
Example 1: @bot cancel job 12345
Example 2: @bot disable target aarch64/generic for NESSI/2022.11
Notes
While reviewing https://github.com/EESSI/software-layer/pull/328, I also figured that it would be very useful to have something like this. The PRs had quite a few build issues, and multiple rebuilds were triggered in attempts to solve these issues, which makes it hard for a reviewer to determine the actual state of the builds/PR.
I have created a bot: status
command which collects all the comments in the pr related to the bot: build
command which then print an overveiw of all the build in one table. I'll open a pr for it once I have cleaned some things up.
Just opened https://github.com/EESSI/eessi-bot-software-layer/pull/237 to create a bot: status
command.
also tested it and here is an example of what the command does:
Provide an overview of the status of the PR and means to control instances (disable/enable instances and/or targets, deploy builds for specific instance/target).
Could be implemented by a "master" bot instance which receives all events (PR opened, labelled and particularly updates to comments).
Add mockups of the layout in subsequent comments to this issue.
Maybe a simple table that is added to the very first comment. Table could look as follows
(Upload/Stage/Approve/Ingest)
x86_64-generic
Saga-PR62
x86_64-intel-haswell
CitC-PR62
aarch64-generic
eX3-PR62
aarch64-generic
CitC-PR62
aarch64-graviton2
CitC-PR62
OR
x86_64-generic
Saga-PR62
x86_64-intel-haswell
CitC-PR62
aarch64-generic
eX3-PR62
aarch64-generic
CitC-PR62
aarch64-graviton2
CitC-PR62
OR
PRSO (Pull Request Status Overview)
(GHA could add a second comment used as command log:
confirm <target>
,approve <target>
,deploy <target>
, etc.)