Commit Graph

20 Commits

Author SHA1 Message Date
Richard Jones
4f2c6e55e4
added DecodeSecret as a wrapper to TransformSecret; supports yaml and json secrets
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-28 12:26:22 -07:00
Joel Longtine
cc54aa6795 Clean up changes from #1505
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 11:15:44 -07:00
Joel Longtine
b0b84db5e8 Close #ImageConfig
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 10:59:09 -07:00
Joel Longtine
7788b9f2f3
Merge pull request #1505 from helderco/image-config
Make env in ImageConfig a map
2022-01-28 10:48:31 -07:00
Richard Jones
7eb10f96fb
engine.#Copy matches docker.#Copy
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-27 20:09:12 -07:00
Helder Correia
c276a8b8ba
Make env in ImageConfig a map
Fields in CUE were renamed to the lowercase version of Dockerfile instructions.

There's now opportunity to make other fields simpler to use (e.g., healthcheck), this commit is focused on env.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-26 17:12:08 -01:00
Andrea Luzzardi
8ff72a5fa3 test: clean up yarn test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-21 12:45:59 -08:00
Andrea Luzzardi
5e950b6fe9 stdlib: expose dagger.#Source
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-20 16:50:53 -08:00
Sam Alba
4576b24f24 engine/types: revert change based from @aluzzardi feedback
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-01-19 11:19:09 -08:00
Andrea Luzzardi
c7ffdf788f WIP: Fix Europa yarn
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-19 11:17:05 -08:00
Richard Jones
842a9bf6bb
moved #TransformSecret to engine/secret.cue
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-14 13:29:37 -07:00
Andrea Luzzardi
6abe77729e europa: Code Embedding POC
WIP PoC for code embedding

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-14 01:34:47 -08:00
Richard Jones
e59ba48ec0
added dockerfile: field back to force evaluation of disjunction
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:55 -07:00
Richard Jones
2745e1ae2e
refactored
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:30 -07:00
Richard Jones
729013ae91
rename engine.#Build to engine.#Dockerfile
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:06 -07:00
Richard Jones
05820f3a67
supports map of secrets; errors redact plaintext
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:06:08 -07:00
Richard Jones
86bf3bad86
transform secret
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:04:35 -07:00
guillaume
db54a43a91 Port #Subdir to hidden fields
@jlongtine just implemented the possibility to use hidden fields.
This PR uses this new implementation

Pair: @jlongtine

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-13 00:42:22 +01:00
Andrea Luzzardi
4e04bf9d22 update europa dagger import path to dagger.io/dagger
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-11 16:40:26 -08:00
Andrea Luzzardi
f1e0487df4 move alpha.dagger.io/europa to dagger.io
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-11 16:34:35 -08:00