Closed
Description
With the following:
package acme
import (
"dagger.cloud/dagger"
"dagger.cloud/alpine"
)
let base=alpine & {
package: {
bash: ">3.0"
rsync: true
}
}
www: {
source: {
#dagger: compute: [
dagger.#Load & { from: base },
dagger.#Exec & {
args: ["sh", "-c", "echo", "shouldseeme"]
// XXX workaround exec not working without a mount
mount: foo: {}
}
]
}
host: string
}
And running
DEBUG=1 DOCKER_OUTPUT=1 dagger compute .
The string "shouldseeme" should be visible somewhere in the logs, right?
Metadata
Metadata
Assignees
Labels
No labels
Activity
aluzzardi commentedon Jan 12, 2021
Was the exec cached by any chance? You should see a
cachedmessage in the logs. You can force it to always run by addingalways: truein the exec statement.dubo-dubon-duponey commentedon Jan 12, 2021
I don't think it was cached. I also tested changing the string in the echo to make sure the cache is busted (?), but still the same.
I also just tested with
always: true- nothing shown.dubo-dubon-duponey commentedon Jan 13, 2021
Seems to be working now on latest master. Will confirm soon.
dubo-dubon-duponey commentedon Jan 13, 2021
Confirmed, it's working now (side-effect of other fixes?). Closing then.
add ci (#7)
Generate scalar type and no explict get id before pass to function
Import Elixir SDK as Experimental (#5201)
Merge pull request dagger#7 from kpenfound/update_getting_started_con…
fix: support macos arm64 architure by cli downloader (#7)
Merge pull request #5504 from gerhard/import-sdk-java
Merge pull request dagger#7 from vikram-dagger/jnd-intro-2