From f3dee4735332b8b81617964c90427676f306508a Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Tue, 11 Jan 2022 18:03:08 -0800 Subject: [PATCH] europa: vendor universe.dagger.io Signed-off-by: Andrea Luzzardi --- pkg/pkg.go | 11 +++++++---- {europa-universe => pkg/universe.dagger.io}/README.md | 0 .../universe.dagger.io}/alpine/alpine.cue | 0 .../alpine/tests/simple/simple.cue | 0 .../universe.dagger.io}/bash/bash.cue | 0 .../universe.dagger.io}/cue.mod/module.cue | 0 .../universe.dagger.io}/cue.mod/pkg/alpha.dagger.io | 0 .../universe.dagger.io}/cue.mod/pkg/dagger.io | 0 .../universe.dagger.io}/docker/build.cue | 0 .../universe.dagger.io}/docker/image.cue | 0 .../universe.dagger.io}/docker/pull.cue | 0 .../universe.dagger.io}/docker/push.cue | 0 .../universe.dagger.io}/docker/run.cue | 0 .../universe.dagger.io}/docker/test/bash/bash.cue | 0 .../universe.dagger.io}/docker/test/build/build.cue | 0 .../universe.dagger.io}/examples/README.md | 0 .../examples/changelog.com/highlevel/ci.cue | 0 .../changelog.com/highlevel/elixir/mix/mix.cue | 0 .../examples/changelog.com/lowlevel/README.md | 0 .../examples/changelog.com/lowlevel/main.cue | 0 .../examples/changelog.com/orig/main.cue | 0 .../universe.dagger.io}/examples/todoapp/base.cue | 0 .../universe.dagger.io}/examples/todoapp/dev/dev.cue | 0 .../examples/todoapp/staging/staging.cue | 0 {europa-universe => pkg/universe.dagger.io}/fmt.sh | 0 .../universe.dagger.io}/git/git.cue | 0 .../universe.dagger.io}/netlify/deploy.sh | 0 .../universe.dagger.io}/netlify/deploy.sh.cue | 0 .../universe.dagger.io}/netlify/netlify.cue | 0 .../netlify/test/simple/simple.cue | 0 .../universe.dagger.io}/nginx/nginx.cue | 0 .../universe.dagger.io}/python/python.cue | 0 {europa-universe => pkg/universe.dagger.io}/search.sh | 0 {europa-universe => pkg/universe.dagger.io}/test.sh | 0 .../universe.dagger.io}/yarn/tests/simple/simple.cue | 0 .../yarn/tests/testdata/package.json | 0 .../yarn/tests/testdata2/package.json | 0 .../universe.dagger.io}/yarn/yarn.cue | 0 38 files changed, 7 insertions(+), 4 deletions(-) rename {europa-universe => pkg/universe.dagger.io}/README.md (100%) rename {europa-universe => pkg/universe.dagger.io}/alpine/alpine.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/alpine/tests/simple/simple.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/bash/bash.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/cue.mod/module.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/cue.mod/pkg/alpha.dagger.io (100%) rename {europa-universe => pkg/universe.dagger.io}/cue.mod/pkg/dagger.io (100%) rename {europa-universe => pkg/universe.dagger.io}/docker/build.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/docker/image.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/docker/pull.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/docker/push.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/docker/run.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/docker/test/bash/bash.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/docker/test/build/build.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/examples/README.md (100%) rename {europa-universe => pkg/universe.dagger.io}/examples/changelog.com/highlevel/ci.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/examples/changelog.com/highlevel/elixir/mix/mix.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/examples/changelog.com/lowlevel/README.md (100%) rename {europa-universe => pkg/universe.dagger.io}/examples/changelog.com/lowlevel/main.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/examples/changelog.com/orig/main.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/examples/todoapp/base.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/examples/todoapp/dev/dev.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/examples/todoapp/staging/staging.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/fmt.sh (100%) rename {europa-universe => pkg/universe.dagger.io}/git/git.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/netlify/deploy.sh (100%) rename {europa-universe => pkg/universe.dagger.io}/netlify/deploy.sh.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/netlify/netlify.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/netlify/test/simple/simple.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/nginx/nginx.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/python/python.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/search.sh (100%) rename {europa-universe => pkg/universe.dagger.io}/test.sh (100%) rename {europa-universe => pkg/universe.dagger.io}/yarn/tests/simple/simple.cue (100%) rename {europa-universe => pkg/universe.dagger.io}/yarn/tests/testdata/package.json (100%) rename {europa-universe => pkg/universe.dagger.io}/yarn/tests/testdata2/package.json (100%) rename {europa-universe => pkg/universe.dagger.io}/yarn/yarn.cue (100%) diff --git a/pkg/pkg.go b/pkg/pkg.go index 1b7ce4d6..44ec4238 100644 --- a/pkg/pkg.go +++ b/pkg/pkg.go @@ -16,20 +16,23 @@ import ( var ( // FS contains the filesystem of the stdlib. - //go:embed alpha.dagger.io/**/*.cue alpha.dagger.io/**/*/*.cue dagger.io/**/*.cue dagger.io/**/*/*.cue + //go:embed */**/*.cue */**/**/*.cue FS embed.FS ) var ( - AlphaModule = "alpha.dagger.io" - DaggerModule = "dagger.io" - EnginePackage = fmt.Sprintf("%s/dagger/engine", DaggerModule) + AlphaModule = "alpha.dagger.io" + DaggerModule = "dagger.io" + UniverseModule = "universe.dagger.io" modules = []string{ AlphaModule, DaggerModule, + UniverseModule, } + EnginePackage = fmt.Sprintf("%s/dagger/engine", DaggerModule) + lockFilePath = "dagger.lock" ) diff --git a/europa-universe/README.md b/pkg/universe.dagger.io/README.md similarity index 100% rename from europa-universe/README.md rename to pkg/universe.dagger.io/README.md diff --git a/europa-universe/alpine/alpine.cue b/pkg/universe.dagger.io/alpine/alpine.cue similarity index 100% rename from europa-universe/alpine/alpine.cue rename to pkg/universe.dagger.io/alpine/alpine.cue diff --git a/europa-universe/alpine/tests/simple/simple.cue b/pkg/universe.dagger.io/alpine/tests/simple/simple.cue similarity index 100% rename from europa-universe/alpine/tests/simple/simple.cue rename to pkg/universe.dagger.io/alpine/tests/simple/simple.cue diff --git a/europa-universe/bash/bash.cue b/pkg/universe.dagger.io/bash/bash.cue similarity index 100% rename from europa-universe/bash/bash.cue rename to pkg/universe.dagger.io/bash/bash.cue diff --git a/europa-universe/cue.mod/module.cue b/pkg/universe.dagger.io/cue.mod/module.cue similarity index 100% rename from europa-universe/cue.mod/module.cue rename to pkg/universe.dagger.io/cue.mod/module.cue diff --git a/europa-universe/cue.mod/pkg/alpha.dagger.io b/pkg/universe.dagger.io/cue.mod/pkg/alpha.dagger.io similarity index 100% rename from europa-universe/cue.mod/pkg/alpha.dagger.io rename to pkg/universe.dagger.io/cue.mod/pkg/alpha.dagger.io diff --git a/europa-universe/cue.mod/pkg/dagger.io b/pkg/universe.dagger.io/cue.mod/pkg/dagger.io similarity index 100% rename from europa-universe/cue.mod/pkg/dagger.io rename to pkg/universe.dagger.io/cue.mod/pkg/dagger.io diff --git a/europa-universe/docker/build.cue b/pkg/universe.dagger.io/docker/build.cue similarity index 100% rename from europa-universe/docker/build.cue rename to pkg/universe.dagger.io/docker/build.cue diff --git a/europa-universe/docker/image.cue b/pkg/universe.dagger.io/docker/image.cue similarity index 100% rename from europa-universe/docker/image.cue rename to pkg/universe.dagger.io/docker/image.cue diff --git a/europa-universe/docker/pull.cue b/pkg/universe.dagger.io/docker/pull.cue similarity index 100% rename from europa-universe/docker/pull.cue rename to pkg/universe.dagger.io/docker/pull.cue diff --git a/europa-universe/docker/push.cue b/pkg/universe.dagger.io/docker/push.cue similarity index 100% rename from europa-universe/docker/push.cue rename to pkg/universe.dagger.io/docker/push.cue diff --git a/europa-universe/docker/run.cue b/pkg/universe.dagger.io/docker/run.cue similarity index 100% rename from europa-universe/docker/run.cue rename to pkg/universe.dagger.io/docker/run.cue diff --git a/europa-universe/docker/test/bash/bash.cue b/pkg/universe.dagger.io/docker/test/bash/bash.cue similarity index 100% rename from europa-universe/docker/test/bash/bash.cue rename to pkg/universe.dagger.io/docker/test/bash/bash.cue diff --git a/europa-universe/docker/test/build/build.cue b/pkg/universe.dagger.io/docker/test/build/build.cue similarity index 100% rename from europa-universe/docker/test/build/build.cue rename to pkg/universe.dagger.io/docker/test/build/build.cue diff --git a/europa-universe/examples/README.md b/pkg/universe.dagger.io/examples/README.md similarity index 100% rename from europa-universe/examples/README.md rename to pkg/universe.dagger.io/examples/README.md diff --git a/europa-universe/examples/changelog.com/highlevel/ci.cue b/pkg/universe.dagger.io/examples/changelog.com/highlevel/ci.cue similarity index 100% rename from europa-universe/examples/changelog.com/highlevel/ci.cue rename to pkg/universe.dagger.io/examples/changelog.com/highlevel/ci.cue diff --git a/europa-universe/examples/changelog.com/highlevel/elixir/mix/mix.cue b/pkg/universe.dagger.io/examples/changelog.com/highlevel/elixir/mix/mix.cue similarity index 100% rename from europa-universe/examples/changelog.com/highlevel/elixir/mix/mix.cue rename to pkg/universe.dagger.io/examples/changelog.com/highlevel/elixir/mix/mix.cue diff --git a/europa-universe/examples/changelog.com/lowlevel/README.md b/pkg/universe.dagger.io/examples/changelog.com/lowlevel/README.md similarity index 100% rename from europa-universe/examples/changelog.com/lowlevel/README.md rename to pkg/universe.dagger.io/examples/changelog.com/lowlevel/README.md diff --git a/europa-universe/examples/changelog.com/lowlevel/main.cue b/pkg/universe.dagger.io/examples/changelog.com/lowlevel/main.cue similarity index 100% rename from europa-universe/examples/changelog.com/lowlevel/main.cue rename to pkg/universe.dagger.io/examples/changelog.com/lowlevel/main.cue diff --git a/europa-universe/examples/changelog.com/orig/main.cue b/pkg/universe.dagger.io/examples/changelog.com/orig/main.cue similarity index 100% rename from europa-universe/examples/changelog.com/orig/main.cue rename to pkg/universe.dagger.io/examples/changelog.com/orig/main.cue diff --git a/europa-universe/examples/todoapp/base.cue b/pkg/universe.dagger.io/examples/todoapp/base.cue similarity index 100% rename from europa-universe/examples/todoapp/base.cue rename to pkg/universe.dagger.io/examples/todoapp/base.cue diff --git a/europa-universe/examples/todoapp/dev/dev.cue b/pkg/universe.dagger.io/examples/todoapp/dev/dev.cue similarity index 100% rename from europa-universe/examples/todoapp/dev/dev.cue rename to pkg/universe.dagger.io/examples/todoapp/dev/dev.cue diff --git a/europa-universe/examples/todoapp/staging/staging.cue b/pkg/universe.dagger.io/examples/todoapp/staging/staging.cue similarity index 100% rename from europa-universe/examples/todoapp/staging/staging.cue rename to pkg/universe.dagger.io/examples/todoapp/staging/staging.cue diff --git a/europa-universe/fmt.sh b/pkg/universe.dagger.io/fmt.sh similarity index 100% rename from europa-universe/fmt.sh rename to pkg/universe.dagger.io/fmt.sh diff --git a/europa-universe/git/git.cue b/pkg/universe.dagger.io/git/git.cue similarity index 100% rename from europa-universe/git/git.cue rename to pkg/universe.dagger.io/git/git.cue diff --git a/europa-universe/netlify/deploy.sh b/pkg/universe.dagger.io/netlify/deploy.sh similarity index 100% rename from europa-universe/netlify/deploy.sh rename to pkg/universe.dagger.io/netlify/deploy.sh diff --git a/europa-universe/netlify/deploy.sh.cue b/pkg/universe.dagger.io/netlify/deploy.sh.cue similarity index 100% rename from europa-universe/netlify/deploy.sh.cue rename to pkg/universe.dagger.io/netlify/deploy.sh.cue diff --git a/europa-universe/netlify/netlify.cue b/pkg/universe.dagger.io/netlify/netlify.cue similarity index 100% rename from europa-universe/netlify/netlify.cue rename to pkg/universe.dagger.io/netlify/netlify.cue diff --git a/europa-universe/netlify/test/simple/simple.cue b/pkg/universe.dagger.io/netlify/test/simple/simple.cue similarity index 100% rename from europa-universe/netlify/test/simple/simple.cue rename to pkg/universe.dagger.io/netlify/test/simple/simple.cue diff --git a/europa-universe/nginx/nginx.cue b/pkg/universe.dagger.io/nginx/nginx.cue similarity index 100% rename from europa-universe/nginx/nginx.cue rename to pkg/universe.dagger.io/nginx/nginx.cue diff --git a/europa-universe/python/python.cue b/pkg/universe.dagger.io/python/python.cue similarity index 100% rename from europa-universe/python/python.cue rename to pkg/universe.dagger.io/python/python.cue diff --git a/europa-universe/search.sh b/pkg/universe.dagger.io/search.sh similarity index 100% rename from europa-universe/search.sh rename to pkg/universe.dagger.io/search.sh diff --git a/europa-universe/test.sh b/pkg/universe.dagger.io/test.sh similarity index 100% rename from europa-universe/test.sh rename to pkg/universe.dagger.io/test.sh diff --git a/europa-universe/yarn/tests/simple/simple.cue b/pkg/universe.dagger.io/yarn/tests/simple/simple.cue similarity index 100% rename from europa-universe/yarn/tests/simple/simple.cue rename to pkg/universe.dagger.io/yarn/tests/simple/simple.cue diff --git a/europa-universe/yarn/tests/testdata/package.json b/pkg/universe.dagger.io/yarn/tests/testdata/package.json similarity index 100% rename from europa-universe/yarn/tests/testdata/package.json rename to pkg/universe.dagger.io/yarn/tests/testdata/package.json diff --git a/europa-universe/yarn/tests/testdata2/package.json b/pkg/universe.dagger.io/yarn/tests/testdata2/package.json similarity index 100% rename from europa-universe/yarn/tests/testdata2/package.json rename to pkg/universe.dagger.io/yarn/tests/testdata2/package.json diff --git a/europa-universe/yarn/yarn.cue b/pkg/universe.dagger.io/yarn/yarn.cue similarity index 100% rename from europa-universe/yarn/yarn.cue rename to pkg/universe.dagger.io/yarn/yarn.cue