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,16 +1,16 @@
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
args: [
"sh", "-c",
@@ -20,7 +20,7 @@ engine.#Plan & {
]
}
verify_file: engine.#ReadFile & {
verify_file: dagger.#ReadFile & {
input: exec.output
path: "/output.txt"
} & {
@@ -28,14 +28,14 @@ engine.#Plan & {
contents: "hello world"
}
copy: engine.#Copy & {
copy: dagger.#Copy & {
input: image.output
contents: exec.output
source: "/output.txt"
dest: "/output.txt"
}
verify_copy: engine.#ReadFile & {
verify_copy: dagger.#ReadFile & {
input: copy.output
path: "/output.txt"
} & {

View File

@@ -1,16 +1,16 @@
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
args: [
"sh", "-c",
@@ -20,7 +20,7 @@ engine.#Plan & {
]
}
verify_file: engine.#ReadFile & {
verify_file: dagger.#ReadFile & {
input: exec.output
path: "/output.txt"
} & {
@@ -28,13 +28,13 @@ engine.#Plan & {
contents: "hello world from dagger"
}
copy: engine.#Copy & {
copy: dagger.#Copy & {
input: image.output
contents: exec.output
source: "/output.txt"
dest: "/output.txt"
}
verify_copy: engine.#ReadFile & {
verify_copy: dagger.#ReadFile & {
input: copy.output
path: "/output.txt"
} & {

View File

@@ -1,20 +1,20 @@
package main
import (
"dagger.io/dagger/engine"
"dagger.io/dagger"
)
engine.#Plan & {
dagger.#Plan & {
actions: {
alpine3_15_0: engine.#Pull & {
alpine3_15_0: dagger.#Pull & {
source: "alpine:3.15.0@sha256:e7d88de73db3d3fd9b2d63aa7f447a10fd0220b7cbf39803c803f2af9ba256b3"
}
busybox1_34_1: engine.#Pull & {
busybox1_34_1: dagger.#Pull & {
source: "busybox:1.34.1-glibc@sha256:ec98391b8f0911db08be2ee6c46813eeac17b9625b402ea1ce45dcfcd05d78d6"
}
verify_alpine_3_15_0: engine.#ReadFile & {
verify_alpine_3_15_0: dagger.#ReadFile & {
input: alpine3_15_0.output
path: "/etc/alpine-release"
} & {
@@ -22,14 +22,14 @@ engine.#Plan & {
contents: "3.15.0\n"
}
copy: engine.#Copy & {
copy: dagger.#Copy & {
input: busybox1_34_1.output
contents: alpine3_15_0.output
source: "/etc/alpine-release"
dest: "/alpine3_15_0_release"
}
verify_copy: engine.#ReadFile & {
verify_copy: dagger.#ReadFile & {
input: copy.output
path: "/alpine3_15_0_release"
} & {