Commit Graph

8 Commits

Author SHA1 Message Date
Marcos Lilljedahl
37db71104c docs: Add guide to showcase handling outputs
Add a guide which highlights how to handle action's outputs by writing
them to the client filesystem and using CUE's integrations to marshal
them as JSON.

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-13 13:42:42 -05:00
Helder Correia
80ae63928b
feat: Allow default values in client: env (#2122)
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-11 15:31:36 -03:00
Gerhard Lazu
695206ee66
Merge pull request #1869 from dagger/shykes-doc-misc
docs/1203: keep code sample on topic
2022-03-28 23:48:25 +01:00
Helder Correia
d771699df9
Move connecting socket to client: network
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 18:16:07 +00:00
Helder Correia
6a2bbc62e0
Rename dagger.#Service to dagger.#Socket
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 17:56:25 +00:00
Solomon Hykes
11586abfdc
docs/1203: keep code sample on topic
Shorten one of the code samples, keeping only the part that speaks to the topic in the docs.
2022-03-26 21:47:37 -07:00
Ben Gesoff
e0d2b5cd3b docs: fix typo in snippet
The reference to `docker.Copy` does not exist and should be `docker.#Copy` instead. This also leads to a confusing error message (possibly related to #493) as it isn't found while CUE is compiled, and instead results in the following runtime error:

```
[✗] actions.deps                                                                                                                                  2.1s
9:16PM FTL failed to execute plan: task failed: actions.deps._dag."2"._exec: invalid FS at path "actions.deps._dag.\"2\"._exec.input": FS is not set
```

Signed-off-by: Ben Gesoff <ben@gesoff.uk>
2022-03-13 21:38:03 +00:00
Helder Correia
6204970d53
Move snippets outside of markdown
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-10 12:35:11 -01:00