Support selfhosted runners#8896
Draft
rustyrussell wants to merge 11 commits intoElementsProject:masterfrom
Draft
Support selfhosted runners#8896rustyrussell wants to merge 11 commits intoElementsProject:masterfrom
rustyrussell wants to merge 11 commits intoElementsProject:masterfrom
Conversation
0890395 to
b2e050d
Compare
This is horrible. We cannot make GH fallback, so I simply made it use self-hosted runners for me. If they're down, that's my problem :( Nonetheless, the gcc compile step (for example) goes from 9m38s to 5m32. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
More future proof, better for self-hosted runners. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
check-source-bolt needs devtools, and check-python needs a full build. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
b2e050d to
3532773
Compare
The one thing we *should* run is uv sync, so we do that in the scripts. This saves about 1m32, for *every* task. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
It's done by setup.sh, so simply set the env var for that. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
8edc216 to
f8ce26b
Compare
Before: 5m32 After: Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
No point spending 1m24 seconds for *each* different compiler variant. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2991f54 to
0b430be
Compare
3cbb5ad to
f71fc07
Compare
Self-hosted runners may have this already. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Don't upload/download if we're not on GitHub. This behavior is flagged by the existence of a /var/lib/github-runner/cache dir. Make sure you enable regular cleaning of this cache! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
f71fc07 to
354efc6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There's no way to have self-hosted runners and fall back to the GH ones if they're down. Since these runners are all on my build box, I have segmented it now so only my jobs run on them, as I can sort it out if that box is unavailable.
See https://github.com/organizations/ElementsProject/settings/actions/runners
Changelog-None: CI only.