ci: tolerate upstream poky rebases + drop qemu-runtime cron#11
Merged
Conversation
Two unrelated CI failures rolled into one PR because they're both small.
1. ci.yml parse jobs were failing on scarthgap whenever the cached poky
checkout was older than upstream's rebased scarthgap tip:
! [rejected] scarthgap -> origin/scarthgap (non-fast-forward)
`git fetch ref:remote-ref` refuses non-fast-forward updates by
default. Switch to a `+ref:remote-ref` force refspec, and on any
harder failure fall back to a clean re-clone so a corrupted cache
never permanently wedges the matrix. qemu-runtime.yml had the same
bug -- fix it the same way.
2. qemu-runtime's weekly cron has been consistently hitting the GitHub
Actions 6h job-runtime cap (latest run cancelled at 6h 37min). The
full core-image-weston build from a cold sstate doesn't fit in the
hosted-runner budget. Drop the schedule and leave it as manual
dispatch only until we point it at a self-hosted runner with
persistent sstate.
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.
Two unrelated CI failures bundled because both fixes are small.
*parse (scarthgap / ) — fails on cache restore when upstream poky/scarthgap has been rebased:
Switch the fetch refspec to the force form (`+ref:remote-ref`) and, on any harder failure, fall back to a clean re-clone so a corrupted/cache-poisoned poky tree never permanently wedges the matrix. qemu-runtime.yml had the identical bug — fixed the same way.
qemu-runtime — the weekly cron has been consistently hitting the GitHub Actions 6-hour job-runtime cap (latest run cancelled at 6h 37min). Drop the schedule; leave `workflow_dispatch` only until we point this at a self-hosted runner (e.g. fio) with persistent sstate. Avoids burning ~6h of CI minutes every Sunday on a guaranteed-failure run.