stdlib: rename dagger.io/llb to dagger.io/dagger/op

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes
2021-04-06 00:27:51 +00:00
parent 7fb90790f3
commit 6673ae69b3
26 changed files with 143 additions and 143 deletions

View File

@@ -2,7 +2,7 @@ package aws
import (
"dagger.io/dagger"
"dagger.io/llb"
"dagger.io/dagger/op"
"dagger.io/alpine"
)
@@ -19,7 +19,7 @@ import (
// Re-usable aws-cli component
#CLI: {
#up: [
llb.#Load & {
op.#Load & {
from: alpine.#Image & {
package: bash: "=5.1.0-r0"
package: jq: "=1.6-r1"

View File

@@ -3,7 +3,7 @@ package cloudformation
import (
"encoding/json"
"dagger.io/llb"
"dagger.io/dagger/op"
"dagger.io/aws"
)
@@ -47,19 +47,19 @@ import (
outputs: [string]: string
outputs: #up: [
llb.#Load & {
op.#Load & {
from: aws.#CLI
},
llb.#Mkdir & {
op.#Mkdir & {
path: "/src"
},
for dest, content in #files {
llb.#WriteFile & {
op.#WriteFile & {
"dest": dest
"content": content
}
},
llb.#Exec & {
op.#Exec & {
args: [
"/bin/bash",
"--noprofile",
@@ -86,7 +86,7 @@ import (
dir: "/src"
mount: "/cache/aws": "cache"
},
llb.#Export & {
op.#Export & {
source: "/outputs.json"
format: "json"
},

View File

@@ -2,7 +2,7 @@ package eks
import (
"dagger.io/dagger"
"dagger.io/llb"
"dagger.io/dagger/op"
"dagger.io/aws"
)
@@ -22,14 +22,14 @@ import (
dagger.#Secret
#up: [
llb.#Load & {
op.#Load & {
from: aws.#CLI
},
llb.#WriteFile & {
op.#WriteFile & {
dest: "/entrypoint.sh"
content: #Code
},
llb.#Exec & {
op.#Exec & {
always: true
args: [
"/bin/bash",
@@ -55,7 +55,7 @@ import (
"/cache/bin": "cache"
}
},
llb.#Export & {
op.#Export & {
source: "/kubeconfig"
format: "string"
},