ci: Skip Centos job on GHA runners #33365

pull willcl-ark wants to merge 1 commits into bitcoin:master from willcl-ark:disable-centos-forks changing 1 files +1 −0
  1. willcl-ark commented at 10:10 am on September 11, 2025: member

    Currently when running on GH free runners, this jobs runs out of space. This does not happen on Cirrus runners in the main repo (bitcoin/bitcoin) but does happen on forks.

    Rather than include code to free up space on the runner image, disable this job on forks.

    Fixes #33293

  2. ci: Skip Centos job on GHA runners
    Currently when running on GH free runners, this jobs runs out of space.
    This does not happen on Cirrus runners in the main repo
    (bitcoin/bitcoin) but does happen on forks.
    
    Rather than include code to free up space on the runner image, disable
    this job on forks.
    
    Ref #33293
    1c96479056
  3. DrahtBot added the label Tests on Sep 11, 2025
  4. DrahtBot commented at 10:10 am on September 11, 2025: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33365.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    Concept NACK m3dwards

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

    LLM Linter (✨ experimental)

    Possible typos and grammar issues:

    • it runs out of space -> they run out of space [plural “non-Cirrus runners” requires “they” rather than singular “it” for clear agreement]

    drahtbot_id_5_m

  5. willcl-ark commented at 10:11 am on September 11, 2025: member

    I did trial freeing up space on the runner as suggested by @maflcko in #33293, and it is possible to free up 18GB realtively easily, using e.g. https://github.com/willcl-ark/bitcoin/blob/f5885d05160fe0ac167976f2b36b6d5bec373e08/.github/actions/clear-files/action.yml

    But a one-line disable feels much cleaner, and also removes us from maintaing code in this repo, which isn’t for our own use.

  6. fanquake commented at 9:39 am on September 12, 2025: member
    To be clear, this will start skipping the job in https://github.com/bitcoin-core/gui ?
  7. willcl-ark commented at 9:25 pm on September 16, 2025: member

    To be clear, this will start skipping the job in bitcoin-core/gui ?

    That is currently correct, as I understand it.

    Though I thought I heard that @m3dwards had been successful in persuading Cirrus to allow us to share our runners with both orgs? In which case it would automagically work there when USE_CIRRUS_RUNNERS was set.

  8. m3dwards commented at 6:28 pm on September 17, 2025: contributor
    Looks fine. I don’t have strong feelings, and wouldn’t NACK this, but my preference leans more towards having things still run on forks on GHA runners as it does for the main org albeit slower. Also has the benefit of having a bit less vendor lock in.
  9. willcl-ark commented at 8:43 am on September 18, 2025: member

    Looks fine. I don’t have strong feelings, and wouldn’t NACK this, but my preference leans more towards having things still run on forks on GHA runners as it does for the main org albeit slower. Also has the benefit of having a bit less vendor lock in.

    I think if I was to e.g. append || true to the commands in https://github.com/willcl-ark/bitcoin/blob/f5885d05160fe0ac167976f2b36b6d5bec373e08/.github/actions/clear-files/action.yml to make it “fail-proof” (i.e. don’t error on failures) then it could be acceptable to have that code in this repo, even if only for forks?

    I’m happy with either fix, or a new solution not yet proposed :)

  10. fanquake commented at 1:42 pm on September 23, 2025: member
    @maflcko any opinion here?
  11. maflcko commented at 1:50 pm on September 23, 2025: member

    It seems a bit odd to have this task here, but not on forks. Somehow defeats the point of even supporting GHA runners, if they don’t run the same matrix.

    So I think I’d go with the clear-files action, albeit it is ugly to have to maintain it here.

    Although, in the meantime, it seems to be passing: https://github.com/fanquake/bitcoin/actions/runs/17928384544/job/50981349378?

  12. fanquake commented at 1:58 pm on September 23, 2025: member
    I guess if this is working for now, we can leave it, and re-evaluate in future? Maybe GH cleaned up their images.
  13. fanquake commented at 1:59 pm on September 23, 2025: member
    Seems like it also ran fine in https://github.com/bitcoin-core/gui/pull/895.
  14. willcl-ark commented at 2:01 pm on September 23, 2025: member
    I have also been somewhat-reliably informed that GH are testing customisable images internally now, so perhaps they’ll also permit a stock Ubuntu image in the near future too (which would work fine for us?).
  15. fanquake commented at 2:15 pm on September 23, 2025: member
    Ok, then lets close this (and #33293) for now, and reopen either if it starts happening again?
  16. fanquake closed this on Sep 23, 2025


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-10-10 12:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me