GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — CI Refactor Meta-Issue · Issue #1807 · LDMX-Software/ldmx-sw Open Labels github_actionsPull requests that update GitHub Actions code DescriptionI am writing this for long-term notes on how to cleanup the CI and make it less error prone. The general goal would be to make it closer to something folks can run locally to make it easier to replicate the CI results and also make it easier to test-run the CI locally to quicken development cycles when adding new CI workflows. Drop GitHub "Local" ActionsThese are the things stored in Drop
|
| Image | Base | Comments |
|---|---|---|
| ldmx/base | ubuntu | necessary dependencies (ROOT, Geant4,...) |
| ldmx/dev | ldmx/base | additional dev tooling (clang-tidy, etc...) |
| ldmx/build | ldmx/dev | debug build of ldmx-sw |
| ldmx/pro | ldmx/base | release build of ldmx-sw |
We'd probably want to look at building an arm platform version of the ldmx/pro image as well since the prevalence of ARM-Macs is growing. In the short/medium term, you can still build production images yourself locally on your ARM (or any platform supported by Docker/Podman) computer with #1438 (comment)
ghInstead of one-off actions, we can use GitHub's CLI that is installed on their runners. This is a tool that is more easy to test compared to the one-off actions and is maintained by GitHub themselves.
For example, we can use gh to add a comment about the failing samples in PR Validation or create the pre-release with the larger validation samples (although we havne't used the new-pre-release action in a long time).
#2061 did the first part of dropping github "local" actions