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

Is Batch The Right Product For My Idea? #75

Open
mvhatch opened this issue Sep 10, 2024 · 0 comments
Open

Is Batch The Right Product For My Idea? #75

mvhatch opened this issue Sep 10, 2024 · 0 comments

Comments

@mvhatch
Copy link

mvhatch commented Sep 10, 2024

I would like to setup some self-hosted, ephemeral GitHub runners in my GCP project. I'm thinking that I can have a webhook from GitHub ping a cloud run http endpoint, and the cloud run service will invoke a new batch job. The batch job simply needs to run a vm with an image that has the GitHub runner agent pre-installed. I assume this means I need to build a custom batch vm os image that has the necessary GitHub dependencies, and then execute those apps when the batch job is created. For what it's worth, my GitHub Workflows need to be able to execute docker-compose and bind mounts, so this is why I'm leaning towards Batch vs Cloud Run. Does this seem like a fair use case for batch? Should I be looking at another GCP product instead? Is Packer+Cloud Build the only way to build a custom batch image?

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

1 participant