Comments (6)
Can you paste the output of dagger compute
?
from dagger.
Looks like fetch-container
does not trigger a solve unless followed by exec/export or something else
from dagger.
@aluzzardi it does not seem to do anything when followed by an exec either.
from dagger.
Correct, there is an issue of solve
calls being too lazy, I am working on it now.
from dagger.
dmp@macArena:~/Projects/Go/src/github.com/blocklayerhq/dagger$ make dagger; DEBUG=1 DOCKER_OUTPUT=1 ./cmd/dagger/dagger compute examples/simple/
go build -o ./cmd/dagger/ ./cmd/dagger/
[info] Running
client: assembled boot script: [{
do: "local"
dir: "examples/simple/"
include: ["*.cue", "cue.mod"]
}]
Walk close({
#FetchContainer | #FetchGit | #Export | #Exec | #Local | #Copy | #Load
do: "local"
dir: bootdir
include: ["*.cue", "cue.mod"]
})
NewEnv(boot="[{\n\tdo: \"local\"\n\tdir: \"examples/simple/\"\n\tinclude: [\"*.cue\", \"cue.mod\"]\n}]" input="{}")
#Op: OP MATCH: #Local
building cue configuration from boot state
Compiler.Build
status event: vertexes:1 statuses:0 logs:0
status event: vertexes:1 statuses:0 logs:0
status event: vertexes:1 statuses:0 logs:0
status event: vertexes:0 statuses:1 logs:0
status event: vertexes:0 statuses:1 logs:0
status event: vertexes:0 statuses:1 logs:0
status event: vertexes:1 statuses:0 logs:0
Compiler.Build: processing "/cue.mod"
Compiler.Build: processing "/cue.mod/module.cue"
status event: vertexes:1 statuses:0 logs:0
status event: vertexes:1 statuses:0 logs:0
Compiler.Build: processing "/cue.mod/pkg"
Compiler.Build: processing "/cue.mod/pkg/dagger.cloud"
Compiler.Build: processing "/cue.mod/pkg/dagger.cloud/alpine"
Compiler.Build: processing "/cue.mod/pkg/dagger.cloud/alpine/alpine.cue"
status event: vertexes:1 statuses:0 logs:0
status event: vertexes:1 statuses:0 logs:0
#1 local://examples/simple/
#1 sha256:9eb7d32913c97b3f41f00ad0c48ed76467bf4571e548e1f7895b0fc5a85bc08c
#1 transferring examples/simple/: 426B done
#1 DONE 0.0s
#2 local://examples/simple/
#2 sha256:710ef0054f7ee3bfb14ade58e1948d25b8f103d48b00a6c7699b282e149e97cb
#2 DONE 0.0s
Compiler.Build: processing "/cue.mod/pkg/dagger.cloud/dagger"
Compiler.Build: processing "/cue.mod/pkg/dagger.cloud/dagger/dagger.cue"
status event: vertexes:1 statuses:0 logs:0
status event: vertexes:1 statuses:0 logs:0
Compiler.Build: processing "/simple.cue"
status event: vertexes:1 statuses:0 logs:0
status event: vertexes:1 statuses:0 logs:0
Compiler.Build: processing "/values.cue"
status event: vertexes:1 statuses:0 logs:0
status event: vertexes:1 statuses:0 logs:0
COMPLETE: Compiler.Build
Loading input overlay
ENV: base="{\"www\":{\"host\":\"acme.infralabs.io\",\"source\":{}}}" input="{}"
computing env
Computing environment
Env.Walk
walking:
----
{"www":{"host":"acme.infralabs.io","source":{}}}
----
Env.Walk: processing
Env.Walk: processing www
Env.Walk: processing www.source
Env.Walk: processing www.host
Env.Walk: processing www.url
compute step
[Env.Compute] processing www.url
[Env.Compute] processing www.source
compute step
cueflow task "www.url": Terminated
cueflow task "www.url": filling result
#Op: OP MATCH: #FetchContainer
#Op: OP MATCH: #Exec
compute step
cueflow task "www.source": Terminated
cueflow task "www.source": filling result
COMPLETE: Env.Walk
exporting env
#3 local://examples/simple/
#3 sha256:0b4b953387b86cd1a615346343f7d4dd9311cf8f89b9b6592fe2203cb3c0ba99
#3 DONE 0.0s
#4 local://examples/simple/
#4 sha256:5e78510151650b54b885283fb2d34eea10b83fd9716777bf18cc76d753bba136
status event: vertexes:3 statuses:0 logs:0
#4 DONE 0.0s
#5 local://examples/simple/
#5 sha256:d599bf9dd0395c698c324156bba9becb653dc83307cc2bf07fe3f05540e7f685
#5 DONE 0.0s
#6 local://examples/simple/
#6 sha256:7fcdec0181c1c95c26949e783f111e56bf53e76567dd4cbdecb7a28e523e9b4b
#6 DONE 0.0s
status event: vertexes:1 statuses:0 logs:0
status event: vertexes:2 statuses:0 logs:0
status event: vertexes:1 statuses:0 logs:0
status event: vertexes:0 statuses:1 logs:0
outputfn: compiling & merging "base.cue"
outputfn: DONE: compiling & merging "base.cue"
outputfn: compiling & merging "input.cue"
outputfn: DONE: compiling & merging "input.cue"
outputfn: compiling & merging "output.cue"
outputfn: DONE: compiling & merging "output.cue"
outputfn complete
status event: vertexes:0 statuses:1 logs:0
status event: vertexes:1 statuses:0 logs:0
printfn complete
#7 mkfile /base.cue
#7 sha256:d06d1c9da5199057cc14aa3d1c307dd39aeaec9143191c1abbaa8520c76b7406
#7 DONE 0.0s
#8 mkfile /input.cue
#8 sha256:22c4f45773082c56a3998693382991660bca0374e919a03f0fe14ffc92170890
#8 CACHED
#9 mkfile /output.cue
#9 sha256:2ee6dcfb489e06790a658da8f6032c5fab59e48432a54ab02f837383b4995175
#9 CACHED
#10 exporting to client
#10 sha256:b60a1292d407630dbb741f28ab6ea4ce3cca872ac28eeee56f4e66a182eca4bc
#10 sending tarball done
#10 DONE 0.0s
dockerprintfn complete
[info] Processing output
{"www":{"host":"acme.infralabs.io","source":{}}}
from dagger.
Confirming that was the issue. I have a fix, will push shortly.
from dagger.
Related Issues (20)
- Dagger cloud cannot be configured without caching HOT 3
- 🐞 Functions local context seems to be randomly uploaded.
- 🐞 `dagger develop --sdk=go` fails if there is a go.mod with go 1.22 HOT 5
- 🐞 Since v0.11.0 `dagger version` returns a warning when used in a git worktree HOT 1
- 🖐️ Does Dagger support pipeline operation cache invalidation yet? HOT 1
- 🐞 Codegen changing causing inconsistent func names across Go SDK module and dependency in case of protocol in name HOT 1
- TypeScript SDK performance improvement HOT 7
- 🐞 Kubernetes integration docs + helm chart need to be updated to the latest version HOT 3
- ✨ Only start bound services if all containers involved are cached
- 🐞 Dockerfile build support doesn't produce any outputs HOT 1
- 🐞 On Windows, 'dagger init' fails if it does not find or create certain expected files HOT 2
- 🐞 On Windows, if dagger.json exists, 'dagger init' fails with a duplicate message HOT 2
- Disable buildkit scheduler debug logs once no longer needed
- Search the Daggerverse from the CLI
- CLI: calling 'export' just prints 'true' HOT 6
- CLI: `export` should default to temporary file or directory
- Document how to get logs out of a service HOT 1
- ✨ Output in automatic provisioning like 0.10 HOT 5
- 🐞 Python Telemetry: detect when to configure from environment
- Enable nested exec by default HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dagger.