From 2fbb9e7744371a478ffed094e835a92092b423d5 Mon Sep 17 00:00:00 2001 From: Tom Chauveau Date: Fri, 25 Jun 2021 15:45:33 +0200 Subject: [PATCH] Update import to alpha version Signed-off-by: Tom Chauveau --- cmd/dagger/cmd/doc.go | 2 +- stdlib/aws/ecr/tests/ecr.cue | 6 +++--- stdlib/aws/eks/tests/eks.cue | 6 +++--- stdlib/aws/s3/tests/s3.cue | 4 ++-- stdlib/docker/tests/build/dockerfile.cue | 4 ++-- stdlib/docker/tests/command-ssh-key-passphrase/command.cue | 2 +- .../tests/command-ssh-wrong-key-passphrase/command.cue | 2 +- stdlib/docker/tests/command-ssh/command.cue | 2 +- stdlib/docker/tests/run-local/local.cue | 2 +- stdlib/docker/tests/run-ssh/simple.cue | 4 ++-- stdlib/go/tests/go.cue | 6 +++--- stdlib/js/yarn/tests/yarn.cue | 6 +++--- stdlib/kubernetes/helm/tests/helm.cue | 4 ++-- stdlib/kubernetes/kustomize/tests/kustomize.cue | 2 +- stdlib/kubernetes/tests/kubernetes.cue | 2 +- stdlib/kubernetes/tests/verify.cue | 2 +- stdlib/netlify/tests/netlify.cue | 6 +++--- stdlib/os/tests/container/container.cue | 2 +- stdlib/os/tests/os/os.cue | 2 +- stdlib/terraform/tests/terraform.cue | 6 +++--- 20 files changed, 36 insertions(+), 36 deletions(-) diff --git a/cmd/dagger/cmd/doc.go b/cmd/dagger/cmd/doc.go index 765ed609..e76aa2b9 100644 --- a/cmd/dagger/cmd/doc.go +++ b/cmd/dagger/cmd/doc.go @@ -338,7 +338,7 @@ func walkStdlib(ctx context.Context, output, format string) { } // Ignore tests directories - if strings.Contains(p, "tests") { + if d.Name() == "tests" { return nil } diff --git a/stdlib/aws/ecr/tests/ecr.cue b/stdlib/aws/ecr/tests/ecr.cue index b4e1c9eb..c78a68eb 100644 --- a/stdlib/aws/ecr/tests/ecr.cue +++ b/stdlib/aws/ecr/tests/ecr.cue @@ -1,9 +1,9 @@ package ecr import ( - "dagger.io/aws" - "dagger.io/dagger/op" - "dagger.io/random" + "alpha.dagger.io/aws" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/random" ) TestConfig: awsConfig: aws.#Config & { diff --git a/stdlib/aws/eks/tests/eks.cue b/stdlib/aws/eks/tests/eks.cue index 370ad6b1..bbaef4f1 100644 --- a/stdlib/aws/eks/tests/eks.cue +++ b/stdlib/aws/eks/tests/eks.cue @@ -1,9 +1,9 @@ package eks import ( - "dagger.io/aws" - "dagger.io/kubernetes" - "dagger.io/dagger/op" + "alpha.dagger.io/aws" + "alpha.dagger.io/kubernetes" + "alpha.dagger.io/dagger/op" ) TestConfig: awsConfig: aws.#Config & { diff --git a/stdlib/aws/s3/tests/s3.cue b/stdlib/aws/s3/tests/s3.cue index 1af2065b..a304a75c 100644 --- a/stdlib/aws/s3/tests/s3.cue +++ b/stdlib/aws/s3/tests/s3.cue @@ -1,8 +1,8 @@ package s3 import ( - "dagger.io/dagger" - "dagger.io/aws" + "alpha.dagger.io/dagger" + "alpha.dagger.io/aws" ) TestConfig: awsConfig: aws.#Config & { diff --git a/stdlib/docker/tests/build/dockerfile.cue b/stdlib/docker/tests/build/dockerfile.cue index 5fea144e..894f2b66 100644 --- a/stdlib/docker/tests/build/dockerfile.cue +++ b/stdlib/docker/tests/build/dockerfile.cue @@ -1,8 +1,8 @@ package docker import ( - "dagger.io/dagger" - "dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" ) TestSourceBuild: dagger.#Artifact @dagger(input) diff --git a/stdlib/docker/tests/command-ssh-key-passphrase/command.cue b/stdlib/docker/tests/command-ssh-key-passphrase/command.cue index bdd446cf..dab3694f 100644 --- a/stdlib/docker/tests/command-ssh-key-passphrase/command.cue +++ b/stdlib/docker/tests/command-ssh-key-passphrase/command.cue @@ -1,7 +1,7 @@ package docker import ( - "dagger.io/dagger" + "alpha.dagger.io/dagger" ) TestConfig: { diff --git a/stdlib/docker/tests/command-ssh-wrong-key-passphrase/command.cue b/stdlib/docker/tests/command-ssh-wrong-key-passphrase/command.cue index 7d2b1ca6..096ee42e 100644 --- a/stdlib/docker/tests/command-ssh-wrong-key-passphrase/command.cue +++ b/stdlib/docker/tests/command-ssh-wrong-key-passphrase/command.cue @@ -1,7 +1,7 @@ package docker import ( - "dagger.io/dagger" + "alpha.dagger.io/dagger" ) TestConfig: { diff --git a/stdlib/docker/tests/command-ssh/command.cue b/stdlib/docker/tests/command-ssh/command.cue index 9f1602fa..830c2416 100644 --- a/stdlib/docker/tests/command-ssh/command.cue +++ b/stdlib/docker/tests/command-ssh/command.cue @@ -1,7 +1,7 @@ package docker import ( - "dagger.io/dagger" + "alpha.dagger.io/dagger" ) TestConfig: { diff --git a/stdlib/docker/tests/run-local/local.cue b/stdlib/docker/tests/run-local/local.cue index 2f07cc98..36e4f95f 100644 --- a/stdlib/docker/tests/run-local/local.cue +++ b/stdlib/docker/tests/run-local/local.cue @@ -1,7 +1,7 @@ package docker import ( - "dagger.io/random" + "alpha.dagger.io/random" ) suffix: random.#String & { diff --git a/stdlib/docker/tests/run-ssh/simple.cue b/stdlib/docker/tests/run-ssh/simple.cue index 1c593ae5..386cf930 100644 --- a/stdlib/docker/tests/run-ssh/simple.cue +++ b/stdlib/docker/tests/run-ssh/simple.cue @@ -1,8 +1,8 @@ package docker import ( - "dagger.io/dagger" - "dagger.io/random" + "alpha.dagger.io/dagger" + "alpha.dagger.io/random" ) TestConfig: { diff --git a/stdlib/go/tests/go.cue b/stdlib/go/tests/go.cue index 40421c9d..705e40b7 100644 --- a/stdlib/go/tests/go.cue +++ b/stdlib/go/tests/go.cue @@ -1,9 +1,9 @@ package go import ( - "dagger.io/dagger" - "dagger.io/alpine" - "dagger.io/dagger/op" + "alpha.dagger.io/dagger" + "alpha.dagger.io/alpine" + "alpha.dagger.io/dagger/op" ) TestData: dagger.#Artifact @dagger(input) diff --git a/stdlib/js/yarn/tests/yarn.cue b/stdlib/js/yarn/tests/yarn.cue index 64bf3ac8..6f52cb8b 100644 --- a/stdlib/js/yarn/tests/yarn.cue +++ b/stdlib/js/yarn/tests/yarn.cue @@ -1,9 +1,9 @@ package yarn import ( - "dagger.io/dagger" - "dagger.io/alpine" - "dagger.io/os" + "alpha.dagger.io/dagger" + "alpha.dagger.io/alpine" + "alpha.dagger.io/os" ) TestData: dagger.#Artifact diff --git a/stdlib/kubernetes/helm/tests/helm.cue b/stdlib/kubernetes/helm/tests/helm.cue index 5f1ba5a0..5fa61f70 100644 --- a/stdlib/kubernetes/helm/tests/helm.cue +++ b/stdlib/kubernetes/helm/tests/helm.cue @@ -1,8 +1,8 @@ package helm import ( - "dagger.io/random" - "dagger.io/dagger" + "alpha.dagger.io/random" + "alpha.dagger.io/dagger" ) // We assume that a kinD cluster is running locally diff --git a/stdlib/kubernetes/kustomize/tests/kustomize.cue b/stdlib/kubernetes/kustomize/tests/kustomize.cue index bcaa4699..f1f204be 100644 --- a/stdlib/kubernetes/kustomize/tests/kustomize.cue +++ b/stdlib/kubernetes/kustomize/tests/kustomize.cue @@ -2,7 +2,7 @@ package kustomize import ( "encoding/yaml" - "dagger.io/dagger" + "alpha.dagger.io/dagger" ) TestKustomize: { diff --git a/stdlib/kubernetes/tests/kubernetes.cue b/stdlib/kubernetes/tests/kubernetes.cue index 229a134a..ac6bf8ff 100644 --- a/stdlib/kubernetes/tests/kubernetes.cue +++ b/stdlib/kubernetes/tests/kubernetes.cue @@ -2,7 +2,7 @@ package kubernetes import ( "encoding/yaml" - "dagger.io/random" + "alpha.dagger.io/random" ) // We assume that a kinD cluster is running locally diff --git a/stdlib/kubernetes/tests/verify.cue b/stdlib/kubernetes/tests/verify.cue index 387ae5e1..c0cd3bd4 100644 --- a/stdlib/kubernetes/tests/verify.cue +++ b/stdlib/kubernetes/tests/verify.cue @@ -1,7 +1,7 @@ package kubernetes import ( - "dagger.io/dagger/op" + "alpha.dagger.io/dagger/op" ) #VerifyApply: { diff --git a/stdlib/netlify/tests/netlify.cue b/stdlib/netlify/tests/netlify.cue index 815b0fbd..5a0f3187 100644 --- a/stdlib/netlify/tests/netlify.cue +++ b/stdlib/netlify/tests/netlify.cue @@ -1,9 +1,9 @@ package netlify import ( - "dagger.io/dagger/op" - "dagger.io/alpine" - "dagger.io/random" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" + "alpha.dagger.io/random" ) TestNetlify: { diff --git a/stdlib/os/tests/container/container.cue b/stdlib/os/tests/container/container.cue index 5cdd90ab..df837179 100644 --- a/stdlib/os/tests/container/container.cue +++ b/stdlib/os/tests/container/container.cue @@ -1,7 +1,7 @@ package os import ( - "dagger.io/dagger" + "alpha.dagger.io/dagger" ) // Test secret mount diff --git a/stdlib/os/tests/os/os.cue b/stdlib/os/tests/os/os.cue index e3625bbe..8cf5713f 100644 --- a/stdlib/os/tests/os/os.cue +++ b/stdlib/os/tests/os/os.cue @@ -1,7 +1,7 @@ package os import ( - "dagger.io/alpine" + "alpha.dagger.io/alpine" ) // Write a file to an empty dir diff --git a/stdlib/terraform/tests/terraform.cue b/stdlib/terraform/tests/terraform.cue index a42a9631..c67c9527 100644 --- a/stdlib/terraform/tests/terraform.cue +++ b/stdlib/terraform/tests/terraform.cue @@ -1,9 +1,9 @@ package terraform import ( - "dagger.io/dagger" - "dagger.io/dagger/op" - "dagger.io/alpine" + "alpha.dagger.io/dagger" + "alpha.dagger.io/dagger/op" + "alpha.dagger.io/alpine" ) TestData: dagger.#Artifact @dagger(input)