#dagger engine container name/metadata

1 messages · Page 1 of 1 (latest)

teal adder
#

Hello, is it possible to instruct dagger sdk to attach metadata or at minimum use custom name to the executed dagger engine container?

We are trying to use dagger inside eksisting CI that is managed by other team. They require us to delete any created container and its volume when running the CI to avoid storage getting full. Having metadata or custom name could help us in deleting only the engine that was started by the specific CI job.
We would like to prevent starting separated engine manually since that require us to maintain the version used inside CI script that is separated from the code repository that holds the dagger script.

thanks

wispy beacon
#

i think starting the engine yourselves is the only option at the moment sadly - you can however, grab the version from the cli using dagger version and use that version in there to download the right engine version so you don't need to store it separately