From 2569e76eeb98b0d61effc20585e8f88ffa0f06d3 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 10 Dec 2021 16:06:14 -0700 Subject: [PATCH 1/9] implemented services unix and npipe complete with test Signed-off-by: Richard Jones --- plan/task/service.go | 45 +++++++++++++++++++++++ stdlib/europa/dagger/engine/plan.cue | 10 +++++ tests/plan.bats | 10 ++++- tests/plan/context/services/unix/main.cue | 16 ++++++++ 4 files changed, 79 insertions(+), 2 deletions(-) create mode 100644 plan/task/service.go create mode 100644 tests/plan/context/services/unix/main.cue diff --git a/plan/task/service.go b/plan/task/service.go new file mode 100644 index 00000000..09e31cb8 --- /dev/null +++ b/plan/task/service.go @@ -0,0 +1,45 @@ +package task + +import ( + "context" + "errors" + + "cuelang.org/go/cue" + "github.com/rs/zerolog/log" + "go.dagger.io/dagger/compiler" + "go.dagger.io/dagger/plancontext" + "go.dagger.io/dagger/solver" +) + +func init() { + Register("Service", func() Task { return &serviceTask{} }) +} + +type serviceTask struct { +} + +func (c serviceTask) Run(ctx context.Context, pctx *plancontext.Context, s solver.Solver, v *compiler.Value) (*compiler.Value, error) { + unix, _ := v.LookupPath(cue.ParsePath("unix")).String() + npipe, _ := v.LookupPath(cue.ParsePath("npipe")).String() + + if unix == "" && npipe == "" { + return nil, errors.New("invalid service") + } + + lg := log.Ctx(ctx).Debug() + + if unix != "" { + lg.Str("unix", unix) + } else if npipe != "" { + lg.Str("npipe", npipe) + } + + lg.Msg("loading service") + + service := pctx.Services.New(unix, npipe) + out := compiler.NewValue() + if err := out.FillPath(cue.ParsePath("service"), service.MarshalCUE()); err != nil { + return nil, err + } + return out, nil +} diff --git a/stdlib/europa/dagger/engine/plan.cue b/stdlib/europa/dagger/engine/plan.cue index 1d9b776e..a5ac386a 100644 --- a/stdlib/europa/dagger/engine/plan.cue +++ b/stdlib/europa/dagger/engine/plan.cue @@ -38,4 +38,14 @@ package engine envvar: string } } + + services: [string]: { + service: #Service + _type: "Service" + { + unix: string + } | { + npipe: string + } + } } diff --git a/tests/plan.bats b/tests/plan.bats index d2c16fd6..0f5c35cc 100644 --- a/tests/plan.bats +++ b/tests/plan.bats @@ -7,6 +7,12 @@ setup() { @test "plan: hello" { # Europa loader handles the cwd differently, therefore we need to CD into the tree at or below the parent of cue.mod cd "$TESTDIR" - run "$DAGGER" --europa up ./plan/hello-europa - assert_success + "$DAGGER" --europa up ./plan/hello-europa +} + +@test "plan: unix socket" { + cd "$TESTDIR" + "$DAGGER" --europa up ./plan/hello-europa + run curl http://localhost:8080 + assert_output --partial "Hello World" } \ No newline at end of file diff --git a/tests/plan/context/services/unix/main.cue b/tests/plan/context/services/unix/main.cue new file mode 100644 index 00000000..7c33e0a0 --- /dev/null +++ b/tests/plan/context/services/unix/main.cue @@ -0,0 +1,16 @@ +package main + +import ( + "alpha.dagger.io/dagger/engine" + "alpha.dagger.io/docker" +) + +engine.#Plan & { + context: services: dockerSocket: unix: "/var/run/docker.sock" + actions: nginx: docker.#Run & { + ref: "nginxdemos/nginx-hello" + name: "nginx-hello" + ports: ["8080:8080"] + socket: context.services.dockerSocket.service + } +} From 94ed741320476492d776998ccfb7f249f6f1a074 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 10 Dec 2021 16:10:06 -0700 Subject: [PATCH 2/9] cleanup container after test Signed-off-by: Richard Jones --- tests/plan.bats | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/plan.bats b/tests/plan.bats index 0f5c35cc..cdb8ea53 100644 --- a/tests/plan.bats +++ b/tests/plan.bats @@ -15,4 +15,5 @@ setup() { "$DAGGER" --europa up ./plan/hello-europa run curl http://localhost:8080 assert_output --partial "Hello World" + docker rm -f nginx-hello } \ No newline at end of file From a78b84429d3300ee5f37f3dfe38e3ad91fbff4e9 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 13 Dec 2021 11:15:57 -0700 Subject: [PATCH 3/9] refactored to follow the original stream test Signed-off-by: Richard Jones --- tests/plan.bats | 5 +---- tests/plan/context/services/unix/main.cue | 21 +++++++++++++++------ 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/tests/plan.bats b/tests/plan.bats index cdb8ea53..87fd15a0 100644 --- a/tests/plan.bats +++ b/tests/plan.bats @@ -12,8 +12,5 @@ setup() { @test "plan: unix socket" { cd "$TESTDIR" - "$DAGGER" --europa up ./plan/hello-europa - run curl http://localhost:8080 - assert_output --partial "Hello World" - docker rm -f nginx-hello + "$DAGGER" --europa up ./plan/context/services/unix } \ No newline at end of file diff --git a/tests/plan/context/services/unix/main.cue b/tests/plan/context/services/unix/main.cue index 7c33e0a0..5c521f8e 100644 --- a/tests/plan/context/services/unix/main.cue +++ b/tests/plan/context/services/unix/main.cue @@ -2,15 +2,24 @@ package main import ( "alpha.dagger.io/dagger/engine" - "alpha.dagger.io/docker" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" ) engine.#Plan & { context: services: dockerSocket: unix: "/var/run/docker.sock" - actions: nginx: docker.#Run & { - ref: "nginxdemos/nginx-hello" - name: "nginx-hello" - ports: ["8080:8080"] - socket: context.services.dockerSocket.service + + actions: { + load: op.#Load & { + from: alpine.#Image & { + package: "docker-cli": true + } + } + + exec: op.#Exec & { + always: true + mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service + args: ["docker", "info"] + } } } From 6ca81dacf9f7893ec2721438de59844cb8498a15 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 13 Dec 2021 12:45:38 -0700 Subject: [PATCH 4/9] refactored log handling Signed-off-by: Richard Jones --- plan/task/service.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/plan/task/service.go b/plan/task/service.go index 09e31cb8..6f735427 100644 --- a/plan/task/service.go +++ b/plan/task/service.go @@ -26,16 +26,14 @@ func (c serviceTask) Run(ctx context.Context, pctx *plancontext.Context, s solve return nil, errors.New("invalid service") } - lg := log.Ctx(ctx).Debug() + lg := log.Ctx(ctx) if unix != "" { - lg.Str("unix", unix) + lg.Debug().Str("unix", unix).Msg("loading service") } else if npipe != "" { - lg.Str("npipe", npipe) + lg.Debug().Str("npipe", npipe).Msg("loading service") } - lg.Msg("loading service") - service := pctx.Services.New(unix, npipe) out := compiler.NewValue() if err := out.FillPath(cue.ParsePath("service"), service.MarshalCUE()); err != nil { From ceb1827526dbdb0c38a5153a99ca79ff8056422e Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 13 Dec 2021 12:52:08 -0700 Subject: [PATCH 5/9] cue fmt Signed-off-by: Richard Jones --- tests/plan/context/services/unix/main.cue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/plan/context/services/unix/main.cue b/tests/plan/context/services/unix/main.cue index 5c521f8e..2e3b377f 100644 --- a/tests/plan/context/services/unix/main.cue +++ b/tests/plan/context/services/unix/main.cue @@ -3,7 +3,7 @@ package main import ( "alpha.dagger.io/dagger/engine" "alpha.dagger.io/dagger/op" - "alpha.dagger.io/alpine" + "alpha.dagger.io/alpine" ) engine.#Plan & { From e65b3cfa4a0dac0d48b1aa7759ce1f4c7c6dff28 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 14 Dec 2021 14:28:29 -0700 Subject: [PATCH 6/9] refactored to handle errors better Signed-off-by: Richard Jones --- plan/task/service.go | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/plan/task/service.go b/plan/task/service.go index 6f735427..4c2d152b 100644 --- a/plan/task/service.go +++ b/plan/task/service.go @@ -19,8 +19,23 @@ type serviceTask struct { } func (c serviceTask) Run(ctx context.Context, pctx *plancontext.Context, s solver.Solver, v *compiler.Value) (*compiler.Value, error) { - unix, _ := v.LookupPath(cue.ParsePath("unix")).String() - npipe, _ := v.LookupPath(cue.ParsePath("npipe")).String() + var unix, npipe string + var stringErr error + + unixV := v.Lookup("unix") + npipeV := v.Lookup("npipe") + + if unixV.Exists() && unixV.IsConcrete() { + unix, stringErr = unixV.String() + } + + if npipeV.Exists() && npipeV.IsConcrete() { + npipe, stringErr = npipeV.String() + } + + if stringErr != nil { + return nil, stringErr + } if unix == "" && npipe == "" { return nil, errors.New("invalid service") From c4225121551d9da04adb471b13943a864989af61 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 14 Dec 2021 14:29:20 -0700 Subject: [PATCH 7/9] fixed test, and added more failure modes Signed-off-by: Richard Jones --- tests/plan.bats | 30 +++++++++++++++++-- .../context/services/incomplete_service.cue | 28 +++++++++++++++++ .../plan/context/services/incomplete_unix.cue | 28 +++++++++++++++++ .../plan/context/services/invalid_schema.cue | 28 +++++++++++++++++ tests/plan/context/services/invalid_value.cue | 28 +++++++++++++++++ tests/plan/context/services/unix.cue | 28 +++++++++++++++++ tests/plan/context/services/unix/main.cue | 25 ---------------- 7 files changed, 167 insertions(+), 28 deletions(-) create mode 100644 tests/plan/context/services/incomplete_service.cue create mode 100644 tests/plan/context/services/incomplete_unix.cue create mode 100644 tests/plan/context/services/invalid_schema.cue create mode 100644 tests/plan/context/services/invalid_value.cue create mode 100644 tests/plan/context/services/unix.cue delete mode 100644 tests/plan/context/services/unix/main.cue diff --git a/tests/plan.bats b/tests/plan.bats index 87fd15a0..f99567ef 100644 --- a/tests/plan.bats +++ b/tests/plan.bats @@ -4,13 +4,37 @@ setup() { common_setup } -@test "plan: hello" { +@test "plan/hello" { # Europa loader handles the cwd differently, therefore we need to CD into the tree at or below the parent of cue.mod cd "$TESTDIR" "$DAGGER" --europa up ./plan/hello-europa } -@test "plan: unix socket" { +@test "plan/context/services invalid schema" { cd "$TESTDIR" - "$DAGGER" --europa up ./plan/context/services/unix + run "$DAGGER" --europa up ./plan/context/services/invalid_schema.cue + assert_failure +} + +@test "plan/context/services invalid value" { + cd "$TESTDIR" + run "$DAGGER" --europa up ./plan/context/services/invalid_value.cue + assert_failure +} + +@test "plan/context/services incomplete unix" { + cd "$TESTDIR" + run "$DAGGER" --europa up ./plan/context/services/incomplete_unix.cue + assert_failure +} + +@test "plan/context/services incomplete service" { + cd "$TESTDIR" + run "$DAGGER" --europa up ./plan/context/services/incomplete_service.cue + assert_output --partial "pipeline was partially executed because of missing inputs" +} + +@test "plan/context/services unix" { + cd "$TESTDIR" + "$DAGGER" --europa up ./plan/context/services/unix.cue } \ No newline at end of file diff --git a/tests/plan/context/services/incomplete_service.cue b/tests/plan/context/services/incomplete_service.cue new file mode 100644 index 00000000..d21d9b69 --- /dev/null +++ b/tests/plan/context/services/incomplete_service.cue @@ -0,0 +1,28 @@ +package main + +import ( + "alpha.dagger.io/dagger/engine" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" +) + +engine.#Plan & { + // should fail + context: services: dockerSocket: {} + + actions: { + test: #up: [ + op.#Load & { + from: alpine.#Image & { + package: "docker-cli": true + } + }, + + op.#Exec & { + always: true + mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service + args: ["docker", "info"] + } + ] + } +} diff --git a/tests/plan/context/services/incomplete_unix.cue b/tests/plan/context/services/incomplete_unix.cue new file mode 100644 index 00000000..02a6befa --- /dev/null +++ b/tests/plan/context/services/incomplete_unix.cue @@ -0,0 +1,28 @@ +package main + +import ( + "alpha.dagger.io/dagger/engine" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" +) + +engine.#Plan & { + // should succeed + context: services: dockerSocket: unix: string + + actions: { + test: #up: [ + op.#Load & { + from: alpine.#Image & { + package: "docker-cli": true + } + }, + + op.#Exec & { + always: true + mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service + args: ["docker", "info"] + } + ] + } +} diff --git a/tests/plan/context/services/invalid_schema.cue b/tests/plan/context/services/invalid_schema.cue new file mode 100644 index 00000000..3e9ce40a --- /dev/null +++ b/tests/plan/context/services/invalid_schema.cue @@ -0,0 +1,28 @@ +package main + +import ( + "alpha.dagger.io/dagger/engine" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" +) + +engine.#Plan & { + // should fail because of misspelled key + context: services: dockerSocket: unx: "/var/run/docker.soc" + + actions: { + test: #up: [ + op.#Load & { + from: alpine.#Image & { + package: "docker-cli": true + } + }, + + op.#Exec & { + always: true + mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service + args: ["docker", "info"] + } + ] + } +} diff --git a/tests/plan/context/services/invalid_value.cue b/tests/plan/context/services/invalid_value.cue new file mode 100644 index 00000000..a3479c1c --- /dev/null +++ b/tests/plan/context/services/invalid_value.cue @@ -0,0 +1,28 @@ +package main + +import ( + "alpha.dagger.io/dagger/engine" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" +) + +engine.#Plan & { + // should fail because of misspelled value + context: services: dockerSocket: unix: "/var/run/docker.soc" + + actions: { + test: #up: [ + op.#Load & { + from: alpine.#Image & { + package: "docker-cli": true + } + }, + + op.#Exec & { + always: true + mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service + args: ["docker", "info"] + } + ] + } +} diff --git a/tests/plan/context/services/unix.cue b/tests/plan/context/services/unix.cue new file mode 100644 index 00000000..b333536c --- /dev/null +++ b/tests/plan/context/services/unix.cue @@ -0,0 +1,28 @@ +package main + +import ( + "alpha.dagger.io/dagger/engine" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" +) + +engine.#Plan & { + // should succeed + context: services: dockerSocket: unix: "/var/run/docker.sock" + + actions: { + test: #up: [ + op.#Load & { + from: alpine.#Image & { + package: "docker-cli": true + } + }, + + op.#Exec & { + always: true + mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service + args: ["docker", "info"] + } + ] + } +} diff --git a/tests/plan/context/services/unix/main.cue b/tests/plan/context/services/unix/main.cue deleted file mode 100644 index 2e3b377f..00000000 --- a/tests/plan/context/services/unix/main.cue +++ /dev/null @@ -1,25 +0,0 @@ -package main - -import ( - "alpha.dagger.io/dagger/engine" - "alpha.dagger.io/dagger/op" - "alpha.dagger.io/alpine" -) - -engine.#Plan & { - context: services: dockerSocket: unix: "/var/run/docker.sock" - - actions: { - load: op.#Load & { - from: alpine.#Image & { - package: "docker-cli": true - } - } - - exec: op.#Exec & { - always: true - mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service - args: ["docker", "info"] - } - } -} From 760143372989de018a967bb3d13169988c0f4d44 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 14 Dec 2021 14:30:32 -0700 Subject: [PATCH 8/9] cue fmt Signed-off-by: Richard Jones --- .../context/services/incomplete_service.cue | 28 +++++++++---------- .../plan/context/services/incomplete_unix.cue | 28 +++++++++---------- .../plan/context/services/invalid_schema.cue | 28 +++++++++---------- tests/plan/context/services/invalid_value.cue | 28 +++++++++---------- tests/plan/context/services/unix.cue | 28 +++++++++---------- 5 files changed, 65 insertions(+), 75 deletions(-) diff --git a/tests/plan/context/services/incomplete_service.cue b/tests/plan/context/services/incomplete_service.cue index d21d9b69..44bb7507 100644 --- a/tests/plan/context/services/incomplete_service.cue +++ b/tests/plan/context/services/incomplete_service.cue @@ -7,22 +7,20 @@ import ( ) engine.#Plan & { - // should fail + // should fail context: services: dockerSocket: {} - actions: { - test: #up: [ - op.#Load & { - from: alpine.#Image & { - package: "docker-cli": true - } - }, + actions: test: #up: [ + op.#Load & { + from: alpine.#Image & { + package: "docker-cli": true + } + }, - op.#Exec & { - always: true - mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service - args: ["docker", "info"] - } - ] - } + op.#Exec & { + always: true + mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service + args: ["docker", "info"] + }, + ] } diff --git a/tests/plan/context/services/incomplete_unix.cue b/tests/plan/context/services/incomplete_unix.cue index 02a6befa..3481f714 100644 --- a/tests/plan/context/services/incomplete_unix.cue +++ b/tests/plan/context/services/incomplete_unix.cue @@ -7,22 +7,20 @@ import ( ) engine.#Plan & { - // should succeed + // should succeed context: services: dockerSocket: unix: string - actions: { - test: #up: [ - op.#Load & { - from: alpine.#Image & { - package: "docker-cli": true - } - }, + actions: test: #up: [ + op.#Load & { + from: alpine.#Image & { + package: "docker-cli": true + } + }, - op.#Exec & { - always: true - mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service - args: ["docker", "info"] - } - ] - } + op.#Exec & { + always: true + mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service + args: ["docker", "info"] + }, + ] } diff --git a/tests/plan/context/services/invalid_schema.cue b/tests/plan/context/services/invalid_schema.cue index 3e9ce40a..1df44e38 100644 --- a/tests/plan/context/services/invalid_schema.cue +++ b/tests/plan/context/services/invalid_schema.cue @@ -7,22 +7,20 @@ import ( ) engine.#Plan & { - // should fail because of misspelled key + // should fail because of misspelled key context: services: dockerSocket: unx: "/var/run/docker.soc" - actions: { - test: #up: [ - op.#Load & { - from: alpine.#Image & { - package: "docker-cli": true - } - }, + actions: test: #up: [ + op.#Load & { + from: alpine.#Image & { + package: "docker-cli": true + } + }, - op.#Exec & { - always: true - mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service - args: ["docker", "info"] - } - ] - } + op.#Exec & { + always: true + mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service + args: ["docker", "info"] + }, + ] } diff --git a/tests/plan/context/services/invalid_value.cue b/tests/plan/context/services/invalid_value.cue index a3479c1c..b255408d 100644 --- a/tests/plan/context/services/invalid_value.cue +++ b/tests/plan/context/services/invalid_value.cue @@ -7,22 +7,20 @@ import ( ) engine.#Plan & { - // should fail because of misspelled value + // should fail because of misspelled value context: services: dockerSocket: unix: "/var/run/docker.soc" - actions: { - test: #up: [ - op.#Load & { - from: alpine.#Image & { - package: "docker-cli": true - } - }, + actions: test: #up: [ + op.#Load & { + from: alpine.#Image & { + package: "docker-cli": true + } + }, - op.#Exec & { - always: true - mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service - args: ["docker", "info"] - } - ] - } + op.#Exec & { + always: true + mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service + args: ["docker", "info"] + }, + ] } diff --git a/tests/plan/context/services/unix.cue b/tests/plan/context/services/unix.cue index b333536c..f6283ee3 100644 --- a/tests/plan/context/services/unix.cue +++ b/tests/plan/context/services/unix.cue @@ -7,22 +7,20 @@ import ( ) engine.#Plan & { - // should succeed + // should succeed context: services: dockerSocket: unix: "/var/run/docker.sock" - actions: { - test: #up: [ - op.#Load & { - from: alpine.#Image & { - package: "docker-cli": true - } - }, + actions: test: #up: [ + op.#Load & { + from: alpine.#Image & { + package: "docker-cli": true + } + }, - op.#Exec & { - always: true - mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service - args: ["docker", "info"] - } - ] - } + op.#Exec & { + always: true + mount: "/var/run/docker.sock": stream: context.services.dockerSocket.service + args: ["docker", "info"] + }, + ] } From da054231d216ecf1d212697a286903d619800b08 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 15 Dec 2021 10:33:53 -0700 Subject: [PATCH 9/9] updated imports to europa/dagger Signed-off-by: Richard Jones --- tests/plan/context/services/incomplete_service.cue | 2 +- tests/plan/context/services/incomplete_unix.cue | 2 +- tests/plan/context/services/invalid_schema.cue | 2 +- tests/plan/context/services/invalid_value.cue | 2 +- tests/plan/context/services/unix.cue | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/plan/context/services/incomplete_service.cue b/tests/plan/context/services/incomplete_service.cue index 44bb7507..33adbc79 100644 --- a/tests/plan/context/services/incomplete_service.cue +++ b/tests/plan/context/services/incomplete_service.cue @@ -1,7 +1,7 @@ package main import ( - "alpha.dagger.io/dagger/engine" + "alpha.dagger.io/europa/dagger/engine" "alpha.dagger.io/dagger/op" "alpha.dagger.io/alpine" ) diff --git a/tests/plan/context/services/incomplete_unix.cue b/tests/plan/context/services/incomplete_unix.cue index 3481f714..379dc8bc 100644 --- a/tests/plan/context/services/incomplete_unix.cue +++ b/tests/plan/context/services/incomplete_unix.cue @@ -1,7 +1,7 @@ package main import ( - "alpha.dagger.io/dagger/engine" + "alpha.dagger.io/europa/dagger/engine" "alpha.dagger.io/dagger/op" "alpha.dagger.io/alpine" ) diff --git a/tests/plan/context/services/invalid_schema.cue b/tests/plan/context/services/invalid_schema.cue index 1df44e38..bf19f9d2 100644 --- a/tests/plan/context/services/invalid_schema.cue +++ b/tests/plan/context/services/invalid_schema.cue @@ -1,7 +1,7 @@ package main import ( - "alpha.dagger.io/dagger/engine" + "alpha.dagger.io/europa/dagger/engine" "alpha.dagger.io/dagger/op" "alpha.dagger.io/alpine" ) diff --git a/tests/plan/context/services/invalid_value.cue b/tests/plan/context/services/invalid_value.cue index b255408d..1dcba88c 100644 --- a/tests/plan/context/services/invalid_value.cue +++ b/tests/plan/context/services/invalid_value.cue @@ -1,7 +1,7 @@ package main import ( - "alpha.dagger.io/dagger/engine" + "alpha.dagger.io/europa/dagger/engine" "alpha.dagger.io/dagger/op" "alpha.dagger.io/alpine" ) diff --git a/tests/plan/context/services/unix.cue b/tests/plan/context/services/unix.cue index f6283ee3..3e1fc723 100644 --- a/tests/plan/context/services/unix.cue +++ b/tests/plan/context/services/unix.cue @@ -1,7 +1,7 @@ package main import ( - "alpha.dagger.io/dagger/engine" + "alpha.dagger.io/europa/dagger/engine" "alpha.dagger.io/dagger/op" "alpha.dagger.io/alpine" )