Skip to content

Conversation

@HippocampusGirl
Copy link
Contributor

Dear maintainers,

This proposed change extends the UserDataOptions introduced in #87 and #95 so that the user can configure additional packages to be installed into the runner of each pool.

This can be very useful when GitHub Actions workflows require Docker to be installed in the runner. This can be configured via

garm-cli pool update \
    --extra-specs='{"extra_packages": ["docker.io"]}' \
        <pool id>

@gabriel-samfira
Copy link
Member

This is great! Thanks!

@gabriel-samfira gabriel-samfira merged commit a42ad39 into cloudbase:main Jun 11, 2023
@gabriel-samfira
Copy link
Member

Apropos, if you need to install packages that are not in the default repositories, you can always have a workflow step that prepares the runner before running anything else:

Here's an example: https://github.com/flatcar/scripts/blob/2f12dfb04bdea32f7627a348c2b24c5f0ec793ed/.github/workflows/ci.yaml#L51-L64

Alternatively, you can customize an image and use that (saves time installing packages). Or, using the extra specs option you just added. Either way will work 😄.

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.

2 participants