Commit Graph

3057 Commits

Author SHA1 Message Date
jffarge
e99afb9793 update categories descriptions
Signed-off-by: jffarge <jf@dagger.io>
2022-03-29 11:57:34 +02:00
jffarge
7abb7a8920 create generated index for core concepts and use cases
Signed-off-by: jffarge <jf@dagger.io>
2022-03-29 10:58:07 +02:00
jffarge
aa25e5e4fd Init auto generated category index with docusaurus
Signed-off-by: jffarge <jf@dagger.io>
2022-03-29 10:20:36 +02:00
Sam Alba
ea59c932bb
Merge pull request #1910 from dagger/fix-windows-cuemodpath
windows: Fixed infinite loop in GetCueModParent
2022-03-28 18:29:38 -07:00
Sam Alba
19b976a8ed windows: Fixed infinite loop in GetCueModParent
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-28 18:03:28 -07:00
Solomon Hykes
f4c9cd663a
Merge pull request #1904 from gerhard/simplify-europa-docs-sidebar
Simplify Europa Docs sidebar
2022-03-28 17:56:12 -07:00
Gerhard Lazu
04e703e542
Merge pull request #1817 from gerhard/add-helloworld-example
Add helloworld example
2022-03-29 00:45:30 +01:00
Gerhard Lazu
19d762c5dd
Simplify Europa Docs sidebar
- move Dagger 0.1 references to the top
- move Dagger CUE API under Core Concepts, after What is CUE?
- move Go on Docker Swarm under Use Cases

A few minor title changes:
- Dagger CUE API (0.2+) -> Dagger CUE API
- What is Cue? -> What is CUE?

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-29 00:14:34 +01:00
Gerhard Lazu
2a6b91cf72
Merge pull request #1805 from TomChv/doc/add-go-use-case
Docs: Add dagger golang use case
2022-03-28 23:52:59 +01: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
Andrea Luzzardi
08f1a49490
Merge pull request #1897 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/exporters/jaeger-1.6.1
build(deps): bump go.opentelemetry.io/otel/exporters/jaeger from 1.6.0 to 1.6.1
2022-03-28 15:25:21 -07:00
dependabot[bot]
b35c9700e2
build(deps): bump go.opentelemetry.io/otel/exporters/jaeger
Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/jaeger
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 22:10:13 +00:00
Andrea Luzzardi
552584a6d2
Merge pull request #1899 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.6.1
build(deps): bump go.opentelemetry.io/otel/sdk from 1.6.0 to 1.6.1
2022-03-28 15:09:16 -07:00
Gerhard Lazu
796a0f31d5
Merge pull request #1901 from dagger/replace-https-with-npipe-comment-in-socket-type
Replace HTTPS endpoint with npipe in #Socket description
2022-03-28 22:39:51 +01:00
Gerhard Lazu
ad53d41755
Replace HTTPS endpoint with npipe in #Socket description
This was mixing layer 4 & 7 concerns. It's clearer now.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-28 22:31:44 +01:00
Gerhard Lazu
2ac4f50b0a
Merge pull request #1896 from dagger/update-dagger-version-in-docs-to-next-release
Update the version in docs to next release
2022-03-28 22:30:28 +01:00
Gerhard Lazu
9cda86f6f8
Update the version in docs to next release
This also accounts for dagger.io/dagger/core split introduced in
https://github.com/dagger/dagger/pull/1866

We should hold this merge until we are ready to cut the release,
otherwise links & some instructions will be broken until we release
v0.2.3.

Even though I would have preferred to have docs/update-version.sh in
Dagger, this is the quickest thing for now.

Related to https://github.com/dagger/dagger/issues/1854

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-28 22:23:51 +01:00
dependabot[bot]
0feb04a547
build(deps): bump go.opentelemetry.io/otel/sdk from 1.6.0 to 1.6.1
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 20:15:07 +00:00
Andrea Luzzardi
3134f12c1e
Merge pull request #1824 from dagger/dependabot/go_modules/github.com/docker/buildx-0.8.1
build(deps): bump github.com/docker/buildx from 0.8.0 to 0.8.1
2022-03-28 13:12:44 -07:00
Andrea Luzzardi
0587d378b6
Merge pull request #1900 from dagger/dependabot/go_modules/go.opentelemetry.io/otel-1.6.1
build(deps): bump go.opentelemetry.io/otel from 1.6.0 to 1.6.1
2022-03-28 13:12:17 -07:00
Andrea Luzzardi
29cb36b0f4
Merge pull request #1894 from helderco/client-network
Move connecting socket to `client: network`
2022-03-28 12:34:55 -07:00
dependabot[bot]
61ca68702e
build(deps): bump go.opentelemetry.io/otel from 1.6.0 to 1.6.1
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 19:10:45 +00: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
75a3ae4204
Merge pull request #1888 from helderco/cli-certs
Don’t rely on default docker/cli entrypoint for setting up https
2022-03-28 18:09:21 +00:00
Helder Correia
ebab8e5698
Merge pull request #1887 from helderco/cli-image
Make docker/cli image overrideable
2022-03-28 18:09:03 +00:00
Helder Correia
e304abf246
Merge pull request #1889 from helderco/socket-rename
Rename `dagger.#Service` to `dagger.#Socket`
2022-03-28 18:03:30 +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
4058d56f1b
Merge pull request #1866 from helderco/dagger-core
Move core actions to `dagger/core` sub-package
2022-03-28 17:51:44 +00:00
Helder Correia
3a2982cd21
Don’t rely on default docker/cli entrypoint for setting up https
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 14:44:51 +00:00
Helder Correia
cf0fcdbe92
Make docker/cli image overrideable
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 14:34:15 +00:00
Helder Correia
5abd77f4f2
Move types and plan back to main dagger package
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 12:18:33 +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
Solomon Hykes
9f042800da
Merge pull request #1860 from gerhard/europa-docs-plan-tanguy-fresh-pair-of-eyes 2022-03-26 12:45:13 -07:00
Andrea Luzzardi
a01fd7297f
Merge pull request #1858 from helderco/dir-expansion
Expand user home dir in client filesystem
2022-03-25 14:32:14 -07:00
Helder Correia
770acd3ce2
Expand user home dir in client filesystem
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 20:25:36 -01:00
Andrea Luzzardi
2c137210a2
Merge pull request #1865 from dagger/dependabot/npm_and_yarn/website/minimist-1.2.6
build(deps): bump minimist from 1.2.5 to 1.2.6 in /website
2022-03-25 13:59:40 -07:00
Andrea Luzzardi
64d71c29d9
Merge pull request #1862 from helderco/docker-engine
Add docker cli subpackage
2022-03-25 13:30:48 -07:00
dependabot[bot]
35492b993b
build(deps): bump minimist from 1.2.5 to 1.2.6 in /website
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 19:34:46 +00:00
dependabot[bot]
65a109b9fb
build(deps): bump github.com/docker/buildx from 0.8.0 to 0.8.1
Bumps [github.com/docker/buildx](https://github.com/docker/buildx) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/docker/buildx/releases)
- [Commits](https://github.com/docker/buildx/compare/v0.8.0...v0.8.1)

---
updated-dependencies:
- dependency-name: github.com/docker/buildx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 19:34:39 +00:00
Andrea Luzzardi
b89e429f23
Merge pull request #1863 from dagger/dependabot/go_modules/github.com/containerd/containerd-1.6.2
build(deps): bump github.com/containerd/containerd from 1.6.1 to 1.6.2
2022-03-25 12:33:25 -07:00
Helder Correia
05d79e8ba6
Add docker cli package
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 18:24:33 -01:00
Andrea Luzzardi
4f440bc67a
Merge pull request #1842 from helderco/docker-load
Add export and load for dagger images
2022-03-25 12:22:40 -07:00
dependabot[bot]
d6c35e17c0
build(deps): bump github.com/containerd/containerd from 1.6.1 to 1.6.2
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.1...v1.6.2)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 19:21:36 +00:00
Gerhard Lazu
3a6d922a4e
Follow-through the other "." → "./" & build → "./_build" renames
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:55:23 +00:00
Gerhard Lazu
f322327945
Switch build → _build in .gitignore
It is much easier to spot this build dir when it gets prefixed with _

Inspired by Elixir:
https://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:37:56 +00:00
Gerhard Lazu
a3cd60d140
Cyclic task dependency error fix (workaround?) for #1857
universe.dagger.io/examples/todoapp on  europa-docs-plan-tanguy-fresh-pair-of-eyes [$!] via  v17.4.0 took 3s
    ❯ bin/dagger do build
    [✔] actions.build.run.script                                                                                          0.0s
    [✔] actions.deps                                                                                                      4.2s
    [✔] client.filesystem."./".read                                                                                       3.0s
    [✔] actions.test.script                                                                                               0.0s
    [✔] actions.test                                                                                                      0.8s
    [✔] actions.build.run                                                                                                 3.1s
    [✔] actions.build.contents                                                                                            0.0s
    [✔] client.filesystem."./_build".write                                                                                0.1s

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:35:29 +00:00
Gerhard Lazu
dc5d3340bb
Capture cyclic task dependency error for #1857
universe.dagger.io/examples/todoapp on  europa-docs-plan-tanguy-fresh-pair-of-eyes [$!?] via  v17.4.0
    ❯ bin/dagger do build
    4:32PM FTL failed to execute plan: cyclic task dependency:
            task client.filesystem."./_build".write refers to
            task actions.build.contents._copy refers to
            task actions.build.run._exec refers to
            task actions.test._exec refers to
            task actions.deps._dag."2"._exec refers to
            task actions.deps._dag."1"._copy refers to
            task client.filesystem."./_build".write:
        /Users/gerhard/github.com/gerhard/dagger/pkg/universe.dagger.io/cue.mod/pkg/dagger.io/dagger/fs.cue:114:2
        /Users/gerhard/github.com/gerhard/dagger/pkg/universe.dagger.io/docker/build.cue:49:2
        /Users/gerhard/github.com/gerhard/dagger/pkg/universe.dagger.io/docker/run.cue:162:2

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-25 16:34:37 +00: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
Helder Correia
7a8153910c
Add export and load for dagger images
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 15:04:29 -01:00