Skip to content

fix: run runner-images post-generation scripts on VM boot#515

Closed
cgwalters wants to merge 1 commit into
cncf:mainfrom
cgwalters:fix/oci-vm-post-generation-scripts
Closed

fix: run runner-images post-generation scripts on VM boot#515
cgwalters wants to merge 1 commit into
cncf:mainfrom
cgwalters:fix/oci-vm-post-generation-scripts

Conversation

@cgwalters

Copy link
Copy Markdown

Trying to use the runner, I hit issues with cargo not being available; that's because it's installed by rustup. Some AI-assisted digging shows there's some hacky code run by the official GHA runner build process around /etc/environment we need to replicate.

Assisted-by: https://github.com/cgwalters/cgwalters#llms

Trying to use the runner, I hit issues with `cargo` not being
available; that's because it's installed by rustup. Some AI-assisted
digging shows there's some hacky code run by the official GHA
runner build process around `/etc/environment` we need to replicate.

Assisted-by: https://github.com/cgwalters/cgwalters#llms
Signed-off-by: Colin Walters <walters@verbum.org>
@github-actions github-actions Bot added needs-triage Indicates an issue or PR that has not been triaged yet (has a 'triage/foo' label applied) needs-kind Indicates an issue or PR that is missing an issue type or kind (a kind/foo label) needs-group Indicates an issue or PR that has not been assigned a group (toc or tag/foo label applied) needs-priority Indicates an issue or PR missing a priority label needs-area Indicates an issue or PR missing an area label needs-status Indicates an issue or PR missing a status label labels Jul 13, 2026
@koksay

koksay commented Jul 13, 2026

Copy link
Copy Markdown
Member

@cgwalters, what is the exact error here? I would also like to take a look. Can you provide a link to the failed workflow?

@cgwalters

Copy link
Copy Markdown
Author

bootc-dev/bootc#2306

@koksay

koksay commented Jul 13, 2026

Copy link
Copy Markdown
Member

@cgwalters Can you re-run the jobs in that workflow please?

@cgwalters

Copy link
Copy Markdown
Author

Done, it seems to be working...but I think this may be diverging from what the offiical runners are doing?

@koksay

koksay commented Jul 13, 2026

Copy link
Copy Markdown
Member

Nope, we already moved the directories under HOME, but forgot to add those to PATH. I've just updated that: 44c5427

@koksay

koksay commented Jul 14, 2026

Copy link
Copy Markdown
Member

Closing this PR as the cargo problem is fixed via 44c5427

@koksay koksay closed this Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-area Indicates an issue or PR missing an area label needs-group Indicates an issue or PR that has not been assigned a group (toc or tag/foo label applied) needs-kind Indicates an issue or PR that is missing an issue type or kind (a kind/foo label) needs-priority Indicates an issue or PR missing a priority label needs-status Indicates an issue or PR missing a status label needs-triage Indicates an issue or PR that has not been triaged yet (has a 'triage/foo' label applied)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants