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

Introduce MS-hosted agents image as image-basis #17

Open
AlexanderSehr opened this issue Sep 25, 2022 · 2 comments
Open

Introduce MS-hosted agents image as image-basis #17

AlexanderSehr opened this issue Sep 25, 2022 · 2 comments

Comments

@AlexanderSehr
Copy link
Contributor

The images used by the Microsoft-Hosted agents already provide a very comprehensive suite of installed software. Using Packer and the file used by Microsoft to bake these images, we could introduce their creation as a preliminary step to the baking process.

@ggirard07
Copy link

That would be really interesting indeed, but kind of curious how you would overcome the legal issues that prevented them to do so

actions/runner-images#176 (comment)

@AlexanderSehr
Copy link
Contributor Author

Hey @ggirard07 thanks for sharing. The idea would be less to make it available in the marketplace, but more to implement the logic, some of the participants in the issue mentioned, to built an image based on the Packer file published in the referenced GitHub repository. So effectively, the consumer would need to build the images themselves.

The main reason this isn't implemented yet is that it turned out that the Packer built is very unstable (failing usually 2/3+ of times) which isn't really a good look. I can only assume this works better when using ImageTemplates as they may have a lot of retries implemented in there. Unfortunately it is currently not possible to use that Packer file directly as a customization step in the Image Template resource. Meh...

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