Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] add azure cli and homebrew #473

Closed
AndreasAugustin opened this issue Nov 23, 2023 · 2 comments
Closed

[Feature] add azure cli and homebrew #473

AndreasAugustin opened this issue Nov 23, 2023 · 2 comments

Comments

@AndreasAugustin
Copy link

Feature request

Please add azure cli and homebrew to your runners.

We have a multi cloud environment in place and want to use the runners for several jobs in several clouds.
We want to avoid customizations.
Therefore it would be super nice if the mentioned tools could be added to the runners by default.

Remark
Not sure if this is already covered with #358
The mentioned tools are (exception homebrew on windows) also installed onto the official github hosted runners:

@kichik
Copy link
Member

kichik commented Nov 25, 2023

If those are included in the hosted GitHub Actions runner, then yes, it's covered by #358.

FWIW, you can already add those to your runners with addComponent().

const myBuilder = CodeBuildRunnerProvider.imageBuilder(this, 'image builder');
myBuilder.addComponent(
  RunnerImageComponent.custom({ commands: ['curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash'] })
);

const myProvider = new CodeBuildRunnerProvider(this, 'runner', {
   labels: ['customized'],
   imageBuilder: myBuilder,
});

new GitHubRunners(this, 'runners', {
   providers: [myProvider],
});

One day, we might have something like ExtraRunnerImageComponents with .all() and also .azureCli(), .python(), etc.

@AndreasAugustin
Copy link
Author

Thanks @kichik . I close the issue due to #358

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

No branches or pull requests

2 participants