-
Notifications
You must be signed in to change notification settings - Fork 129
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
CI: Add two columns for the main and nightly workflows to the "Available plugins" table in README.md #509
CI: Add two columns for the main and nightly workflows to the "Available plugins" table in README.md #509
Conversation
ea70648
to
d35c346
Compare
README.md
Outdated
| [watchtower][watchtower-client] | Watchtower client for The Eye of Satoshi | | ||
| [webhook][webhook] | Dispatches webhooks based from [event notifications][event-notifications] | | ||
| [zmq][zmq] | Publishes notifications via [ZeroMQ][zmq-home] to configured endpoints | | ||
| Name | Short description | Main ![GitHub Release](https://img.shields.io/github/v/release/ElementsProject/lightning?label=%20&color=393D47) | Nigthly ![Static Badge](https://img.shields.io/badge/master-master?color=393D47) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Name | Short description | Main ![GitHub Release](https://img.shields.io/github/v/release/ElementsProject/lightning?label=%20&color=393D47) | Nigthly ![Static Badge](https://img.shields.io/badge/master-master?color=393D47) | | |
| Name | Short description | Main ![GitHub Release](https://img.shields.io/github/v/release/ElementsProject/lightning?label=%20&color=393D47) | Nightly ![Static Badge](https://img.shields.io/badge/master-master?color=393D47) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would change both Main and Nightly to CLN. So it would read "CLN v24.02.1" and "CLN master" right now. I think this makes it way more clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
d35c346
to
eb19a7f
Compare
@sip-21 is this still good to go? Thinking it's had enough review time? |
Yes, it has been hanging there for quite some some time now. I noticed, though, there is a merge conflict now as README.md had an update a few days ago. Also as a reminde before triggering the mergebot, these preparation steps need to be done:
|
eb19a7f
to
3ab9ee0
Compare
.ci/test.py
Outdated
|
||
def configure_git(): | ||
subprocess.run(["git", "config", "--global", "user.email", '"[email protected]"']) | ||
subprocess.run(["git", "config", "--global", "user.name", '"lightningd"']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarify that this is an automated / bot user
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a comment: a4cc954
5537199
to
ea54b9f
Compare
8b378d6
to
26c1d65
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, I'm super psyched for this feature. Great work!! 🚀
ACK 26c1d65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 26c1d65
Very good job guy!
This PR adds two columns for the
main
andnightly
workflows to the "Available plugins" table in README.md that displays badges indicating plugins' test results:master
. Workflow runs triggered by pull requests are ignored.If a plugin has no tests, no badges are displayed.
During the above workflow runs various data is generated and saved to the .badges directory of the (to be created)
badges
branch. It is a two step process:build-and-test
andnightly-build-and-test
jobs) the test result ("passed" or "failed") for each plugin and Python version is saved to a separate file, e.g. .badges/gather_data/main/backup/python3.12.txt.gather
job the data from step 1 is collected and written to JSON files , e.g. .badges/backup_main.json and .badges/backup_nightly.json. If the JSON data for a plugin has changed it is committed and pushed. This JSON data is then exposed through GitHub Pages which allows for the badges to be rendered dynamically.Notes:
badges
needs to be created manually and then GitHub pages need to be configured withSource
set toDeploy from a branch
and withBranch
set tobadges
.Code
tab. This may have been due to the browser still caching an older badge.Display of badges with the
holdinvoice
plugin CLN master tests currently failing.This PR also re-enables CI tests for the
feeadjuster
plugin by removing it from the list of excluded directories which it was added to erroneously while being unarchived.Corresponding issue: #494