removed dagger up in favor of dagger do
Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
dagger.#Plan & {
|
||||
client: filesystem: "./data/hello": read: contents: dagger.#FS
|
||||
|
||||
actions: tests: build: {
|
||||
actions: test: {
|
||||
_baseImage: alpine.#Build
|
||||
|
||||
simple: {
|
||||
|
@@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
actions: tests: container: {
|
||||
actions: test: {
|
||||
_source: dagger.#Scratch & {}
|
||||
|
||||
simple: go.#Container & {
|
||||
|
@@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
actions: tests: image: {
|
||||
actions: test: {
|
||||
_source: dagger.#Scratch & {}
|
||||
|
||||
simple: {
|
||||
|
@@ -5,8 +5,8 @@ setup() {
|
||||
}
|
||||
|
||||
@test "bash" {
|
||||
dagger up ./build.cue
|
||||
dagger up ./container.cue
|
||||
dagger up ./image.cue
|
||||
dagger up ./test.cue
|
||||
dagger "do" -p ./build.cue test
|
||||
dagger "do" -p ./container.cue test
|
||||
dagger "do" -p ./image.cue test
|
||||
dagger "do" -p ./test.cue test
|
||||
}
|
||||
|
@@ -8,7 +8,7 @@ import (
|
||||
dagger.#Plan & {
|
||||
client: filesystem: "./data/hello": read: contents: dagger.#FS
|
||||
|
||||
actions: tests: test: simple: go.#Test & {
|
||||
actions: test: go.#Test & {
|
||||
source: client.filesystem."./data/hello".read.contents
|
||||
package: "./greeting"
|
||||
}
|
||||
|
Reference in New Issue
Block a user