Commit Graph

8 Commits

Author SHA1 Message Date
Guillaume de Rouville
e3eee6068e Netlify: leverage --fail-with-body to finally print error's output
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-30 16:53:47 +02:00
Sam Alba
745d1084be stdlib/netlify: added support for netlify build
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-28 16:22:29 +02:00
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
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
Solomon Hykes
98b3951c73 stdlib: os package
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-11 17:32:50 -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