removed dagger up in favor of dagger do

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones
2022-03-09 11:45:46 -07:00
parent 945b7293af
commit 6b81dc439d
34 changed files with 286 additions and 536 deletions

View File

@@ -10,7 +10,7 @@ import (
dagger.#Plan & {
client: filesystem: "./data/hello": read: contents: dagger.#FS
actions: tests: build: {
actions: test: {
_baseImage: alpine.#Build
simple: {

View File

@@ -7,7 +7,7 @@ import (
)
dagger.#Plan & {
actions: tests: container: {
actions: test: {
_source: dagger.#Scratch & {}
simple: go.#Container & {

View File

@@ -7,7 +7,7 @@ import (
)
dagger.#Plan & {
actions: tests: image: {
actions: test: {
_source: dagger.#Scratch & {}
simple: {

View File

@@ -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
}

View File

@@ -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"
}