Merge dagger.io/dagger/engine into dagger.io/dagger

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes
2022-02-16 18:37:16 +00:00
parent bf6d463833
commit c2766c265b
116 changed files with 658 additions and 750 deletions

View File

@@ -1,20 +1,20 @@
package main
import (
"dagger.io/dagger/engine"
"dagger.io/dagger"
)
engine.#Plan & {
dagger.#Plan & {
actions: {
image: engine.#Pull & {
image: dagger.#Pull & {
source: "alpine:3.15.0@sha256:e7d88de73db3d3fd9b2d63aa7f447a10fd0220b7cbf39803c803f2af9ba256b3"
}
exec: engine.#Exec & {
exec: dagger.#Exec & {
input: image.output
mounts: fs: {
dest: "/scratch"
contents: engine.#Scratch
contents: dagger.#Scratch
}
workdir: "/"
args: [

View File

@@ -1,14 +1,14 @@
package main
import (
"dagger.io/dagger/engine"
"dagger.io/dagger"
)
engine.#Plan & {
actions: build: engine.#Build & {
source: engine.#Scratch
dagger.#Plan & {
actions: build: dagger.#Build & {
source: dagger.#Scratch
dockerfile: contents: "FROM scratch"
// Assert that output is engine.#Scratch
output: engine.#Scratch
// Assert that output is dagger.#Scratch
output: dagger.#Scratch
}
}

View File

@@ -1,18 +1,18 @@
package main
import (
"dagger.io/dagger/engine"
"dagger.io/dagger"
)
engine.#Plan & {
dagger.#Plan & {
actions: {
write: engine.#WriteFile & {
input: engine.#Scratch
write: dagger.#WriteFile & {
input: dagger.#Scratch
path: "/testing"
contents: "1,2,3"
permissions: 700
}
readfile: engine.#ReadFile & {
readfile: dagger.#ReadFile & {
input: write.output
path: "/testing"
} & {