Add Self Hosted configuration out of azure #4335
Replies: 7 comments 4 replies
-
Hi @felpasl. I think it would be interesting to have the json files be able to generate images in other packer builders such as AWS, HyperV, Virtual Box or whatever else is useful. The team that maintains this repo won't be able to take on that type of work, but we would be most welcoming of community contributions that can be shared by all around here. We'll be happy to review and merge as long as the changes don't introduce maintenance burden on the generation of the virtual-environments for GitHub Actions. I'll leave this issue open and label it as |
Beta Was this translation helpful? Give feedback.
-
Sorry for my late response, yes you understand, is to use Paker to generate images out of azure and remain these files in the repository, change the builders on file, I'm not sure if it is only that. |
Beta Was this translation helpful? Give feedback.
-
I did this for aws, but it seems that you have some additional provision script which is needed to be run after instance is ready. Can you share some ideas here. Thank you. |
Beta Was this translation helpful? Give feedback.
-
@pekhota You said that you did this for aws, I assume you did a Packer file to create an AMI. Is that available somewhere? |
Beta Was this translation helpful? Give feedback.
-
I made a few modifications to build an AWS AMI (ubuntu 18 and 20), nothing related to limits/OS configuration, but I still cannot get the same behavior as the Github Hosted Virtual Enviornments :( Even using a m5.large. In my case, I run tests with jest. With the Github Hosted Virtual Envs. the tests completes successfully, but in my self runner they get stuck, no errors. I'll keep trying, maybe it could be something related to the agent installation, when the VM is up and running. |
Beta Was this translation helpful? Give feedback.
-
I have the following proposal to be able to build the AWS AMI image to allow running EC2 self hosted runner: [ubuntu] add aws ami source (the pr is not to upstream yet). I needed to add a new source. Also I needed to make few modifications to be able to run the packer on clean canonical base image For the backward compatibility purposes the sources value is taken from variable with default value. Does this align with your long term vision for this repo and would you be willing to accept this (possibly after some modifications) to upstream? |
Beta Was this translation helpful? Give feedback.
-
Tool information
Area for Triage:
Question, Bug, or Feature?: Feature
Virtual environments affected
Can this tool be installed during the build?
Are you willing to submit a PR?
Beta Was this translation helpful? Give feedback.
All reactions