hey guys, me again. Probably missing something dumb here.... could use a pointer.
I've go ta simple module setup, and I'm trying to test out cache volume caching with dagger magicache. I've tinkered quite a bit, still not seeing my cache vol in the "configuration" page in cloud. I do see the traces from my pipeline run.
Steps I've taken.
- Completely nuke dagger engine/volume.
- export dagger cloud token
dagger call touch-file- check logs / cloud console
ubuntu@ip-10-64-32-26:~/tmp$ dagger version
dagger v0.11.4 (registry.dagger.io/engine) linux/amd64
My module.
package main
import (
"context"
)
type Test struct{}
func (m *Test) TouchFile(ctx context.Context) (string, error) {
mod := dag.CacheVolume("tobydumbtest")
return dag.Container().
From("alpine:latest").
WithMountedCache("/vol", mod).
WithExec([]string{"touch", "/vol/test"}).
Stdout(ctx)
}
Run in question if you have access there -> https://dagger.cloud/ourskyai/traces/9d8131b6c9e78a202a77c0c1bfe42a10#9abcdd8fc4ed1ae0