-
Notifications
You must be signed in to change notification settings - Fork 15
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
Enable Tartelet to update the virtual machines from a registry. #13
Comments
Tart supports Docker credentials helpers so you can install and configure one for ECR and Tart will call it automatically for We do it everywhere at Cirrus Labs for our CI and for Cirrus Runners. |
That sounds like a great solution! |
When setting up our host machines I looked into using If anyone has any ideas as to how |
With an AWS ECR registry, it does indeed take hours to pull a new update, but I just chalked that up to pushing a 40GB image over the internet. In our workflow, it wouldn't happen very frequently, so I'm not really concerned if it takes a while, as long as it was reliable. @simonbs When you propagate changes using |
@jaylyerly There is no hooks in Tartelet. Our workflow is described in the wiki. |
We've just set up Tartelet and learned a lot about tart. This whole project is fantastic!
We're trying to figure out how to manage several physical machines running VMs with Tartelet and keep everything in sync.
We're using a registry to store our VM image which tart can access via pull / clone. But I'm not sure of the best way to propagate changes through the system automatically.
Would it be feasible to have Tartelet run a shell script before launching a runner when it's restarted? That would provide a hook to run some tart commands to pull the latest image from the registry.
Of course it would be nice to have a UI for this, but I'm afraid it's going to be specific to the registry. For example, we're using Amazon's ECR registry which requires authenticating via the
aws
cli tool before accessing the registry. It's simple enough to script, but impossible to build a UI around.I think this is a feature request to be able to run a script between stopping a runner and restarting it.
The text was updated successfully, but these errors were encountered: