-
Notifications
You must be signed in to change notification settings - Fork 19
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
Can cirrus-cli be run locally to preserve an artifact built in a tart image (without using cirrus cloud CI)? #526
Comments
As far as I remember the CLI locally ignored artifact instructions (@edigaryev correct me if I'm wrong). CLI locally inly supports caches (it stores them locally) and annotations (can print out annotation in GHA format #500, for example). Ideally once we have folder sharing for Tart cirruslabs/tart#13 once Ventura is out we'll be able to support Alternatively, we can support an argument like |
Thanks @fkorotkov! This makes sense. Being able to produce an artifact in a Tart image and then get it out of it to the host would be amazing. My use case is very similar to what one would use Docker for -- mount a directory, run a container, build something and write into the mounted directory, exit the container. Now you have an artifact created. If waiting for Ventura and then adding the support for it via the mounting operations would be most reasonable from the design perspective, I'm happy to wait. Otherwise, unless there's a lot of work, having some other mechanism to get the artifacts out (e.g. with something like - |
We'll definitely will support the IMO a separate option might be useful for use cases where you have several tasks producing artifacts with the same path (for example, for different version of macOS or some package). With dirty mode such tasks will override each other artifacts but having |
@fkorotkov @edigaryev thank you so much for adding the |
The cirrus-cli tool looks amazing, this is going to be hugely useful. I have a tart image available locally and this configuration file:
After completing running
cirrus run -o simple
, it says:I am struggling to find out where the binary file go? I.e. how do I get it on the machine where I ran the
cirrus run
command. The docs are focused on CI use case. Is this at all supported to be run locally?The text was updated successfully, but these errors were encountered: