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,9 +1,11 @@
package main
import "dagger.io/dagger/engine"
import (
"dagger.io/dagger"
)
engine.#Plan & {
actions: badref: engine.#GitPull & {
dagger.#Plan & {
actions: badref: dagger.#GitPull & {
remote: "https://github.com/blocklayerhq/acme-clothing.git"
ref: "lalalalal"
}

View File

@@ -1,9 +1,11 @@
package main
import "dagger.io/dagger/engine"
import (
"dagger.io/dagger"
)
engine.#Plan & {
actions: badremote: engine.#GitPull & {
dagger.#Plan & {
actions: badremote: dagger.#GitPull & {
remote: "https://github.com/blocklayerhq/lalalala.git"
ref: "master"
}

View File

@@ -1,9 +1,11 @@
package main
import "dagger.io/dagger/engine"
import (
"dagger.io/dagger"
)
engine.#Plan & {
actions: gitPull: engine.#GitPull & {
dagger.#Plan & {
actions: gitPull: dagger.#GitPull & {
remote: "https://github.com/blocklayerhq/acme-clothing.git"
ref: "master"
}

View File

@@ -1,25 +1,27 @@
package testing
import "dagger.io/dagger/engine"
import (
"dagger.io/dagger"
)
engine.#Plan & {
dagger.#Plan & {
actions: {
repo1: engine.#GitPull & {
repo1: dagger.#GitPull & {
remote: "https://github.com/blocklayerhq/acme-clothing.git"
ref: "master"
}
repo2: engine.#GitPull & {
repo2: dagger.#GitPull & {
remote: "https://github.com/blocklayerhq/acme-clothing.git"
ref: "master"
keepGitDir: true
}
image: engine.#Pull & {
image: dagger.#Pull & {
source: "alpine:3.15.0"
}
verify: engine.#Exec & {
verify: dagger.#Exec & {
input: image.output
args: ["sh", "-c", """
set -eu

View File

@@ -1,7 +1,9 @@
package main
import "dagger.io/dagger/engine"
import (
"dagger.io/dagger"
)
engine.#Plan & {
actions: invalid: engine.#GitPull & {}
dagger.#Plan & {
actions: invalid: dagger.#GitPull & {}
}

View File

@@ -2,10 +2,9 @@ package main
import (
"dagger.io/dagger"
"dagger.io/dagger/engine"
)
engine.#Plan & {
dagger.#Plan & {
inputs: secrets: sops: command: {
name: "sops"
args: ["-d", "../../secrets_sops.yaml"]
@@ -13,7 +12,7 @@ engine.#Plan & {
actions: {
alpine: engine.#Pull & {
alpine: dagger.#Pull & {
source: "alpine:3.15.0"
}
@@ -22,7 +21,7 @@ engine.#Plan & {
input: inputs.secrets.sops.contents
}
testRepo: engine.#GitPull & {
testRepo: dagger.#GitPull & {
remote: "https://github.com/dagger/dagger.git"
ref: "main"
auth: {
@@ -31,7 +30,7 @@ engine.#Plan & {
}
}
testContent: engine.#Exec & {
testContent: dagger.#Exec & {
input: alpine.output
always: true
args: ["ls", "-l", "/repo/README.md"]