-
Notifications
You must be signed in to change notification settings - Fork 7
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
A script for setting the pool #177
base: main
Are you sure you want to change the base?
Conversation
Thank you for your contribution @natemcintosh 🚀! Your pkgdown-site is ready for download 👉 here 👈! |
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files📢 Thoughts on this report? Let us know! 🚀 New features to boost your workflow:
|
Doesn't fully work in current state. Waiting on assistance fixing subnet and public vs. private IP address issues
Well, it currently seems that the create pool script runs to completion, but does not actually a pool. Will have to dig further into what's going on. |
The purpose of this script is to have a tool for setting up our Pool from the VAP CLI or GHA. This should help reduce a little of the complexity of the current action for setting up a pool.
Copilot generated summary below (will have copilot update again once PR is complete)
This pull request introduces a new script to create a pool in Azure Batch using Python. The script includes necessary imports, environment variable handling, and a main function to authenticate and create the pool.
Key changes:
create_pool.py
to.github/scripts
directory, which includes:BATCH_ACCOUNT
and constructing thebatch_url
.DefaultAzureCredential
andBasicTokenAuthentication
due to the lack of support for Azure auth flow v2 in Batch service.BatchServiceClient
and adding a pool with specified parameters such as VM size and image reference.