Andrea Luzzardi
59695f632a
stdlib: netlify: fix regression of trailing new lines
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-28 14:16:25 -07:00
Tom Chauveau
5fb7ded2d5
update stdlib tests that use secrets
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-27 19:18:17 -07:00
Andrea Luzzardi
40d4c95bff
aws: use secrets
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-27 19:14:08 -07:00
Andrea Luzzardi
9c0e2d1d95
buildkit secrets support
...
- Secrets are never exposed in plaintext in the Cue tree. `dagger query`
won't dump secrets anymore, Cue errors won't contain them either.
- BuildKit-native secrets support through a new `mount` type. This
ensures secrets will never be part of containerd layers, buildkit
cache and generally speaking will never be saved to disk in plaintext.
- Updated netlify as an example
- Added tests
- Changed the Cue definition of a secret to:
```
@dagger(secret)
id: string
}
```
This is to ensure both that setting the wrong input type on a secret
(e.g. `dagger input text`) will fail, and attempting to misuse the
secret (e.g. interpolating, passing as an env variable, etc) will also
fail properly.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-27 19:14:08 -07:00
Sam Alba
f6aea7e529
curl: do not hardcode version requirement
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-27 14:31:57 +02:00
Sam Alba
dd17c48922
increased curl dependency, 7.76 was removed from alpine pkg repo
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-27 13:59:47 +02:00
Sam Alba
a4167dc3f4
cue fmt
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:28:24 +02:00
Sam Alba
7009d01835
stdlib: added @dagger(input) and @dagger(output) attributes
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:23:44 +02:00
Solomon Hykes
98b3951c73
stdlib: os package
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-11 17:32:50 -07:00
Sam Alba
5d22e9ed43
stdlib: updated alpine base image and fixed pkg dependencies in sub libs
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 14:06:51 -07:00
Sam Alba
89882dbe81
stdlib/js/react, stdlib/netlify: removed docker.#Container abstraction (gh issue #319 )
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Solomon Hykes
00710fe387
stdlib: netlify: use docker.#Container
...
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-08 19:00:57 -07:00
Solomon Hykes
6673ae69b3
stdlib: rename dagger.io/llb to dagger.io/dagger/op
...
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-06 10:28:40 -07:00
Andrea Luzzardi
c16455249e
cue files: #compute -> #up
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 16:08:15 -07:00
Andrea Luzzardi
fbdfe27103
stdlib: netlify: export the deployUrl and logsUrl
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 18:37:45 -07:00
Solomon Hykes
54a2fe4393
stdlib package: llb
...
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-15 22:25:18 -07:00
Solomon Hykes
6460a5c9fc
Rename dagger.#Dir to dagger.#Artifact
...
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-13 00:11:59 -08:00
Andrea Luzzardi
db2184262c
Add dagger.#Secret to dagger spec.
...
This currently does nothing and is only useful for flagging secrets.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-10 15:14:39 -08:00
Solomon Hykes
7a77466a66
DX: change "#dagger: compute: " to "#compute: "
...
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-06 19:39:22 -08:00
Andrea Luzzardi
eaf897352a
stdlib: relax stdlib requirements
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-03 11:35:48 -08:00
Andrea Luzzardi
272f387737
stdlib: add alpine
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-18 18:32:42 -08:00
Andrea Luzzardi
3ab0563e80
cue module is now dagger.io
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 13:21:41 -08:00
Andrea Luzzardi
5ba6dd1617
embedded stdlib
...
This PR embeds the stdlib into the dagger binary itself for convenience.
Long term we will want to source the stdlib directly from git.
- Updated go to 1.16 to use the new built-in embedding functionality
- The `stdlib` go package now contains an embed of the stdlib
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 10:08:56 -08:00