Commit Graph

15 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
Solomon Hykes
26cbc7dc68 Docs: add content to 1205: "building container images"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-04-06 22:49:03 +00:00
Michael
ca2e23efbb
Fix typo (#1953) 2022-04-01 22:53:23 -07: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
Helder Correia
b3bdd347e7
Move core actions to a subpackage
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-27 17:33:47 +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
Gerhard Lazu
5fe04d22e9
Revise Europa Docs - Core Concepts - It all starts with a plan
Thank you Tanguy for the "fresh pair of eyes" perspective.

Thank you Tom for the link suggestions.

Supersedes https://github.com/dagger/dagger/pull/1847

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:25:24 +00: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
45a1fb19d2
Fix doc typo
Added a few files to test the affected test.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-11 16:56:22 -01:00
Gerhard Lazu
da8e8fbaac
Extract snippets from docs into separate files
So that we get auto-formatting and syntax checking in our code editor.
The only snippets which have not been extracted are either terminal
output, or file fragments (e.g. CUE) which are not valid standalone files.

Resolves https://github.com/dagger/dagger/issues/1715

While at it, do a few fly-by improvements:
- beta.1 -> beta.2
- add CUE & BuildKit links
- up -> do

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-10 16:35:50 +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
Helder Correia
a48d093fb8
Add documentation for building container images
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-09 16:10:17 -01:00