This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/stdlib
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
..
alpine stdlib: updated alpine base image and fixed pkg dependencies in sub libs 2021-04-14 14:06:51 -07:00
aws curl: do not hardcode version requirement 2021-05-27 14:31:57 +02:00
dagger buildkit secrets support 2021-05-27 19:14:08 -07:00
docker cue fmt 2021-05-26 12:28:24 +02:00
file cue fmt 2021-05-26 12:28:24 +02:00
gcp curl: do not hardcode version requirement 2021-05-27 14:31:57 +02:00
git cue fmt 2021-05-26 12:28:24 +02:00
go cue fmt 2021-05-26 12:28:24 +02:00
io stdlib: os package 2021-05-11 17:32:50 -07:00
js/yarn cue fmt 2021-05-26 12:28:24 +02:00
kubernetes curl: do not hardcode version requirement 2021-05-27 14:31:57 +02:00
netlify buildkit secrets support 2021-05-27 19:14:08 -07:00
os buildkit secrets support 2021-05-27 19:14:08 -07:00
terraform cue fmt 2021-05-26 12:28:24 +02:00
stdlib.go cleanup: solver/fs 2021-03-12 13:38:49 -08:00