Commit Graph

10 Commits

Author SHA1 Message Date
Sam Alba
56dab104ca stdlib/os/container: added ability to mount sockets (dagger.#Stream)
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-13 21:07:37 -08:00
Tom Chauveau
4ad2c8e7e5 Add test on git.#Commit
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-03 02:29:31 +02:00
Tom Chauveau
c8e3755188 Add git.#Commit definition and git.#Image
This definition allow user to commit & push new content to repository.
I've also add a quick feature to os.#Container to write files.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-03 02:29:31 +02:00
Andrea Luzzardi
db459ae04d os.#Container: inherit PATH from the container image
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-04 16:56:52 +02:00
Solomon Hykes
d7a805f42b stdlib: move all imports to alpha.dagger.io
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-25 10:31:22 +00:00
Solomon Hykes
aa6335246b os.#Container: mount secrets with a more consistent API
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-23 13:35:15 +02:00
Sam Alba
b41adbd9c2 stdlib/os: fixed typo in container.cue (dest cache folder was always "true")
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-09 15:21:30 +02: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
b526093929 stdlib: simpler and cleaner performance workaround
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-13 22:36:06 -07:00
Solomon Hykes
98b3951c73 stdlib: os package
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-11 17:32:50 -07:00