stdlib: move all imports to alpha.dagger.io
Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user