-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[FEATURE] NuttX Dashboard for Build Farm #14558
Comments
GitHub Actions CI Logs are now inside NuttX DashboardOur NuttX Dashboard now ingests the CI Build Logs from GitHub Actions! (Like an Amoeba)
How It Happens:
What about ingesting macOS / msys2 / msvc Logs? Right now they show tooooo many ... warningses. We should probably fix the warnings before ingesting the logs into NuttX Dashboard. |
NuttX Build HistoryIf a Build Fails, how will we know what Broke the Build? Browse to nuttx-dashboard.org, click "See the NuttX Build History". Select the Board and Config. We'll see the History of Builds for the Board / Config. With the Git Hash of NuttX Repo and NuttX Apps Repo, hopefully we can track down to the exact commit that failed. 🙏🙏🙏 Please join your Ubuntu PC to our Build Farm, tell me your Gist ID. So we can capture more builds, and track down quickly to the exact commit that failed! 🙏🙏🙏 |
Very cool congratz @lupyuen :-) And its already working :-) I need to buy a disk to a laptop that I can use to join The NuttX Farmers :D |
Thanks @cederom! Yep hope to have your laptop in our NuttX Build Farm real soon :-) |
What minimal disk is recommended 500GB or 1TB? |
@cederom 500 GB should be more than sufficient. I'm using 51 GB right now :-) |
@lupyuen by any chance, do you have a Dockerfile for the whole setup (I know, I've been talking about docker for a while (it'll be after the doc migration;))) Reason why I'm asking, is that I have an Unraid server at home, which I host my media. And I was thinking maybe it would be possible to simply docker another docker on it. |
@lvanasse Yep the Dockerfile is here: https://github.com/apache/nuttx/blob/master/tools/ci/docker/linux/Dockerfile If you need the Docker Image, I can export it for you :-) |
@simbit18 Awesome! Lemme work on it... |
Hi @simbit18: msys2 Builds are now in nuttx-dashboard.org :-) |
Thank you @lupyuen |
@lupyuen I'm setting up a server to run the build and to potentially add it to the build farm :). I was wondering if you just put the Also, I think you'll need by Gist ID? It says in your article, that it's better to have another account for security? I'm not sure if I understand why you might need to do that. And also, is there a target group that would be best for me to set the CI to run on? Cheers :) |
Thank you so much @lvanasse!
|
@lvanasse As for Target Group: How about these, we can cut down later thanks :-)
I'm running these right now: https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh |
Sounds good! Then if you are not running the script in a cronjob how are you automating the process? |
@lvanasse It runs on my Ubuntu Desktop all day all night, I'm not using the PC for anything else :-) |
@lupyuen, sorry just so I understand correctly, so you do launch the script manually each time it finished? |
@lvanasse Oops sorry, please use this script, it will run all jobs forever: https://lupyuen.github.io/articles/ci2#build-nuttx-for-all-target-groups ## Download the scripts
git clone https://github.com/lupyuen/nuttx-release
cd nuttx-release
## Login to GitHub in Headless Mode
sudo apt install gh
sudo gh auth login
## (1) What Account: "GitHub.com"
## (2) Preferred Protocol: "HTTPS"
## (3) Authenticate GitHub CLI: "Login with a web browser"
## (4) Copy the One-Time Code, press Enter
## (5) Press "q" to quit the Text Browser that appears
## (6) Switch to Firefox Browser and load https://github.com/login/device
## (7) Enter the One-Time Code. GitHub Login will proceed.
## See https://stackoverflow.com/questions/78890002/how-to-do-gh-auth-login-when-run-in-headless-mode
## Run the Build Job forever: arm-01 ... arm-14
sudo ./run-ci.sh |
Ahh ok sorry, I didn't read the whole script properly, and didn't see the infinite loop. Thank you for the clarification, I'm setting up the server at the moment and I'll let you know my Gist ID after everything is running smoothly :). |
Things seems to be running smoothly :): https://gist.github.com/lvanasse/74976165ac7605a7376a6c026ff020ee If you want to add my ID to the Nuttx Build Farm, I would be honoured :)! After it ran a first time through all the target groups, I might just stop it and set it up so I can forget about it and let it run on my server. |
Super Awesome @lvanasse! Your PC is now in our NuttX Build Farm, thank you so much! :-) Here's how I added your PC to our Build Farm. macOS will join us real soon :-) |
Awesome! Thank you for everything @lupyuen! |
@lupyuen you might have seen some funniness in my gists. I had a couple of issue with my unraid VM, but things should be smooth from now on :). |
@lvanasse haha cool no worries :-) |
Is your feature request related to a problem? Please describe.
We have the First Version of the NuttX Dashboard for our Build Farm!
Try it here: https://nuttx-dashboard.org
This Dashboard consolidates the Build Logs from all Linux Build Servers (Alin, mine, GitHub CI). So it's convenient to spot any Errors and Warnings in our builds.
The Highlights Section will turn red if there are errors. (Severity 0)
We can filter the builds by Arch / SubArch / Group / Board / Config:
If you're keen to add your own Ubuntu PC or Mac to our Build Farm, please follow the steps below and tell me your GitHub Gist ID:
Describe the solution you'd like
We created the Dashboard with open-source Grafana and Prometheus. Source Code is here
Describe alternatives you've considered
No response
Verification
The text was updated successfully, but these errors were encountered: