Commit Graph

3387 Commits

Author SHA1 Message Date
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
jffarge
d7ddf315d9 remove unecessary comment. Instead use Github review
Signed-off-by: jffarge <jf@dagger.io>
2022-03-28 12:05:15 +02:00
jffarge
c4b16b91e1 apply more comments
Signed-off-by: jffarge <jf@dagger.io>
2022-03-28 12:03:31 +02:00
jffarge
162e70cfd3 apply comments from Emily ggdocs
https://docs.google.com/document/d/1XolFtIzUMQQNOE6NNNO7JDmxECbj1uwjCcXv1SWVfeo

Signed-off-by: jffarge <jf@dagger.io>
2022-03-28 11:56:07 +02: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
dependabot[bot]
68468c8b36
build(deps): bump @docusaurus/core in /website
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 2.0.0-beta.17 to 2.0.0-beta.18.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.18/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 19:33:52 +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
Chris Hunt
2018ac99f0
Add PowerShell package (#1783)
Signed-off-by: Chris Hunt <114173+cdhunt@users.noreply.github.com>
2022-03-24 23:42:27 -01:00
Sam Alba
e4258683a2
Merge pull request #1851 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/exporters/jaeger-1.6.0
build(deps): bump go.opentelemetry.io/otel/exporters/jaeger from 1.5.0 to 1.6.0
2022-03-24 17:26:22 -07:00
Gerhard Lazu
6ce2673d22
Merge pull request #1853 from gerhard/fix-default-version-install-sh
Fix install.sh when no version provided
2022-03-25 00:09:49 +00:00
dependabot[bot]
dbfdef359b
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.5.0 to 1.6.0.
- [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.5.0...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 00:02:31 +00:00
Andrea Luzzardi
d942b4e6a7
Merge pull request #1849 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.6.0
build(deps): bump go.opentelemetry.io/otel/sdk from 1.5.0 to 1.6.0
2022-03-24 17:01:25 -07:00
Gerhard Lazu
6c1d7ec19f
Fix install.sh when no version provided
This fixes a bug that I introduced in
https://github.com/dagger/dagger/pull/1819

Mistakes that get fixed before anyone notices never happened. Focus on
the learnings, quick fixes and let resilient systems emerge. 💪

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-24 23:53:45 +00:00
Gerhard Lazu
16450c3263
Merge pull request #1819 from gerhard/install-sh-any-published-version
Allow any published dagger version to be installed via install.sh
2022-03-24 23:38:43 +00:00
Gerhard Lazu
6db19fcea2
Allow any published dagger version to be installed via install.sh
This also updates Getting Started - CI/CD in your local dev - Linux & Mac doc.
A few other related doc changes were pulled in by this.

I wanted to try different versions of dagger on Linux, and this was the
easiest way of doing that:

    curl -L https://dl.dagger.io/dagger/install.sh -O
    # make this change, and then:

    DAGGER_VERSION=0.2.0 sh install.sh
    # ...
    ./bin/dagger version
    dagger 0.2.0 (e499297e) linux/amd64

    DAGGER_VERSION=0.2.1 sh install.sh
    # ...
    ./bin/dagger version
    dagger 0.2.1 (69b4845d) linux/amd64

This change enables anyone to do the following instead:

    curl -L https://dl.dagger.io/dagger/install.sh \
    | DAGGER_VERSION=0.2.0 sh

Until this gets merged, you can test how this change works in practice
via this temporary file:

    curl -L https://dl.dagger.io/dagger/install-pr-1819.sh \
    | DAGGER_VERSION=0.2.0 sh

One thing which I was not sure about is how the file from this
repository ends up on https://dl.dagger.io/dagger/install.sh. I think
this is a manual process today, but I need to confirm this assumption.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-24 23:28:07 +00:00
Gerhard Lazu
c4104626c3
Merge pull request #1837 from marcosnils/feat/docs_os_select
Attempt to automatically select OS tab based on user user-agent
2022-03-24 23:10:32 +00:00
dependabot[bot]
c8078c5dd2
build(deps): bump go.opentelemetry.io/otel/sdk from 1.5.0 to 1.6.0
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.5.0 to 1.6.0.
- [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.5.0...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 22:22:03 +00:00
Andrea Luzzardi
0bbfa08334
Merge pull request #1841 from dagger/dependabot/npm_and_yarn/website/node-forge-1.3.0
build(deps): bump node-forge from 1.2.1 to 1.3.0 in /website
2022-03-24 15:21:21 -07:00
Andrea Luzzardi
9503274de0
Merge pull request #1852 from dagger/dependabot/go_modules/go.opentelemetry.io/otel-1.6.0
build(deps): bump go.opentelemetry.io/otel from 1.5.0 to 1.6.0
2022-03-24 15:20:55 -07:00
Jffarge
93d5a37508
Merge pull request #1835 from slumbering/gh-action-property
Fix the missing property "on" for getting started github action
2022-03-24 20:34:57 +01:00
dependabot[bot]
f331289482
build(deps): bump go.opentelemetry.io/otel from 1.5.0 to 1.6.0
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.5.0 to 1.6.0.
- [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.5.0...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 19:08:47 +00:00
Marcos Lilljedahl
70c49495aa Add BrowserOnly component to avoid SSG errors
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-24 16:02:27 -03:00
Solomon Hykes
c800cb5a3a
Merge pull request #1833 from marcosnils/fix/todoapp_cache
WIP: Add node_modules mount to improve caching times
2022-03-24 11:53:19 -07:00
Marcos Lilljedahl
52e7145874 Update windows benchmarks
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-24 12:52:17 -03:00
dependabot[bot]
b09bea16ad
build(deps): bump node-forge from 1.2.1 to 1.3.0 in /website
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 10:50:12 +00:00
Jffarge
ff2b92df94
Merge pull request #1834 from dagger/rebuild-algolia-docs-search-index
Rebuild Algolia search index for docs
2022-03-24 09:01:55 +01:00
Andrea Luzzardi
e855692240
Merge pull request #1840 from aluzzardi/ci-disable-telemetry 2022-03-23 19:47:29 -07:00