From bac3ff4f68df05969e0309730a857e076e337ddc Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Wed, 3 Mar 2021 18:08:43 -0800 Subject: [PATCH] stdlib: cuefmt Signed-off-by: Sam Alba --- stdlib/aws/cloudformation/cloudformation.cue | 94 ++++++++++---------- stdlib/dagger/dagger.cue | 8 +- 2 files changed, 51 insertions(+), 51 deletions(-) diff --git a/stdlib/aws/cloudformation/cloudformation.cue b/stdlib/aws/cloudformation/cloudformation.cue index aa6c2f79..86b89d24 100644 --- a/stdlib/aws/cloudformation/cloudformation.cue +++ b/stdlib/aws/cloudformation/cloudformation.cue @@ -49,53 +49,53 @@ import ( [string]: string #dagger: compute: [ - dagger.#Load & { - from: alpine.#Image & { - package: bash: "=5.1.0-r0" - package: jq: "=1.6-r1" - package: "aws-cli": "=1.18.177-r0" - } - }, - dagger.#Mkdir & { - path: "/src" - }, - for dest, content in #files { - dagger.#WriteFile & { - "dest": dest - "content": content - } - }, - dagger.#Exec & { - args: [ - "/bin/bash", - "--noprofile", - "--norc", - "-eo", - "pipefail", - "/entrypoint.sh", - ] - env: { - AWS_CONFIG_FILE: "/cache/aws/config" - AWS_ACCESS_KEY_ID: config.accessKey - AWS_SECRET_ACCESS_KEY: config.secretKey - AWS_DEFAULT_REGION: config.region - AWS_REGION: config.region - AWS_DEFAULT_OUTPUT: "json" - AWS_PAGER: "" - if neverUpdate { - NEVER_UPDATE: "true" + dagger.#Load & { + from: alpine.#Image & { + package: bash: "=5.1.0-r0" + package: jq: "=1.6-r1" + package: "aws-cli": "=1.18.177-r0" } - STACK_NAME: stackName - TIMEOUT: "\(timeout)" - ON_FAILURE: onFailure - } - dir: "/src" - mount: "/cache/aws": "cache" - }, - dagger.#Export & { - source: "/outputs.json" - format: "json" - }, - ] + }, + dagger.#Mkdir & { + path: "/src" + }, + for dest, content in #files { + dagger.#WriteFile & { + "dest": dest + "content": content + } + }, + dagger.#Exec & { + args: [ + "/bin/bash", + "--noprofile", + "--norc", + "-eo", + "pipefail", + "/entrypoint.sh", + ] + env: { + AWS_CONFIG_FILE: "/cache/aws/config" + AWS_ACCESS_KEY_ID: config.accessKey + AWS_SECRET_ACCESS_KEY: config.secretKey + AWS_DEFAULT_REGION: config.region + AWS_REGION: config.region + AWS_DEFAULT_OUTPUT: "json" + AWS_PAGER: "" + if neverUpdate { + NEVER_UPDATE: "true" + } + STACK_NAME: stackName + TIMEOUT: "\(timeout)" + ON_FAILURE: onFailure + } + dir: "/src" + mount: "/cache/aws": "cache" + }, + dagger.#Export & { + source: "/outputs.json" + format: "json" + }, + ] } } diff --git a/stdlib/dagger/dagger.cue b/stdlib/dagger/dagger.cue index 3fbcc721..ec86213a 100644 --- a/stdlib/dagger/dagger.cue +++ b/stdlib/dagger/dagger.cue @@ -80,8 +80,8 @@ package dagger } #Mkdir: { - do: "mkdir" - dir: *"/" | string - path: string - mode: int | *0o755 + do: "mkdir" + dir: *"/" | string + path: string + mode: int | *0o755 }