Skip to content

Conversation

@deribaucourt
Copy link
Member

@deribaucourt deribaucourt commented Jan 21, 2026

Linked to #492

I configured a new self-hosted runner that shouldn't timeout. It has a beefier CPU, disk and no time restriction.
Also has a Yocto SSTATE cache, so it makes less demands and takes less time.

We started experiencing timeouts on the default GitHub runners due to
the lengthy setup time for the Yocto build environment. This change
modifies the main CI workflow to utilize a self-hosted runner that
has less computing limitations.
Speed up the pipeline by reusing the Yocto download and sstate
cache directories on the self-hosted runner via NFS mounts.

Mostly for `devtool modify busybox` which needs to build quilt-native
and a few other recipes.
The self-hosted runner is already configured to allow unprivileged user
namespaces, contrarily to the default GitHub-hosted runners. Therefore,
this step is not needed and can be removed.
The packages are already installed on the self-hosted runner.
The self-hosted runner reuses the workspace after each workflow.
This means we now need to clean up after ourselves to avoid
polluting the workspace for the next run.

We keep it on failure to allow debugging.
We now separate the timeouts for bitbake commands that just do some
parsing, and those that do actual builds.
This test needs to initiate the bitbake parser, which can take a while
and the previous timeout was too low and failed.
It looks like the actions rules now trigger for pull request and push
on the pull request branches, causing double runs for PRs.

There's only a need to run on push to main branches.
@rawaha-e rawaha-e self-requested a review January 22, 2026 14:31
Copy link
Collaborator

@rawaha-e rawaha-e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@deribaucourt deribaucourt merged commit bc87771 into staging Jan 23, 2026
8 checks passed
@deribaucourt deribaucourt deleted the self-hosted branch January 23, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants