diff --git a/.dagger/env/dev/plan/main.cue b/.dagger/env/dev/plan/main.cue index 50cbd540..dbc5dfc7 100644 --- a/.dagger/env/dev/plan/main.cue +++ b/.dagger/env/dev/plan/main.cue @@ -2,9 +2,9 @@ package main import ( - "dagger.io/dagger" - "dagger.io/os" - "dagger.io/go" + "alpha.dagger.io/dagger" + "alpha.dagger.io/os" + "alpha.dagger.io/go" ) // Dagger source code diff --git a/.dagger/env/docs/plan/main.cue b/.dagger/env/docs/plan/main.cue index 38e530e0..e5a100f8 100644 --- a/.dagger/env/docs/plan/main.cue +++ b/.dagger/env/docs/plan/main.cue @@ -1,9 +1,9 @@ package main import ( - "dagger.io/dagger" - "dagger.io/js/yarn" - "dagger.io/netlify" + "alpha.dagger.io/dagger" + "alpha.dagger.io/js/yarn" + "alpha.dagger.io/netlify" ) // dagger repository diff --git a/.dagger/env/test-core/plan/test-core.cue b/.dagger/env/test-core/plan/test-core.cue index aae00c60..c15e75a5 100644 --- a/.dagger/env/test-core/plan/test-core.cue +++ b/.dagger/env/test-core/plan/test-core.cue @@ -1,7 +1,7 @@ package testcore import ( - "dagger.io/dagger" + "alpha.dagger.io/dagger" ) name: dagger.#Input & { diff --git a/cmd/dagger/cmd/doc.go b/cmd/dagger/cmd/doc.go index 6174e4cf..33458255 100644 --- a/cmd/dagger/cmd/doc.go +++ b/cmd/dagger/cmd/doc.go @@ -337,7 +337,7 @@ func walkStdlib(ctx context.Context, output, format string) { return nil } - pkgName := fmt.Sprintf("dagger.io/%s", p) + pkgName := fmt.Sprintf("alpha.dagger.io/%s", p) lg.Info().Str("package", pkgName).Str("format", format).Msg("generating doc") val, err := loadCode(pkgName) if err != nil { diff --git a/cue.mod/pkg/dagger.io b/cue.mod/pkg/alpha.dagger.io similarity index 100% rename from cue.mod/pkg/dagger.io rename to cue.mod/pkg/alpha.dagger.io diff --git a/docs/learn/102-dev.md b/docs/learn/102-dev.md index 8936fa8f..8ece8a12 100644 --- a/docs/learn/102-dev.md +++ b/docs/learn/102-dev.md @@ -136,7 +136,7 @@ Let's write the corresponding Cue code to a new file in our package: package multibucket import ( - "dagger.io/dagger" + "alpha.dagger.io/dagger" ) // Source code of the sample application @@ -153,7 +153,7 @@ The second component of our plan is the Yarn package built from the app source c package multibucket import ( - "dagger.io/js/yarn" + "alpha.dagger.io/js/yarn" ) // Build the source code using Yarn @@ -165,7 +165,7 @@ app: yarn.#Package & { Let's break it down: - `package multibucket`: this file is part of the multibucket package -- `import ( "dagger.io/js/yarn" )`: import a package from the [Dagger Universe](../reference/universe/README.md). +- `import ( "alpha.dagger.io/js/yarn" )`: import a package from the [Dagger Universe](../reference/universe/README.md). - `app: yarn.#Package`: apply the `#Package` definition at the key `app` - `&`: also merge the following values at the same key... - `{ source: src }`: set the key `app.source` to the value of `src`. This connects our 2 components, forming the first link in our DAG. @@ -182,7 +182,7 @@ The third component of our plan is the Netlify site to which the app will be dep package multibucket import ( - "dagger.io/netlify" + "alpha.dagger.io/netlify" ) // Netlify site diff --git a/docs/learn/107-kubernetes.md b/docs/learn/107-kubernetes.md index f8a76595..c617340a 100644 --- a/docs/learn/107-kubernetes.md +++ b/docs/learn/107-kubernetes.md @@ -164,7 +164,7 @@ values={[ package kube import ( - "dagger.io/kubernetes" + "alpha.dagger.io/kubernetes" ) // input: ~/.kube/config file used for deployment @@ -190,8 +190,8 @@ deploy: kubernetes.#Resources & { package kube import ( - "dagger.io/kubernetes" - "dagger.io/gcp/gke" + "alpha.dagger.io/kubernetes" + "alpha.dagger.io/gcp/gke" ) // gkeConfig used for deployment @@ -218,8 +218,8 @@ deploy: kubernetes.#Resources & { package kube import ( - "dagger.io/kubernetes" - "dagger.io/aws/eks" + "alpha.dagger.io/kubernetes" + "alpha.dagger.io/aws/eks" ) // eksConfig used for deployment @@ -587,8 +587,8 @@ package kube import ( "encoding/yaml" - "dagger.io/dagger" - "dagger.io/docker" + "alpha.dagger.io/dagger" + "alpha.dagger.io/docker" ) // input: source code repository, must contain a Dockerfile diff --git a/docs/learn/108-cloudformation.md b/docs/learn/108-cloudformation.md index d6dcee62..416f01e2 100644 --- a/docs/learn/108-cloudformation.md +++ b/docs/learn/108-cloudformation.md @@ -168,7 +168,7 @@ Let's implement the first step, use the `aws.#Config` relay, and request its fir package cloudformation import ( - "dagger.io/aws" + "alpha.dagger.io/aws" ) // AWS account: credentials and region @@ -226,10 +226,10 @@ Now that we have the `config` definition properly configured, let's modify the C package cloudformation import ( - "dagger.io/aws" - "dagger.io/dagger" - "dagger.io/random" - "dagger.io/aws/cloudformation" + "alpha.dagger.io/aws" + "alpha.dagger.io/dagger" + "alpha.dagger.io/random" + "alpha.dagger.io/aws/cloudformation" ) // AWS account: credentials and region diff --git a/docs/reference/universe/alpine.md b/docs/reference/universe/alpine.md index fb3bdd16..7c2e6df8 100644 --- a/docs/reference/universe/alpine.md +++ b/docs/reference/universe/alpine.md @@ -2,12 +2,12 @@ sidebar_label: alpine --- -# dagger.io/alpine +# alpha.dagger.io/alpine Base package for Alpine Linux ```cue -import "dagger.io/alpine" +import "alpha.dagger.io/alpine" ``` ## alpine.#Image diff --git a/docs/reference/universe/aws/README.md b/docs/reference/universe/aws/README.md index b0755acc..7484c97e 100644 --- a/docs/reference/universe/aws/README.md +++ b/docs/reference/universe/aws/README.md @@ -2,12 +2,12 @@ sidebar_label: aws --- -# dagger.io/aws +# alpha.dagger.io/aws AWS base package ```cue -import "dagger.io/aws" +import "alpha.dagger.io/aws" ``` ## aws.#CLI diff --git a/docs/reference/universe/aws/cloudformation.md b/docs/reference/universe/aws/cloudformation.md index 2dbf7dd9..8528db70 100644 --- a/docs/reference/universe/aws/cloudformation.md +++ b/docs/reference/universe/aws/cloudformation.md @@ -2,12 +2,12 @@ sidebar_label: cloudformation --- -# dagger.io/aws/cloudformation +# alpha.dagger.io/aws/cloudformation AWS CloudFormation ```cue -import "dagger.io/aws/cloudformation" +import "alpha.dagger.io/aws/cloudformation" ``` ## cloudformation.#Stack diff --git a/docs/reference/universe/aws/ecr.md b/docs/reference/universe/aws/ecr.md index a77199d8..c45d1824 100644 --- a/docs/reference/universe/aws/ecr.md +++ b/docs/reference/universe/aws/ecr.md @@ -2,12 +2,12 @@ sidebar_label: ecr --- -# dagger.io/aws/ecr +# alpha.dagger.io/aws/ecr Amazon Elastic Container Registry (ECR) ```cue -import "dagger.io/aws/ecr" +import "alpha.dagger.io/aws/ecr" ``` ## ecr.#Credentials diff --git a/docs/reference/universe/aws/ecs.md b/docs/reference/universe/aws/ecs.md index 578d36ed..e80cafa8 100644 --- a/docs/reference/universe/aws/ecs.md +++ b/docs/reference/universe/aws/ecs.md @@ -2,10 +2,10 @@ sidebar_label: ecs --- -# dagger.io/aws/ecs +# alpha.dagger.io/aws/ecs AWS Elastic Container Service (ECS) ```cue -import "dagger.io/aws/ecs" +import "alpha.dagger.io/aws/ecs" ``` diff --git a/docs/reference/universe/aws/eks.md b/docs/reference/universe/aws/eks.md index 1f47ce10..7d445769 100644 --- a/docs/reference/universe/aws/eks.md +++ b/docs/reference/universe/aws/eks.md @@ -2,12 +2,12 @@ sidebar_label: eks --- -# dagger.io/aws/eks +# alpha.dagger.io/aws/eks AWS Elastic Kubernetes Service (EKS) ```cue -import "dagger.io/aws/eks" +import "alpha.dagger.io/aws/eks" ``` ## eks.#KubeConfig diff --git a/docs/reference/universe/aws/elb.md b/docs/reference/universe/aws/elb.md index 91661c59..adf122a4 100644 --- a/docs/reference/universe/aws/elb.md +++ b/docs/reference/universe/aws/elb.md @@ -2,12 +2,12 @@ sidebar_label: elb --- -# dagger.io/aws/elb +# alpha.dagger.io/aws/elb AWS Elastic Load Balancer (ELBv2) ```cue -import "dagger.io/aws/elb" +import "alpha.dagger.io/aws/elb" ``` ## elb.#RandomRulePriority diff --git a/docs/reference/universe/aws/rds.md b/docs/reference/universe/aws/rds.md index 735fb50f..9c5735f1 100644 --- a/docs/reference/universe/aws/rds.md +++ b/docs/reference/universe/aws/rds.md @@ -2,12 +2,12 @@ sidebar_label: rds --- -# dagger.io/aws/rds +# alpha.dagger.io/aws/rds AWS Relational Database Service (RDS) ```cue -import "dagger.io/aws/rds" +import "alpha.dagger.io/aws/rds" ``` ## rds.#Database diff --git a/docs/reference/universe/aws/s3.md b/docs/reference/universe/aws/s3.md index 69c5533c..ca7b54dd 100644 --- a/docs/reference/universe/aws/s3.md +++ b/docs/reference/universe/aws/s3.md @@ -2,12 +2,12 @@ sidebar_label: s3 --- -# dagger.io/aws/s3 +# alpha.dagger.io/aws/s3 AWS Simple Storage Service ```cue -import "dagger.io/aws/s3" +import "alpha.dagger.io/aws/s3" ``` ## s3.#Object diff --git a/docs/reference/universe/dagger/README.md b/docs/reference/universe/dagger/README.md index b25bc93c..60694e45 100644 --- a/docs/reference/universe/dagger/README.md +++ b/docs/reference/universe/dagger/README.md @@ -2,12 +2,12 @@ sidebar_label: dagger --- -# dagger.io/dagger +# alpha.dagger.io/dagger Dagger core types ```cue -import "dagger.io/dagger" +import "alpha.dagger.io/dagger" ``` ## dagger.#Secret diff --git a/docs/reference/universe/dagger/op.md b/docs/reference/universe/dagger/op.md index ddff6a1e..a862f0d8 100644 --- a/docs/reference/universe/dagger/op.md +++ b/docs/reference/universe/dagger/op.md @@ -2,12 +2,12 @@ sidebar_label: op --- -# dagger.io/dagger/op +# alpha.dagger.io/dagger/op op: low-level operations for Dagger processing pipelines ```cue -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" ``` ## op.#Copy diff --git a/docs/reference/universe/docker.md b/docs/reference/universe/docker.md index 7812a1ec..f146a5a4 100644 --- a/docs/reference/universe/docker.md +++ b/docs/reference/universe/docker.md @@ -2,12 +2,12 @@ sidebar_label: docker --- -# dagger.io/docker +# alpha.dagger.io/docker Docker container operations ```cue -import "dagger.io/docker" +import "alpha.dagger.io/docker" ``` ## docker.#Build diff --git a/docs/reference/universe/gcp/README.md b/docs/reference/universe/gcp/README.md index f2ded155..1b42d71e 100644 --- a/docs/reference/universe/gcp/README.md +++ b/docs/reference/universe/gcp/README.md @@ -2,12 +2,12 @@ sidebar_label: gcp --- -# dagger.io/gcp +# alpha.dagger.io/gcp Google Cloud Platform ```cue -import "dagger.io/gcp" +import "alpha.dagger.io/gcp" ``` ## gcp.#Config diff --git a/docs/reference/universe/gcp/gcr.md b/docs/reference/universe/gcp/gcr.md index 9bfc320d..169fcdbc 100644 --- a/docs/reference/universe/gcp/gcr.md +++ b/docs/reference/universe/gcp/gcr.md @@ -2,12 +2,12 @@ sidebar_label: gcr --- -# dagger.io/gcp/gcr +# alpha.dagger.io/gcp/gcr Google Container Registry ```cue -import "dagger.io/gcp/gcr" +import "alpha.dagger.io/gcp/gcr" ``` ## gcr.#Credentials diff --git a/docs/reference/universe/gcp/gke.md b/docs/reference/universe/gcp/gke.md index 781db781..a01c1fd6 100644 --- a/docs/reference/universe/gcp/gke.md +++ b/docs/reference/universe/gcp/gke.md @@ -2,12 +2,12 @@ sidebar_label: gke --- -# dagger.io/gcp/gke +# alpha.dagger.io/gcp/gke Google Kubernetes Engine ```cue -import "dagger.io/gcp/gke" +import "alpha.dagger.io/gcp/gke" ``` ## gke.#KubeConfig diff --git a/docs/reference/universe/git.md b/docs/reference/universe/git.md index 95cdcaa5..956a4125 100644 --- a/docs/reference/universe/git.md +++ b/docs/reference/universe/git.md @@ -2,12 +2,12 @@ sidebar_label: git --- -# dagger.io/git +# alpha.dagger.io/git Git operations ```cue -import "dagger.io/git" +import "alpha.dagger.io/git" ``` ## git.#CurrentBranch diff --git a/docs/reference/universe/go.md b/docs/reference/universe/go.md index adb63faf..e464fe5c 100644 --- a/docs/reference/universe/go.md +++ b/docs/reference/universe/go.md @@ -2,12 +2,12 @@ sidebar_label: go --- -# dagger.io/go +# alpha.dagger.io/go Go build operations ```cue -import "dagger.io/go" +import "alpha.dagger.io/go" ``` ## go.#Build diff --git a/docs/reference/universe/io.md b/docs/reference/universe/io.md index ada35879..84bf2422 100644 --- a/docs/reference/universe/io.md +++ b/docs/reference/universe/io.md @@ -2,12 +2,12 @@ sidebar_label: io --- -# dagger.io/io +# alpha.dagger.io/io IO operations ```cue -import "dagger.io/io" +import "alpha.dagger.io/io" ``` ## io.#Dir diff --git a/docs/reference/universe/js/yarn.md b/docs/reference/universe/js/yarn.md index 1c4a2c35..322847d0 100644 --- a/docs/reference/universe/js/yarn.md +++ b/docs/reference/universe/js/yarn.md @@ -2,12 +2,12 @@ sidebar_label: yarn --- -# dagger.io/js/yarn +# alpha.dagger.io/js/yarn Yarn is a package manager for Javascript applications ```cue -import "dagger.io/js/yarn" +import "alpha.dagger.io/js/yarn" ``` ## yarn.#Package diff --git a/docs/reference/universe/kubernetes/README.md b/docs/reference/universe/kubernetes/README.md index d89aad60..9b4f102c 100644 --- a/docs/reference/universe/kubernetes/README.md +++ b/docs/reference/universe/kubernetes/README.md @@ -2,12 +2,12 @@ sidebar_label: kubernetes --- -# dagger.io/kubernetes +# alpha.dagger.io/kubernetes Kubernetes client operations ```cue -import "dagger.io/kubernetes" +import "alpha.dagger.io/kubernetes" ``` ## kubernetes.#Kubectl diff --git a/docs/reference/universe/kubernetes/helm.md b/docs/reference/universe/kubernetes/helm.md index 52a5e127..39c6c010 100644 --- a/docs/reference/universe/kubernetes/helm.md +++ b/docs/reference/universe/kubernetes/helm.md @@ -2,12 +2,12 @@ sidebar_label: helm --- -# dagger.io/kubernetes/helm +# alpha.dagger.io/kubernetes/helm Helm package manager ```cue -import "dagger.io/kubernetes/helm" +import "alpha.dagger.io/kubernetes/helm" ``` ## helm.#Chart diff --git a/docs/reference/universe/kubernetes/kustomize.md b/docs/reference/universe/kubernetes/kustomize.md index d7e8efe1..188b999b 100644 --- a/docs/reference/universe/kubernetes/kustomize.md +++ b/docs/reference/universe/kubernetes/kustomize.md @@ -2,12 +2,12 @@ sidebar_label: kustomize --- -# dagger.io/kubernetes/kustomize +# alpha.dagger.io/kubernetes/kustomize Kustomize config management ```cue -import "dagger.io/kubernetes/kustomize" +import "alpha.dagger.io/kubernetes/kustomize" ``` ## kustomize.#Kustomization diff --git a/docs/reference/universe/netlify.md b/docs/reference/universe/netlify.md index 823a429c..ccd4a68f 100644 --- a/docs/reference/universe/netlify.md +++ b/docs/reference/universe/netlify.md @@ -2,12 +2,12 @@ sidebar_label: netlify --- -# dagger.io/netlify +# alpha.dagger.io/netlify Netlify client operations ```cue -import "dagger.io/netlify" +import "alpha.dagger.io/netlify" ``` ## netlify.#Account diff --git a/docs/reference/universe/os.md b/docs/reference/universe/os.md index c1e7ef37..9a37823b 100644 --- a/docs/reference/universe/os.md +++ b/docs/reference/universe/os.md @@ -2,12 +2,12 @@ sidebar_label: os --- -# dagger.io/os +# alpha.dagger.io/os OS operations ```cue -import "dagger.io/os" +import "alpha.dagger.io/os" ``` ## os.#Container diff --git a/docs/reference/universe/random.md b/docs/reference/universe/random.md index b5f6a347..e80e4ed0 100644 --- a/docs/reference/universe/random.md +++ b/docs/reference/universe/random.md @@ -2,12 +2,12 @@ sidebar_label: random --- -# dagger.io/random +# alpha.dagger.io/random Random generation utilities ```cue -import "dagger.io/random" +import "alpha.dagger.io/random" ``` ## random.#String diff --git a/docs/reference/universe/terraform.md b/docs/reference/universe/terraform.md index 7188503f..0318ba15 100644 --- a/docs/reference/universe/terraform.md +++ b/docs/reference/universe/terraform.md @@ -2,12 +2,12 @@ sidebar_label: terraform --- -# dagger.io/terraform +# alpha.dagger.io/terraform Terraform operations ```cue -import "dagger.io/terraform" +import "alpha.dagger.io/terraform" ``` ## terraform.#Configuration diff --git a/stdlib/.dagger/env/alpine/plan/alpine.cue b/stdlib/.dagger/env/alpine/plan/alpine.cue index b5dc0b9d..f60b58aa 100644 --- a/stdlib/.dagger/env/alpine/plan/alpine.cue +++ b/stdlib/.dagger/env/alpine/plan/alpine.cue @@ -1,8 +1,8 @@ package alpine import ( - "dagger.io/alpine" - "dagger.io/dagger/op" + "alpha.dagger.io/alpine" + "alpha.dagger.io/dagger/op" ) TestImageVersion: { diff --git a/stdlib/.dagger/env/aws-ecr/plan/ecr.cue b/stdlib/.dagger/env/aws-ecr/plan/ecr.cue index 2e094048..1b56f90b 100644 --- a/stdlib/.dagger/env/aws-ecr/plan/ecr.cue +++ b/stdlib/.dagger/env/aws-ecr/plan/ecr.cue @@ -1,10 +1,10 @@ package main import ( - "dagger.io/aws" - "dagger.io/aws/ecr" - "dagger.io/dagger/op" - "dagger.io/random" + "alpha.dagger.io/aws" + "alpha.dagger.io/aws/ecr" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/random" ) TestConfig: awsConfig: aws.#Config & { diff --git a/stdlib/.dagger/env/aws-eks/plan/eks.cue b/stdlib/.dagger/env/aws-eks/plan/eks.cue index d0a92e9d..88406428 100644 --- a/stdlib/.dagger/env/aws-eks/plan/eks.cue +++ b/stdlib/.dagger/env/aws-eks/plan/eks.cue @@ -1,10 +1,10 @@ package eks import ( - "dagger.io/aws" - "dagger.io/aws/eks" - "dagger.io/kubernetes" - "dagger.io/dagger/op" + "alpha.dagger.io/aws" + "alpha.dagger.io/aws/eks" + "alpha.dagger.io/kubernetes" + "alpha.dagger.io/dagger/op" ) TestConfig: awsConfig: aws.#Config & { diff --git a/stdlib/.dagger/env/aws-s3/plan/s3.cue b/stdlib/.dagger/env/aws-s3/plan/s3.cue index dfe20f5a..eb6f4914 100644 --- a/stdlib/.dagger/env/aws-s3/plan/s3.cue +++ b/stdlib/.dagger/env/aws-s3/plan/s3.cue @@ -1,9 +1,9 @@ package s3 import ( - "dagger.io/dagger" - "dagger.io/aws" - "dagger.io/aws/s3" + "alpha.dagger.io/dagger" + "alpha.dagger.io/aws" + "alpha.dagger.io/aws/s3" ) TestConfig: awsConfig: aws.#Config & { diff --git a/stdlib/.dagger/env/aws-s3/plan/verify.cue b/stdlib/.dagger/env/aws-s3/plan/verify.cue index d1fb596b..7588ba5a 100644 --- a/stdlib/.dagger/env/aws-s3/plan/verify.cue +++ b/stdlib/.dagger/env/aws-s3/plan/verify.cue @@ -1,9 +1,9 @@ package s3 import ( - "dagger.io/aws" - "dagger.io/alpine" - "dagger.io/dagger/op" + "alpha.dagger.io/aws" + "alpha.dagger.io/alpine" + "alpha.dagger.io/dagger/op" ) #List: { diff --git a/stdlib/.dagger/env/docker-build/plan/dockerfile.cue b/stdlib/.dagger/env/docker-build/plan/dockerfile.cue index 70b021f2..05792f57 100644 --- a/stdlib/.dagger/env/docker-build/plan/dockerfile.cue +++ b/stdlib/.dagger/env/docker-build/plan/dockerfile.cue @@ -1,9 +1,9 @@ package docker import ( - "dagger.io/dagger" - "dagger.io/dagger/op" - "dagger.io/docker" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/docker" ) TestSourceBuild: dagger.#Artifact @dagger(input) diff --git a/stdlib/.dagger/env/docker-command-ssh-key-passphrase/plan/command.cue b/stdlib/.dagger/env/docker-command-ssh-key-passphrase/plan/command.cue index a4532607..82a06439 100644 --- a/stdlib/.dagger/env/docker-command-ssh-key-passphrase/plan/command.cue +++ b/stdlib/.dagger/env/docker-command-ssh-key-passphrase/plan/command.cue @@ -1,8 +1,8 @@ package docker import ( - "dagger.io/dagger" - "dagger.io/docker" + "alpha.dagger.io/dagger" + "alpha.dagger.io/docker" ) TestConfig: { diff --git a/stdlib/.dagger/env/docker-command-ssh-wrong-key-passphrase/plan/command.cue b/stdlib/.dagger/env/docker-command-ssh-wrong-key-passphrase/plan/command.cue index 91f82ea4..8ffeda9b 100644 --- a/stdlib/.dagger/env/docker-command-ssh-wrong-key-passphrase/plan/command.cue +++ b/stdlib/.dagger/env/docker-command-ssh-wrong-key-passphrase/plan/command.cue @@ -1,8 +1,8 @@ package docker import ( - "dagger.io/dagger" - "dagger.io/docker" + "alpha.dagger.io/dagger" + "alpha.dagger.io/docker" ) TestConfig: { diff --git a/stdlib/.dagger/env/docker-command-ssh/plan/command.cue b/stdlib/.dagger/env/docker-command-ssh/plan/command.cue index 1767faac..e87e9b3f 100644 --- a/stdlib/.dagger/env/docker-command-ssh/plan/command.cue +++ b/stdlib/.dagger/env/docker-command-ssh/plan/command.cue @@ -1,8 +1,8 @@ package docker import ( - "dagger.io/dagger" - "dagger.io/docker" + "alpha.dagger.io/dagger" + "alpha.dagger.io/docker" ) TestConfig: { diff --git a/stdlib/.dagger/env/docker-run-local/plan/local.cue b/stdlib/.dagger/env/docker-run-local/plan/local.cue index 2c3505f4..36d4c36e 100644 --- a/stdlib/.dagger/env/docker-run-local/plan/local.cue +++ b/stdlib/.dagger/env/docker-run-local/plan/local.cue @@ -1,8 +1,8 @@ package main import ( - "dagger.io/docker" - "dagger.io/random" + "alpha.dagger.io/docker" + "alpha.dagger.io/random" ) suffix: random.#String & { diff --git a/stdlib/.dagger/env/docker-run-ssh/plan/simple.cue b/stdlib/.dagger/env/docker-run-ssh/plan/simple.cue index 17b7499f..38246a1a 100644 --- a/stdlib/.dagger/env/docker-run-ssh/plan/simple.cue +++ b/stdlib/.dagger/env/docker-run-ssh/plan/simple.cue @@ -1,9 +1,9 @@ package main import ( - "dagger.io/docker" - "dagger.io/dagger" - "dagger.io/random" + "alpha.dagger.io/docker" + "alpha.dagger.io/dagger" + "alpha.dagger.io/random" ) TestConfig: { diff --git a/stdlib/.dagger/env/git/plan/git.cue b/stdlib/.dagger/env/git/plan/git.cue index 67ae3cff..59e65d47 100644 --- a/stdlib/.dagger/env/git/plan/git.cue +++ b/stdlib/.dagger/env/git/plan/git.cue @@ -3,10 +3,10 @@ package git import ( "strings" - "dagger.io/git" - "dagger.io/alpine" - "dagger.io/os" - "dagger.io/dagger/op" + "alpha.dagger.io/git" + "alpha.dagger.io/alpine" + "alpha.dagger.io/os" + "alpha.dagger.io/dagger/op" ) repo: git.#Repository & { diff --git a/stdlib/.dagger/env/go/plan/go.cue b/stdlib/.dagger/env/go/plan/go.cue index dc7ecc0d..4df695d3 100644 --- a/stdlib/.dagger/env/go/plan/go.cue +++ b/stdlib/.dagger/env/go/plan/go.cue @@ -1,10 +1,10 @@ package go import ( - "dagger.io/dagger" - "dagger.io/go" - "dagger.io/alpine" - "dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/go" + "alpha.dagger.io/alpine" + "alpha.dagger.io/dagger/op" ) TestData: dagger.#Artifact @dagger(input) diff --git a/stdlib/.dagger/env/google-gcr/plan/gcr.cue b/stdlib/.dagger/env/google-gcr/plan/gcr.cue index e5adc2b6..9c2f3add 100644 --- a/stdlib/.dagger/env/google-gcr/plan/gcr.cue +++ b/stdlib/.dagger/env/google-gcr/plan/gcr.cue @@ -1,10 +1,10 @@ package main import ( - "dagger.io/gcp" - "dagger.io/gcp/gcr" - "dagger.io/dagger/op" - "dagger.io/random" + "alpha.dagger.io/gcp" + "alpha.dagger.io/gcp/gcr" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/random" ) TestConfig: gcpConfig: gcp.#Config diff --git a/stdlib/.dagger/env/google-gke/plan/gke.cue b/stdlib/.dagger/env/google-gke/plan/gke.cue index 450f72d0..2f1c6a9e 100644 --- a/stdlib/.dagger/env/google-gke/plan/gke.cue +++ b/stdlib/.dagger/env/google-gke/plan/gke.cue @@ -1,10 +1,10 @@ package gke import ( - "dagger.io/gcp" - "dagger.io/gcp/gke" - "dagger.io/kubernetes" - "dagger.io/dagger/op" + "alpha.dagger.io/gcp" + "alpha.dagger.io/gcp/gke" + "alpha.dagger.io/kubernetes" + "alpha.dagger.io/dagger/op" ) TestConfig: gcpConfig: gcp.#Config diff --git a/stdlib/.dagger/env/js-yarn/plan/yarn.cue b/stdlib/.dagger/env/js-yarn/plan/yarn.cue index 15539e9e..69ddeb7d 100644 --- a/stdlib/.dagger/env/js-yarn/plan/yarn.cue +++ b/stdlib/.dagger/env/js-yarn/plan/yarn.cue @@ -1,10 +1,10 @@ package react import ( - "dagger.io/dagger" - "dagger.io/js/yarn" - "dagger.io/alpine" - "dagger.io/os" + "alpha.dagger.io/dagger" + "alpha.dagger.io/js/yarn" + "alpha.dagger.io/alpine" + "alpha.dagger.io/os" ) TestData: dagger.#Artifact diff --git a/stdlib/.dagger/env/kubernetes-deployment/plan/kubernetes.cue b/stdlib/.dagger/env/kubernetes-deployment/plan/kubernetes.cue index 35f7caee..11cb8158 100644 --- a/stdlib/.dagger/env/kubernetes-deployment/plan/kubernetes.cue +++ b/stdlib/.dagger/env/kubernetes-deployment/plan/kubernetes.cue @@ -2,8 +2,8 @@ package main import ( "encoding/yaml" - "dagger.io/kubernetes" - "dagger.io/random" + "alpha.dagger.io/kubernetes" + "alpha.dagger.io/random" ) // We assume that a kinD cluster is running locally diff --git a/stdlib/.dagger/env/kubernetes-deployment/plan/verify.cue b/stdlib/.dagger/env/kubernetes-deployment/plan/verify.cue index 0150b5f3..99c3377a 100644 --- a/stdlib/.dagger/env/kubernetes-deployment/plan/verify.cue +++ b/stdlib/.dagger/env/kubernetes-deployment/plan/verify.cue @@ -1,8 +1,8 @@ package main import ( - "dagger.io/dagger/op" - "dagger.io/kubernetes" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/kubernetes" ) #VerifyApply: { diff --git a/stdlib/.dagger/env/kubernetes-helm/plan/helm.cue b/stdlib/.dagger/env/kubernetes-helm/plan/helm.cue index ab06eb13..67735840 100644 --- a/stdlib/.dagger/env/kubernetes-helm/plan/helm.cue +++ b/stdlib/.dagger/env/kubernetes-helm/plan/helm.cue @@ -1,9 +1,9 @@ package main import ( - "dagger.io/kubernetes/helm" - "dagger.io/random" - "dagger.io/dagger" + "alpha.dagger.io/kubernetes/helm" + "alpha.dagger.io/random" + "alpha.dagger.io/dagger" ) // We assume that a kinD cluster is running locally diff --git a/stdlib/.dagger/env/kubernetes-helm/plan/verify.cue b/stdlib/.dagger/env/kubernetes-helm/plan/verify.cue index 581c1121..3acf6921 100644 --- a/stdlib/.dagger/env/kubernetes-helm/plan/verify.cue +++ b/stdlib/.dagger/env/kubernetes-helm/plan/verify.cue @@ -1,8 +1,8 @@ package main import ( - "dagger.io/dagger/op" - "dagger.io/kubernetes" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/kubernetes" ) #VerifyHelm: { diff --git a/stdlib/.dagger/env/kubernetes-kustomize/plan/kustomize.cue b/stdlib/.dagger/env/kubernetes-kustomize/plan/kustomize.cue index 2ebe0682..5daa3652 100644 --- a/stdlib/.dagger/env/kubernetes-kustomize/plan/kustomize.cue +++ b/stdlib/.dagger/env/kubernetes-kustomize/plan/kustomize.cue @@ -2,8 +2,8 @@ package main import ( "encoding/yaml" - "dagger.io/dagger" - "dagger.io/kubernetes/kustomize" + "alpha.dagger.io/dagger" + "alpha.dagger.io/kubernetes/kustomize" ) TestKustomize: { diff --git a/stdlib/.dagger/env/kubernetes-kustomize/plan/verify.cue b/stdlib/.dagger/env/kubernetes-kustomize/plan/verify.cue index 48075413..1e86276c 100644 --- a/stdlib/.dagger/env/kubernetes-kustomize/plan/verify.cue +++ b/stdlib/.dagger/env/kubernetes-kustomize/plan/verify.cue @@ -1,9 +1,9 @@ package main import ( - "dagger.io/dagger/op" - "dagger.io/dagger" - "dagger.io/alpine" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/alpine" ) #VerifyKustomize: { diff --git a/stdlib/.dagger/env/netlify/plan/netlify.cue b/stdlib/.dagger/env/netlify/plan/netlify.cue index 68b35b9c..f506518f 100644 --- a/stdlib/.dagger/env/netlify/plan/netlify.cue +++ b/stdlib/.dagger/env/netlify/plan/netlify.cue @@ -1,10 +1,10 @@ package main import ( - "dagger.io/dagger/op" - "dagger.io/alpine" - "dagger.io/netlify" - "dagger.io/random" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" + "alpha.dagger.io/netlify" + "alpha.dagger.io/random" ) TestNetlify: { diff --git a/stdlib/.dagger/env/os-container/plan/main.cue b/stdlib/.dagger/env/os-container/plan/main.cue index 5b6ebafe..af2836b4 100644 --- a/stdlib/.dagger/env/os-container/plan/main.cue +++ b/stdlib/.dagger/env/os-container/plan/main.cue @@ -1,8 +1,8 @@ package main import ( - "dagger.io/dagger" - "dagger.io/os" + "alpha.dagger.io/dagger" + "alpha.dagger.io/os" ) // Test secret mount diff --git a/stdlib/.dagger/env/os/plan/main.cue b/stdlib/.dagger/env/os/plan/main.cue index bb6a6c7b..9ff1528b 100644 --- a/stdlib/.dagger/env/os/plan/main.cue +++ b/stdlib/.dagger/env/os/plan/main.cue @@ -1,8 +1,8 @@ package main import ( - "dagger.io/os" - "dagger.io/alpine" + "alpha.dagger.io/os" + "alpha.dagger.io/alpine" ) // Write a file to an empty dir diff --git a/stdlib/.dagger/env/sanity-check/.gitignore b/stdlib/.dagger/env/sanity-check/.gitignore new file mode 100644 index 00000000..01ec19b0 --- /dev/null +++ b/stdlib/.dagger/env/sanity-check/.gitignore @@ -0,0 +1,2 @@ +# dagger state +state/** diff --git a/stdlib/.dagger/env/sanity-check/plan/main.cue b/stdlib/.dagger/env/sanity-check/plan/main.cue new file mode 100644 index 00000000..cf0de8ba --- /dev/null +++ b/stdlib/.dagger/env/sanity-check/plan/main.cue @@ -0,0 +1,67 @@ +package main + +import ( + "alpha.dagger.io/dagger" + "alpha.dagger.io/os" + "alpha.dagger.io/alpine" +) + +// Assert that there are no errors +err: "" + +// Directory containing universe packages (./universe/ in dagger repo) +universe: dagger.#Input & dagger.#Artifact + +ctr: #CueCLI & { + vendor: "alpha.dagger.io": universe + command: """ + ( + find . -name '*.cue' -print0 | xargs -0iX dirname X | sort -u | { + + while read -r dir; do + echo "--- $dir" + cue eval "$dir" >/dev/null + done + } > /out 2>/err + ) || true + """ +} + +result: (os.#File & { + from: ctr.ctr + path: "/out" +}).contents @dagger(output) + +err: (os.#File & { + from: ctr.ctr + path: "/err" +}).contents @dagger(output) + +#CueCLI: { + command: string + vendor: [name=string]: dagger.#Artifact + + ctr: os.#Container & { + image: alpine.#Image & { + package: { + curl: true + tar: true + } + } + setup: [ + """ + set -e + cd $(mktemp -d) + curl -L https://github.com/cuelang/cue/releases/download/v0.4.0/cue_v0.4.0_linux_amd64.tar.gz -o cue.tgz + tar zxvf cue.tgz + cp cue /usr/local/bin/cue + rm -fr ./* + """, + ] + for name, dir in vendor { + mount: "/ctx/cue.mod/pkg/\(name)": from: dir + } + dir: "/ctx" + "command": command + } +} diff --git a/stdlib/.dagger/env/sanity-check/values.yaml b/stdlib/.dagger/env/sanity-check/values.yaml new file mode 100644 index 00000000..4f546458 --- /dev/null +++ b/stdlib/.dagger/env/sanity-check/values.yaml @@ -0,0 +1,27 @@ +plan: + module: .dagger/env/sanity-check/plan +name: sanity-check +inputs: + universe: + dir: + path: . +sops: + kms: [] + gcp_kms: [] + azure_kv: [] + hc_vault: [] + age: + - recipient: age1gxwmtwahzwdmrskhf90ppwlnze30lgpm056kuesrxzeuyclrwvpsupwtpk + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBtMjhYeVhscGxYWVg1RHZ2 + bjlWcnFuQ1hvVGVvZGRDYUlpeWpYYUZnWW5nCndObmdoSkpZZXI4MytwNUtsMkwr + ZkY4a01iN1dSL05KaGExSk0rWFpjNzQKLS0tIGF0eVRXalloUERaU2lhZ2gwcG1G + RE1BR1ZvSlpRWnpZVERFQlB5ckhPYk0KMm8XjFKgcjWaXh9F542NXyv9dBZQdZJC + rn5YittfEOwRkrlqBCVwPtU+nhE5oDxnt9a0n8JMUgvB0Nnd6tgP+A== + -----END AGE ENCRYPTED FILE----- + lastmodified: "2021-06-24T15:27:51Z" + mac: ENC[AES256_GCM,data:SDJPXr1NjGSOcHMLmKrzJ9XkFjfXOg7g5pdgXS3fQ4sSALVBqhHSfHJnH2m4NVSJPyOd35ia2/BivTWTGw1oguovLSfSvlptPUDqbwsXQoB2NEFcAJ6eJeDyz8Bx98OrBliyJaVOVYzF4y5dWwW2BGuevW097PbY/Sv3p6x8fyY=,iv:IftNBSOvEn3nGRQlD47At8pvundsXdk68yz+cWct/tU=,tag:XUPxsP39xSjPgvIZNBV09w==,type:str] + pgp: [] + encrypted_suffix: secret + version: 3.7.1 diff --git a/stdlib/.dagger/env/terraform/plan/terraform.cue b/stdlib/.dagger/env/terraform/plan/terraform.cue index e34ea405..ad3d78f7 100644 --- a/stdlib/.dagger/env/terraform/plan/terraform.cue +++ b/stdlib/.dagger/env/terraform/plan/terraform.cue @@ -1,10 +1,10 @@ package terraform import ( - "dagger.io/dagger" - "dagger.io/dagger/op" - "dagger.io/alpine" - "dagger.io/terraform" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" + "alpha.dagger.io/terraform" ) TestData: dagger.#Artifact @dagger(input) diff --git a/stdlib/alpine/alpine.cue b/stdlib/alpine/alpine.cue index 4e9735ac..b7b76a30 100644 --- a/stdlib/alpine/alpine.cue +++ b/stdlib/alpine/alpine.cue @@ -2,7 +2,7 @@ package alpine import ( - "dagger.io/dagger/op" + "alpha.dagger.io/dagger/op" ) // Default Alpine version diff --git a/stdlib/aws/aws.cue b/stdlib/aws/aws.cue index 91648e54..2e0a3ba5 100644 --- a/stdlib/aws/aws.cue +++ b/stdlib/aws/aws.cue @@ -2,9 +2,9 @@ package aws import ( - "dagger.io/dagger" - "dagger.io/dagger/op" - "dagger.io/alpine" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" ) // AWS Config shared by all AWS packages diff --git a/stdlib/aws/cloudformation/cloudformation.cue b/stdlib/aws/cloudformation/cloudformation.cue index 5f55a0a2..50dad7f8 100644 --- a/stdlib/aws/cloudformation/cloudformation.cue +++ b/stdlib/aws/cloudformation/cloudformation.cue @@ -4,8 +4,8 @@ package cloudformation import ( "encoding/json" - "dagger.io/dagger/op" - "dagger.io/aws" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/aws" ) // AWS CloudFormation Stack diff --git a/stdlib/aws/ecr/ecr.cue b/stdlib/aws/ecr/ecr.cue index 4739af01..b6f77594 100644 --- a/stdlib/aws/ecr/ecr.cue +++ b/stdlib/aws/ecr/ecr.cue @@ -2,8 +2,8 @@ package ecr import ( - "dagger.io/aws" - "dagger.io/os" + "alpha.dagger.io/aws" + "alpha.dagger.io/os" ) // Convert ECR credentials to Docker Login format diff --git a/stdlib/aws/ecs/run-task.cue b/stdlib/aws/ecs/run-task.cue index 06b848de..33ac7159 100644 --- a/stdlib/aws/ecs/run-task.cue +++ b/stdlib/aws/ecs/run-task.cue @@ -2,7 +2,7 @@ package ecs import ( - "dagger.io/aws" + "alpha.dagger.io/aws" ) // Task implements ecs run-task for running a single container on ECS diff --git a/stdlib/aws/eks/eks.cue b/stdlib/aws/eks/eks.cue index 0ac2e0b1..db13fb7c 100644 --- a/stdlib/aws/eks/eks.cue +++ b/stdlib/aws/eks/eks.cue @@ -2,8 +2,8 @@ package eks import ( - "dagger.io/dagger/op" - "dagger.io/aws" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/aws" ) // KubeConfig config outputs a valid kube-auth-config for kubectl client diff --git a/stdlib/aws/elb/elb.cue b/stdlib/aws/elb/elb.cue index 5923e75e..8d38c87e 100644 --- a/stdlib/aws/elb/elb.cue +++ b/stdlib/aws/elb/elb.cue @@ -2,8 +2,8 @@ package elb import ( - "dagger.io/dagger/op" - "dagger.io/aws" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/aws" ) // Returns an unused rule priority (randomized in available range) diff --git a/stdlib/aws/rds/rds.cue b/stdlib/aws/rds/rds.cue index 31b429aa..02cedf31 100644 --- a/stdlib/aws/rds/rds.cue +++ b/stdlib/aws/rds/rds.cue @@ -2,9 +2,9 @@ package rds import ( - "dagger.io/dagger/op" + "alpha.dagger.io/dagger/op" "encoding/json" - "dagger.io/aws" + "alpha.dagger.io/aws" ) // Creates a new Database on an existing RDS Instance diff --git a/stdlib/aws/s3/s3.cue b/stdlib/aws/s3/s3.cue index 5749aff5..06772388 100644 --- a/stdlib/aws/s3/s3.cue +++ b/stdlib/aws/s3/s3.cue @@ -2,9 +2,9 @@ package s3 import ( - "dagger.io/dagger" - "dagger.io/dagger/op" - "dagger.io/aws" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/aws" ) // S3 Bucket object(s) sync diff --git a/stdlib/dagger/dagger.cue b/stdlib/dagger/dagger.cue index 28b67351..9731bfb1 100644 --- a/stdlib/dagger/dagger.cue +++ b/stdlib/dagger/dagger.cue @@ -2,7 +2,7 @@ package dagger import ( - "dagger.io/dagger/op" + "alpha.dagger.io/dagger/op" ) // An artifact such as source code checkout, container image, binary archive... diff --git a/stdlib/docker/command.cue b/stdlib/docker/command.cue index d9352e6b..e2be5084 100644 --- a/stdlib/docker/command.cue +++ b/stdlib/docker/command.cue @@ -3,9 +3,9 @@ package docker import ( "strconv" - "dagger.io/alpine" - "dagger.io/dagger" - "dagger.io/dagger/op" + "alpha.dagger.io/alpine" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" ) // A container image that can run any docker command diff --git a/stdlib/docker/docker.cue b/stdlib/docker/docker.cue index 642d1a59..4ddc4475 100644 --- a/stdlib/docker/docker.cue +++ b/stdlib/docker/docker.cue @@ -2,8 +2,8 @@ package docker import ( - "dagger.io/dagger" - "dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" ) // Build a Docker image from source, using included Dockerfile diff --git a/stdlib/gcp/gcloud.cue b/stdlib/gcp/gcloud.cue index c8792ba2..bbbbd5f5 100644 --- a/stdlib/gcp/gcloud.cue +++ b/stdlib/gcp/gcloud.cue @@ -1,8 +1,8 @@ package gcp import ( - "dagger.io/dagger/op" - "dagger.io/alpine" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" ) // Re-usable gcloud component diff --git a/stdlib/gcp/gcp.cue b/stdlib/gcp/gcp.cue index ea0e055e..18e71dff 100644 --- a/stdlib/gcp/gcp.cue +++ b/stdlib/gcp/gcp.cue @@ -2,7 +2,7 @@ package gcp import ( - "dagger.io/dagger" + "alpha.dagger.io/dagger" ) // Base Google Cloud Config diff --git a/stdlib/gcp/gcr/gcr.cue b/stdlib/gcp/gcr/gcr.cue index 5d32fa72..deafcfaf 100644 --- a/stdlib/gcp/gcr/gcr.cue +++ b/stdlib/gcp/gcr/gcr.cue @@ -2,8 +2,8 @@ package gcr import ( - "dagger.io/dagger/op" - "dagger.io/gcp" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/gcp" ) // Credentials retriever for GCR diff --git a/stdlib/gcp/gke/gke.cue b/stdlib/gcp/gke/gke.cue index 6ded54f0..640fd62e 100644 --- a/stdlib/gcp/gke/gke.cue +++ b/stdlib/gcp/gke/gke.cue @@ -2,8 +2,8 @@ package gke import ( - "dagger.io/dagger/op" - "dagger.io/gcp" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/gcp" ) // KubeConfig config outputs a valid kube-auth-config for kubectl client diff --git a/stdlib/git/git.cue b/stdlib/git/git.cue index 8148e144..82d58b5e 100644 --- a/stdlib/git/git.cue +++ b/stdlib/git/git.cue @@ -2,9 +2,9 @@ package git import ( - "dagger.io/dagger" - "dagger.io/dagger/op" - "dagger.io/alpine" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" ) // A git repository diff --git a/stdlib/go/go.cue b/stdlib/go/go.cue index f0de9b20..423dd947 100644 --- a/stdlib/go/go.cue +++ b/stdlib/go/go.cue @@ -2,11 +2,11 @@ package go import ( - "dagger.io/dagger" - "dagger.io/dagger/op" - "dagger.io/docker" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/docker" - "dagger.io/os" + "alpha.dagger.io/os" ) // A standalone go environment diff --git a/stdlib/js/yarn/yarn.cue b/stdlib/js/yarn/yarn.cue index f9471215..7f90dbd3 100644 --- a/stdlib/js/yarn/yarn.cue +++ b/stdlib/js/yarn/yarn.cue @@ -4,9 +4,9 @@ package yarn import ( "strings" - "dagger.io/dagger" - "dagger.io/alpine" - "dagger.io/os" + "alpha.dagger.io/dagger" + "alpha.dagger.io/alpine" + "alpha.dagger.io/os" ) // A Yarn package diff --git a/stdlib/kubernetes/helm/helm.cue b/stdlib/kubernetes/helm/helm.cue index 0544ef92..bf0bca88 100644 --- a/stdlib/kubernetes/helm/helm.cue +++ b/stdlib/kubernetes/helm/helm.cue @@ -4,9 +4,9 @@ package helm import ( "strconv" - "dagger.io/dagger" - "dagger.io/dagger/op" - "dagger.io/kubernetes" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/kubernetes" ) // Install a Helm chart diff --git a/stdlib/kubernetes/kubernetes.cue b/stdlib/kubernetes/kubernetes.cue index 1a6a902c..f98838ab 100644 --- a/stdlib/kubernetes/kubernetes.cue +++ b/stdlib/kubernetes/kubernetes.cue @@ -2,9 +2,9 @@ package kubernetes import ( - "dagger.io/dagger/op" - "dagger.io/dagger" - "dagger.io/alpine" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/alpine" ) // Kubectl client diff --git a/stdlib/kubernetes/kustomize/kustomization.cue b/stdlib/kubernetes/kustomize/kustomization.cue index 4a8b323d..60cf3dd7 100644 --- a/stdlib/kubernetes/kustomize/kustomization.cue +++ b/stdlib/kubernetes/kustomize/kustomization.cue @@ -2,9 +2,9 @@ package kustomize import ( - "dagger.io/dagger/op" - "dagger.io/dagger" - "dagger.io/alpine" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/alpine" ) #Kustomization: { diff --git a/stdlib/netlify/netlify.cue b/stdlib/netlify/netlify.cue index d1c3d293..482d43e5 100644 --- a/stdlib/netlify/netlify.cue +++ b/stdlib/netlify/netlify.cue @@ -2,9 +2,9 @@ package netlify import ( - "dagger.io/dagger" - "dagger.io/alpine" - "dagger.io/os" + "alpha.dagger.io/dagger" + "alpha.dagger.io/alpine" + "alpha.dagger.io/os" ) // Netlify account credentials diff --git a/stdlib/os/container.cue b/stdlib/os/container.cue index 8e8e1e8c..ede2ccbc 100644 --- a/stdlib/os/container.cue +++ b/stdlib/os/container.cue @@ -3,10 +3,10 @@ package os import ( "strings" - "dagger.io/dagger" - "dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" - "dagger.io/alpine" + "alpha.dagger.io/alpine" ) // Default image for basic use cases diff --git a/stdlib/os/dir.cue b/stdlib/os/dir.cue index ed47aaa4..c5afe16b 100644 --- a/stdlib/os/dir.cue +++ b/stdlib/os/dir.cue @@ -1,8 +1,8 @@ package os import ( - "dagger.io/dagger" - "dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" ) #Dir: { diff --git a/stdlib/os/file.cue b/stdlib/os/file.cue index 40ae675d..6a4fb49e 100644 --- a/stdlib/os/file.cue +++ b/stdlib/os/file.cue @@ -2,8 +2,8 @@ package os import ( - "dagger.io/dagger" - "dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" ) // Built-in file implementation, using buildkit diff --git a/stdlib/random/string.cue b/stdlib/random/string.cue index a15891e1..e84d809f 100644 --- a/stdlib/random/string.cue +++ b/stdlib/random/string.cue @@ -4,8 +4,8 @@ package random import ( "strconv" - "dagger.io/alpine" - "dagger.io/dagger/op" + "alpha.dagger.io/alpine" + "alpha.dagger.io/dagger/op" ) // Generate a random string diff --git a/stdlib/stdlib.go b/stdlib/stdlib.go index 48aa9907..b2ac9019 100644 --- a/stdlib/stdlib.go +++ b/stdlib/stdlib.go @@ -10,6 +10,6 @@ var ( //go:embed **/*.cue **/*/*.cue FS embed.FS - PackageName = "dagger.io" + PackageName = "alpha.dagger.io" Path = path.Join("cue.mod", "pkg", PackageName) ) diff --git a/stdlib/terraform/terraform.cue b/stdlib/terraform/terraform.cue index 703a7113..1e6ab939 100644 --- a/stdlib/terraform/terraform.cue +++ b/stdlib/terraform/terraform.cue @@ -4,8 +4,8 @@ package terraform import ( "encoding/json" - "dagger.io/dagger" - "dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" ) // Terraform configuration diff --git a/stdlib/universe.bats b/stdlib/universe.bats index 55be3aa8..90548f1b 100644 --- a/stdlib/universe.bats +++ b/stdlib/universe.bats @@ -4,6 +4,10 @@ setup() { common_setup } +@test "cue-sanity-check" { + dagger -e sanity-check up +} + @test "os" { dagger -e os up diff --git a/tests/cli.bats b/tests/cli.bats index 8fcc086e..044377fa 100644 --- a/tests/cli.bats +++ b/tests/cli.bats @@ -69,8 +69,8 @@ setup() { ln -s "$TESTDIR"/cli/packages "$DAGGER_WORKSPACE"/plan - "$DAGGER" new "a" --module "$DAGGER_WORKSPACE"/plan --package dagger.io/test/a - "$DAGGER" new "b" --module "$DAGGER_WORKSPACE"/plan --package dagger.io/test/b + "$DAGGER" new "a" --module "$DAGGER_WORKSPACE"/plan --package alpha.dagger.io/test/a + "$DAGGER" new "b" --module "$DAGGER_WORKSPACE"/plan --package alpha.dagger.io/test/b "$DAGGER" up -e "a" "$DAGGER" up -e "b" diff --git a/tests/cli/input/artifact/main.cue b/tests/cli/input/artifact/main.cue index aa8f8737..e9423a0a 100644 --- a/tests/cli/input/artifact/main.cue +++ b/tests/cli/input/artifact/main.cue @@ -1,8 +1,8 @@ package testing import ( - "dagger.io/dagger/op" - "dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/dagger" ) source: dagger.#Artifact diff --git a/tests/cli/input/ignore/main.cue b/tests/cli/input/ignore/main.cue index 8cd23563..f08eb7d7 100644 --- a/tests/cli/input/ignore/main.cue +++ b/tests/cli/input/ignore/main.cue @@ -1,8 +1,8 @@ package testing import ( - "dagger.io/dagger/op" - "dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/dagger" ) source: dagger.#Artifact diff --git a/tests/cli/input/list/main.cue b/tests/cli/input/list/main.cue index 794c07be..01ec455c 100644 --- a/tests/cli/input/list/main.cue +++ b/tests/cli/input/list/main.cue @@ -1,8 +1,8 @@ package main import ( - "dagger.io/dagger" - "dagger.io/aws" + "alpha.dagger.io/dagger" + "alpha.dagger.io/aws" ) awsConfig: aws.#Config & { diff --git a/tests/cli/output/list/main.cue b/tests/cli/output/list/main.cue index a19ae14d..95cabedc 100644 --- a/tests/cli/output/list/main.cue +++ b/tests/cli/output/list/main.cue @@ -1,7 +1,7 @@ package main import ( - "dagger.io/dagger" + "alpha.dagger.io/dagger" ) #A: { diff --git a/tests/cli/packages/a/main.cue b/tests/cli/packages/a/main.cue index 665d2d5e..01440d18 100644 --- a/tests/cli/packages/a/main.cue +++ b/tests/cli/packages/a/main.cue @@ -1,6 +1,6 @@ package a -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" exp: { string diff --git a/tests/cli/packages/b/main.cue b/tests/cli/packages/b/main.cue index a0e5806b..a8c337ff 100644 --- a/tests/cli/packages/b/main.cue +++ b/tests/cli/packages/b/main.cue @@ -1,6 +1,6 @@ package b -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" exp: { string diff --git a/tests/cli/packages/cue.mod/module.cue b/tests/cli/packages/cue.mod/module.cue index 8f2d4fdb..c0728a77 100644 --- a/tests/cli/packages/cue.mod/module.cue +++ b/tests/cli/packages/cue.mod/module.cue @@ -1 +1 @@ -module: "dagger.io/test" +module: "alpha.dagger.io/test" diff --git a/tests/cli/simple/main.cue b/tests/cli/simple/main.cue index 42621fef..672beced 100644 --- a/tests/cli/simple/main.cue +++ b/tests/cli/simple/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" foo: "value" bar: "another value" diff --git a/tests/compute/dockersocket/main.cue b/tests/compute/dockersocket/main.cue index 7b97f7b2..a554623c 100644 --- a/tests/compute/dockersocket/main.cue +++ b/tests/compute/dockersocket/main.cue @@ -1,8 +1,8 @@ package main import ( - "dagger.io/dagger/op" - "dagger.io/docker" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/docker" ) TestDockerSocket: #up: [ diff --git a/tests/compute/exclude/.dagger/env/default/plan/main.cue b/tests/compute/exclude/.dagger/env/default/plan/main.cue index b86eecb5..682e4316 100644 --- a/tests/compute/exclude/.dagger/env/default/plan/main.cue +++ b/tests/compute/exclude/.dagger/env/default/plan/main.cue @@ -1,9 +1,9 @@ package testing import ( - "dagger.io/alpine" - "dagger.io/dagger" - "dagger.io/dagger/op" + "alpha.dagger.io/alpine" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" ) TestData: dagger.#Artifact diff --git a/tests/compute/secrets/invalid/env/env.cue b/tests/compute/secrets/invalid/env/env.cue index bfded599..bfe94379 100644 --- a/tests/compute/secrets/invalid/env/env.cue +++ b/tests/compute/secrets/invalid/env/env.cue @@ -1,9 +1,9 @@ package testing import ( - "dagger.io/dagger" - "dagger.io/dagger/op" - "dagger.io/alpine" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" ) mySecret: dagger.#Secret diff --git a/tests/compute/secrets/invalid/string/string.cue b/tests/compute/secrets/invalid/string/string.cue index 2015a1d7..aa194dee 100644 --- a/tests/compute/secrets/invalid/string/string.cue +++ b/tests/compute/secrets/invalid/string/string.cue @@ -1,8 +1,8 @@ package testing import ( - "dagger.io/dagger/op" - "dagger.io/alpine" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" ) mySecret: dagger.#Secret diff --git a/tests/compute/secrets/simple/simple.cue b/tests/compute/secrets/simple/simple.cue index 4d1f5ca6..0b8d3d7f 100644 --- a/tests/compute/secrets/simple/simple.cue +++ b/tests/compute/secrets/simple/simple.cue @@ -1,9 +1,9 @@ package testing import ( - "dagger.io/dagger" - "dagger.io/dagger/op" - "dagger.io/alpine" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" ) mySecret: dagger.#Secret diff --git a/tests/compute/success/exec-nocache/main.cue b/tests/compute/success/exec-nocache/main.cue index fb9eef6b..6609cdbd 100644 --- a/tests/compute/success/exec-nocache/main.cue +++ b/tests/compute/success/exec-nocache/main.cue @@ -1,8 +1,8 @@ package main import ( - "dagger.io/alpine" - "dagger.io/dagger/op" + "alpha.dagger.io/alpine" + "alpha.dagger.io/dagger/op" ) rand: { diff --git a/tests/ops/copy/invalid/cache/main.cue b/tests/ops/copy/invalid/cache/main.cue index 266abddb..8fef0a56 100644 --- a/tests/ops/copy/invalid/cache/main.cue +++ b/tests/ops/copy/invalid/cache/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestCacheCopyLoadAlpine: { string diff --git a/tests/ops/copy/valid/component/main.cue b/tests/ops/copy/valid/component/main.cue index 239233fd..6af0f5d6 100644 --- a/tests/ops/copy/valid/component/main.cue +++ b/tests/ops/copy/valid/component/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestComponent: #up: [ op.#FetchContainer & { diff --git a/tests/ops/copy/valid/script/main.cue b/tests/ops/copy/valid/script/main.cue index e51539e2..fe85ac53 100644 --- a/tests/ops/copy/valid/script/main.cue +++ b/tests/ops/copy/valid/script/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestScriptCopy: { string diff --git a/tests/ops/dockerbuild/main.cue b/tests/ops/dockerbuild/main.cue index 4e966f72..3f1fb7f0 100644 --- a/tests/ops/dockerbuild/main.cue +++ b/tests/ops/dockerbuild/main.cue @@ -1,8 +1,8 @@ package testing import ( - "dagger.io/dagger" - "dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" ) // Set to `--input-dir=./tests/dockerbuild/testdata` diff --git a/tests/ops/exec/always/main.cue b/tests/ops/exec/always/main.cue index dad2f1b4..6305ee94 100644 --- a/tests/ops/exec/always/main.cue +++ b/tests/ops/exec/always/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/exec/dir/doesnotexist/main.cue b/tests/ops/exec/dir/doesnotexist/main.cue index adcb9f80..d96a40be 100644 --- a/tests/ops/exec/dir/doesnotexist/main.cue +++ b/tests/ops/exec/dir/doesnotexist/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/exec/dir/exist/main.cue b/tests/ops/exec/dir/exist/main.cue index 28e74fa2..26bed476 100644 --- a/tests/ops/exec/dir/exist/main.cue +++ b/tests/ops/exec/dir/exist/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/exec/env/invalid/main.cue b/tests/ops/exec/env/invalid/main.cue index e9c5a331..6b79d5e4 100644 --- a/tests/ops/exec/env/invalid/main.cue +++ b/tests/ops/exec/env/invalid/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/exec/env/overlay/main.cue b/tests/ops/exec/env/overlay/main.cue index 35e8bfc3..92367318 100644 --- a/tests/ops/exec/env/overlay/main.cue +++ b/tests/ops/exec/env/overlay/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" bar: string diff --git a/tests/ops/exec/env/valid/main.cue b/tests/ops/exec/env/valid/main.cue index b378e4c1..a6af1699 100644 --- a/tests/ops/exec/env/valid/main.cue +++ b/tests/ops/exec/env/valid/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/exec/error/main.cue b/tests/ops/exec/error/main.cue index 8347c5ae..4fa7b8ee 100644 --- a/tests/ops/exec/error/main.cue +++ b/tests/ops/exec/error/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/exec/exit_code/main.cue b/tests/ops/exec/exit_code/main.cue index d83a1e77..23a6a8a0 100644 --- a/tests/ops/exec/exit_code/main.cue +++ b/tests/ops/exec/exit_code/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/exec/invalid/main.cue b/tests/ops/exec/invalid/main.cue index e1feea27..8a271fcd 100644 --- a/tests/ops/exec/invalid/main.cue +++ b/tests/ops/exec/invalid/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/exec/simple/main.cue b/tests/ops/exec/simple/main.cue index 4ec86863..bf9c9400 100644 --- a/tests/ops/exec/simple/main.cue +++ b/tests/ops/exec/simple/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/exec/undefined/non_concrete_not_referenced/main.cue b/tests/ops/exec/undefined/non_concrete_not_referenced/main.cue index 85b6a817..ad4952b8 100644 --- a/tests/ops/exec/undefined/non_concrete_not_referenced/main.cue +++ b/tests/ops/exec/undefined/non_concrete_not_referenced/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" hello: "world" bar: string diff --git a/tests/ops/exec/undefined/non_concrete_referenced/main.cue b/tests/ops/exec/undefined/non_concrete_referenced/main.cue index 3a1e8796..62c9a255 100644 --- a/tests/ops/exec/undefined/non_concrete_referenced/main.cue +++ b/tests/ops/exec/undefined/non_concrete_referenced/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" hello: "world" bar: string diff --git a/tests/ops/exec/undefined/with_pkg_def/cue.mod/module.cue b/tests/ops/exec/undefined/with_pkg_def/cue.mod/module.cue index 38b913a1..7e830608 100644 --- a/tests/ops/exec/undefined/with_pkg_def/cue.mod/module.cue +++ b/tests/ops/exec/undefined/with_pkg_def/cue.mod/module.cue @@ -1 +1 @@ -module: "dagger.io/testing" +module: "alpha.dagger.io/testing" diff --git a/tests/ops/exec/undefined/with_pkg_def/cue.mod/pkg/dagger.io/def/main.cue b/tests/ops/exec/undefined/with_pkg_def/cue.mod/pkg/alpha.dagger.io/def/main.cue similarity index 100% rename from tests/ops/exec/undefined/with_pkg_def/cue.mod/pkg/dagger.io/def/main.cue rename to tests/ops/exec/undefined/with_pkg_def/cue.mod/pkg/alpha.dagger.io/def/main.cue diff --git a/tests/ops/exec/undefined/with_pkg_def/main.cue b/tests/ops/exec/undefined/with_pkg_def/main.cue index cd8a98b5..50d175a9 100644 --- a/tests/ops/exec/undefined/with_pkg_def/main.cue +++ b/tests/ops/exec/undefined/with_pkg_def/main.cue @@ -1,8 +1,8 @@ package testing import ( - "dagger.io/dagger/op" - "dagger.io/def" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/def" ) #up: [ diff --git a/tests/ops/exec/undefined/with_pkg_mandatory/cue.mod/module.cue b/tests/ops/exec/undefined/with_pkg_mandatory/cue.mod/module.cue index 38b913a1..7e830608 100644 --- a/tests/ops/exec/undefined/with_pkg_mandatory/cue.mod/module.cue +++ b/tests/ops/exec/undefined/with_pkg_mandatory/cue.mod/module.cue @@ -1 +1 @@ -module: "dagger.io/testing" +module: "alpha.dagger.io/testing" diff --git a/tests/ops/exec/undefined/with_pkg_mandatory/cue.mod/pkg/dagger.io/nonoptional/main.cue b/tests/ops/exec/undefined/with_pkg_mandatory/cue.mod/pkg/alpha.dagger.io/nonoptional/main.cue similarity index 100% rename from tests/ops/exec/undefined/with_pkg_mandatory/cue.mod/pkg/dagger.io/nonoptional/main.cue rename to tests/ops/exec/undefined/with_pkg_mandatory/cue.mod/pkg/alpha.dagger.io/nonoptional/main.cue diff --git a/tests/ops/exec/undefined/with_pkg_mandatory/main.cue b/tests/ops/exec/undefined/with_pkg_mandatory/main.cue index e6673db4..e2421bd1 100644 --- a/tests/ops/exec/undefined/with_pkg_mandatory/main.cue +++ b/tests/ops/exec/undefined/with_pkg_mandatory/main.cue @@ -1,8 +1,8 @@ package testing import ( - "dagger.io/nonoptional" - "dagger.io/dagger/op" + "alpha.dagger.io/nonoptional" + "alpha.dagger.io/dagger/op" ) #up: [ diff --git a/tests/ops/exec/undefined/with_pkg_optional/cue.mod/module.cue b/tests/ops/exec/undefined/with_pkg_optional/cue.mod/module.cue index 38b913a1..7e830608 100644 --- a/tests/ops/exec/undefined/with_pkg_optional/cue.mod/module.cue +++ b/tests/ops/exec/undefined/with_pkg_optional/cue.mod/module.cue @@ -1 +1 @@ -module: "dagger.io/testing" +module: "alpha.dagger.io/testing" diff --git a/tests/ops/exec/undefined/with_pkg_optional/cue.mod/pkg/dagger.io/optional/main.cue b/tests/ops/exec/undefined/with_pkg_optional/cue.mod/pkg/alpha.dagger.io/optional/main.cue similarity index 100% rename from tests/ops/exec/undefined/with_pkg_optional/cue.mod/pkg/dagger.io/optional/main.cue rename to tests/ops/exec/undefined/with_pkg_optional/cue.mod/pkg/alpha.dagger.io/optional/main.cue diff --git a/tests/ops/exec/undefined/with_pkg_optional/main.cue b/tests/ops/exec/undefined/with_pkg_optional/main.cue index 59569918..1dbc5f88 100644 --- a/tests/ops/exec/undefined/with_pkg_optional/main.cue +++ b/tests/ops/exec/undefined/with_pkg_optional/main.cue @@ -1,8 +1,8 @@ package testing import ( - "dagger.io/optional" - "dagger.io/dagger/op" + "alpha.dagger.io/optional" + "alpha.dagger.io/dagger/op" ) #up: [ diff --git a/tests/ops/export/bool/main.cue b/tests/ops/export/bool/main.cue index 604b033a..51327ec1 100644 --- a/tests/ops/export/bool/main.cue +++ b/tests/ops/export/bool/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestExportBool: { bool diff --git a/tests/ops/export/concurrency/main.cue b/tests/ops/export/concurrency/main.cue index 36832bec..1711b810 100644 --- a/tests/ops/export/concurrency/main.cue +++ b/tests/ops/export/concurrency/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestExportConcurrency1: { string diff --git a/tests/ops/export/float/main.cue b/tests/ops/export/float/main.cue index 5382a1eb..701700d2 100644 --- a/tests/ops/export/float/main.cue +++ b/tests/ops/export/float/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestExportFloat: { float diff --git a/tests/ops/export/invalid/format/main.cue b/tests/ops/export/invalid/format/main.cue index d74428d7..0f61829e 100644 --- a/tests/ops/export/invalid/format/main.cue +++ b/tests/ops/export/invalid/format/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestExportInvalidFormat: { string diff --git a/tests/ops/export/invalid/validation/main.cue b/tests/ops/export/invalid/validation/main.cue index 931bd291..f1ce3ee3 100644 --- a/tests/ops/export/invalid/validation/main.cue +++ b/tests/ops/export/invalid/validation/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestExportInvalidValidation: { string diff --git a/tests/ops/export/json/main.cue b/tests/ops/export/json/main.cue index df3341d6..5ee735d8 100644 --- a/tests/ops/export/json/main.cue +++ b/tests/ops/export/json/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestExportScalar: { bool diff --git a/tests/ops/export/number/main.cue b/tests/ops/export/number/main.cue index 5fa8c376..5aa6d567 100644 --- a/tests/ops/export/number/main.cue +++ b/tests/ops/export/number/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestExportNumber: { number diff --git a/tests/ops/export/string/main.cue b/tests/ops/export/string/main.cue index b5bc85e8..a1ab778a 100644 --- a/tests/ops/export/string/main.cue +++ b/tests/ops/export/string/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestExportString: { string diff --git a/tests/ops/export/withvalidation/main.cue b/tests/ops/export/withvalidation/main.cue index 6e604137..e1d6f935 100644 --- a/tests/ops/export/withvalidation/main.cue +++ b/tests/ops/export/withvalidation/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestExportStringValidation: { string diff --git a/tests/ops/export/yaml/main.cue b/tests/ops/export/yaml/main.cue index 35e6b07c..fca9b8e5 100644 --- a/tests/ops/export/yaml/main.cue +++ b/tests/ops/export/yaml/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestExportScalar: { bool diff --git a/tests/ops/fetch-container/exist/main.cue b/tests/ops/fetch-container/exist/main.cue index 58c592fd..f024ce12 100644 --- a/tests/ops/fetch-container/exist/main.cue +++ b/tests/ops/fetch-container/exist/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestBusybox1: #up: [ op.#FetchContainer & { diff --git a/tests/ops/fetch-container/invalid/main.cue b/tests/ops/fetch-container/invalid/main.cue index 0de73875..0bec0af0 100644 --- a/tests/ops/fetch-container/invalid/main.cue +++ b/tests/ops/fetch-container/invalid/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/fetch-container/nonexistent/digest/main.cue b/tests/ops/fetch-container/nonexistent/digest/main.cue index e41a0af6..ce559e4b 100644 --- a/tests/ops/fetch-container/nonexistent/digest/main.cue +++ b/tests/ops/fetch-container/nonexistent/digest/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/fetch-container/nonexistent/image-with-valid-digest/main.cue b/tests/ops/fetch-container/nonexistent/image-with-valid-digest/main.cue index 7eaa1468..8adf89a3 100644 --- a/tests/ops/fetch-container/nonexistent/image-with-valid-digest/main.cue +++ b/tests/ops/fetch-container/nonexistent/image-with-valid-digest/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" // XXX WATCHOUT // Once buildkit has pulled that digest, it will stay cached and happily succeed WHATEVER the image name then is diff --git a/tests/ops/fetch-container/nonexistent/image/main.cue b/tests/ops/fetch-container/nonexistent/image/main.cue index d32c238a..7216d7db 100644 --- a/tests/ops/fetch-container/nonexistent/image/main.cue +++ b/tests/ops/fetch-container/nonexistent/image/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/fetch-container/nonexistent/tag/main.cue b/tests/ops/fetch-container/nonexistent/tag/main.cue index cc24916a..f8a670b0 100644 --- a/tests/ops/fetch-container/nonexistent/tag/main.cue +++ b/tests/ops/fetch-container/nonexistent/tag/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchContainer & { diff --git a/tests/ops/fetch-git/exist/main.cue b/tests/ops/fetch-git/exist/main.cue index dc8cf641..fc54f838 100644 --- a/tests/ops/fetch-git/exist/main.cue +++ b/tests/ops/fetch-git/exist/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchGit & { diff --git a/tests/ops/fetch-git/gitdir/main.cue b/tests/ops/fetch-git/gitdir/main.cue index 61fc0607..0f58dcc9 100644 --- a/tests/ops/fetch-git/gitdir/main.cue +++ b/tests/ops/fetch-git/gitdir/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" repo1: #up: [ op.#FetchGit & { diff --git a/tests/ops/fetch-git/invalid/main.cue b/tests/ops/fetch-git/invalid/main.cue index dac913c6..8e653fbd 100644 --- a/tests/ops/fetch-git/invalid/main.cue +++ b/tests/ops/fetch-git/invalid/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchGit & { diff --git a/tests/ops/fetch-git/nonexistent/bork/main.cue b/tests/ops/fetch-git/nonexistent/bork/main.cue index 9d8cab55..9d3d67d1 100644 --- a/tests/ops/fetch-git/nonexistent/bork/main.cue +++ b/tests/ops/fetch-git/nonexistent/bork/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchGit & { diff --git a/tests/ops/fetch-git/nonexistent/ref/main.cue b/tests/ops/fetch-git/nonexistent/ref/main.cue index 618075ac..1f9b2d60 100644 --- a/tests/ops/fetch-git/nonexistent/ref/main.cue +++ b/tests/ops/fetch-git/nonexistent/ref/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchGit & { diff --git a/tests/ops/fetch-git/nonexistent/remote/main.cue b/tests/ops/fetch-git/nonexistent/remote/main.cue index 4193c76f..4a18f303 100644 --- a/tests/ops/fetch-git/nonexistent/remote/main.cue +++ b/tests/ops/fetch-git/nonexistent/remote/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #up: [ op.#FetchGit & { diff --git a/tests/ops/load/invalid/cache/main.cue b/tests/ops/load/invalid/cache/main.cue index 5191fa53..2b0873d4 100644 --- a/tests/ops/load/invalid/cache/main.cue +++ b/tests/ops/load/invalid/cache/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" test1: { string diff --git a/tests/ops/load/valid/component/main.cue b/tests/ops/load/valid/component/main.cue index 05e9d75e..574c0abd 100644 --- a/tests/ops/load/valid/component/main.cue +++ b/tests/ops/load/valid/component/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestComponent: #up: [ op.#FetchContainer & { diff --git a/tests/ops/load/valid/script/main.cue b/tests/ops/load/valid/script/main.cue index d4184b09..d74567ed 100644 --- a/tests/ops/load/valid/script/main.cue +++ b/tests/ops/load/valid/script/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" test: { string diff --git a/tests/ops/mounts/valid/cache/main.cue b/tests/ops/mounts/valid/cache/main.cue index 69b9d603..4159723b 100644 --- a/tests/ops/mounts/valid/cache/main.cue +++ b/tests/ops/mounts/valid/cache/main.cue @@ -1,7 +1,7 @@ package testing import ( - "dagger.io/dagger/op" + "alpha.dagger.io/dagger/op" ) TestMountCache: { diff --git a/tests/ops/mounts/valid/component/main.cue b/tests/ops/mounts/valid/component/main.cue index 836673aa..2c9b5f47 100644 --- a/tests/ops/mounts/valid/component/main.cue +++ b/tests/ops/mounts/valid/component/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" test: { string diff --git a/tests/ops/mounts/valid/script/main.cue b/tests/ops/mounts/valid/script/main.cue index 2ccc40bb..afde31f5 100644 --- a/tests/ops/mounts/valid/script/main.cue +++ b/tests/ops/mounts/valid/script/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestInvalidMountPath: { string diff --git a/tests/ops/mounts/valid/tmpfs/main.cue b/tests/ops/mounts/valid/tmpfs/main.cue index 7980a56d..71699d83 100644 --- a/tests/ops/mounts/valid/tmpfs/main.cue +++ b/tests/ops/mounts/valid/tmpfs/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestMountTmpfs: { string diff --git a/tests/ops/push-container/main.cue b/tests/ops/push-container/main.cue index 13e3827a..7761c0a7 100644 --- a/tests/ops/push-container/main.cue +++ b/tests/ops/push-container/main.cue @@ -1,9 +1,9 @@ package main import ( - "dagger.io/dagger/op" - "dagger.io/alpine" - "dagger.io/random" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" + "alpha.dagger.io/random" ) registry: { diff --git a/tests/ops/subdir/invalid/exec/main.cue b/tests/ops/subdir/invalid/exec/main.cue index 19442466..8c42c368 100644 --- a/tests/ops/subdir/invalid/exec/main.cue +++ b/tests/ops/subdir/invalid/exec/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestInvalidExecSubdir: { string diff --git a/tests/ops/subdir/invalid/path/main.cue b/tests/ops/subdir/invalid/path/main.cue index 4b61a118..cbfd9ed1 100644 --- a/tests/ops/subdir/invalid/path/main.cue +++ b/tests/ops/subdir/invalid/path/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestInvalidPathSubdir: { string diff --git a/tests/ops/subdir/valid/container/main.cue b/tests/ops/subdir/valid/container/main.cue index 13219f2d..26311b10 100644 --- a/tests/ops/subdir/valid/container/main.cue +++ b/tests/ops/subdir/valid/container/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" #TestContainer: #up: [ op.#FetchContainer & { diff --git a/tests/ops/subdir/valid/simple/main.cue b/tests/ops/subdir/valid/simple/main.cue index 639eed63..384c3f38 100644 --- a/tests/ops/subdir/valid/simple/main.cue +++ b/tests/ops/subdir/valid/simple/main.cue @@ -1,6 +1,6 @@ package testing -import "dagger.io/dagger/op" +import "alpha.dagger.io/dagger/op" TestSimpleSubdir: { string diff --git a/tests/stdlib/docker/push-pull/push-pull.cue b/tests/stdlib/docker/push-pull/push-pull.cue index edaad5b3..5ca34cf8 100644 --- a/tests/stdlib/docker/push-pull/push-pull.cue +++ b/tests/stdlib/docker/push-pull/push-pull.cue @@ -1,11 +1,11 @@ package main import ( - "dagger.io/dagger" - "dagger.io/dagger/op" - "dagger.io/alpine" - "dagger.io/docker" - "dagger.io/random" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" + "alpha.dagger.io/docker" + "alpha.dagger.io/random" ) source: dagger.#Artifact