Commit Graph

3045 Commits

Author SHA1 Message Date
dependabot[bot]
74c70ab533 build(deps): bump github.com/docker/buildx from 0.6.2 to 0.8.0
Bumps [github.com/docker/buildx](https://github.com/docker/buildx) from 0.6.2 to 0.8.0.
- [Release notes](https://github.com/docker/buildx/releases)
- [Commits](https://github.com/docker/buildx/compare/v0.6.2...v0.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-10 11:39:39 -08:00
Andrea Luzzardi
26fe2630b5
Merge pull request #1757 from aluzzardi/telemetry-log-duration
telemetry: log duration
2022-03-10 11:18:38 -08:00
Andrea Luzzardi
4b5312b07a
Merge pull request #1755 from dagger/dependabot/go_modules/google.golang.org/grpc-1.45.0
build(deps): bump google.golang.org/grpc from 1.44.0 to 1.45.0
2022-03-10 11:17:25 -08:00
Andrea Luzzardi
a698ef1c08
Merge pull request #1756 from dagger/dependabot/go_modules/github.com/spf13/cobra-1.4.0
build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0
2022-03-10 11:17:17 -08:00
Andrea Luzzardi
3679c04be9 telemetry: log duration
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-10 11:08:55 -08:00
dependabot[bot]
e42654c64d
build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 19:06:37 +00:00
dependabot[bot]
d12e51ae19
build(deps): bump google.golang.org/grpc from 1.44.0 to 1.45.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.44.0 to 1.45.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.44.0...v1.45.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 19:06:33 +00:00
Andrea Luzzardi
c82bc00f87
Merge pull request #1649 from dagger/dependabot/go_modules/github.com/Microsoft/go-winio-0.5.2
build(deps): bump github.com/Microsoft/go-winio from 0.5.1 to 0.5.2
2022-03-10 11:00:32 -08:00
Andrea Luzzardi
c207b7e3a9
Merge pull request #1700 from grouville/global-cache-flags
Move cache flags to 'do' operation
2022-03-10 11:00:07 -08:00
guillaume
8c54935349 Move cache flags to 'do' operation
Move cache flags to 'dagger do' as it will only become relevant for this dagger command

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-03-10 19:34:10 +01:00
Andrea Luzzardi
05cc2adec5
Merge pull request #1740 from talentedmrjones/remove-up-command
removes dagger up in favor of dagger do
2022-03-10 10:21:48 -08:00
Gerhard Lazu
41aaf79bc6
Merge pull request #1751 from gerhard/extract-docs-snippets-in-separate-files
Extract snippets from docs into separate files
2022-03-10 16:43:05 +00: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
Gerhard Lazu
2b30bd027d
Merge pull request #1748 from maert/hide_completion_command
Hide default completion command
2022-03-10 14:50:10 +00:00
Gerhard Lazu
45f3121abe
Merge pull request #1750 from helderco/docs-snippets
[Docs] Move snippets outside of markdown
2022-03-10 14:43:56 +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
Jeremy Adams
5c0ce279b6 Hide default completion command
Signed-off-by: Jeremy Adams <jeremy.adams.pdx@gmail.com>
2022-03-09 19:57:48 -08:00
Andrea Luzzardi
cf0505614f
Merge pull request #1589 from samalba/ci-poc
Port the dagger Makefile for go build, lint and test
2022-03-09 18:24:33 -08:00
Sam Alba
eec7bc0a95 ci: fixed github action
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 18:14:01 -08:00
Sam Alba
637a3c9efd ci: ported config to new client API
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
5767721478 ci: added github workflow for running the tests
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
646a4d153d ci: implemented go test
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
029a0d270f ci: simplify code and reduce boiler plate + fixed caching
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
555966d040 ci: explicit dependency between goBuild and goLint
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
492a7ff9c3 ci: fix cue linter
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
ba0f565dbf ci: fixed output + implemented cue linter
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
297fded56d ci: ported to new Plan syntax + implemented CUE fmt + go linter + code cleanup
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
2a9cf1ce7c ci: fixed performance issues, converted more fields to hidden
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
8e2f3eb21d ci: cleaner pattern for sharing base images across actions
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
f17c470feb ci: implemented go lint
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
679bb30148 ci: fixed typos + params for os/arch
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
7ecf0a97ad ci: base implementation for building dagger binary
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
e2670298ff ci: added README
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Andrea Luzzardi
80850e1e00
Merge pull request #1674 from grouville/windows-logs
Windows escape sequence fix
2022-03-09 17:12:15 -08:00
Andrea Luzzardi
ea684e39f7
Merge pull request #1744 from dagger/shykes-hide-doc
Hide `dagger doc`
2022-03-09 17:03:24 -08:00
Solomon Hykes
acd44a55b2 Hide dagger doc
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-03-10 00:49:31 +00:00
Andrea Luzzardi
355842faa5
Merge pull request #1743 from samalba/fix-runner 2022-03-09 16:35:02 -08:00
Sam Alba
c5660995f5 plan: raise error on cyclic task + cue error formatting
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 16:26:39 -08:00
Andrea Luzzardi
e4f284c4ea
Merge pull request #1709 from dagger/dependabot/go_modules/github.com/docker/distribution-2.8.1incompatible
build(deps): bump github.com/docker/distribution from 2.8.0+incompatible to 2.8.1+incompatible
2022-03-09 15:18:53 -08:00
Andrea Luzzardi
d79c377205
Merge pull request #1729 from helderco/remove-path-lookup
Remove path based task lookup
2022-03-09 15:17:55 -08:00
Andrea Luzzardi
89d5df06f6
Merge pull request #1741 from dagger/dependabot/go_modules/github.com/moby/buildkit-0.10.0
build(deps): bump github.com/moby/buildkit from 0.10.0-rc2 to 0.10.0
2022-03-09 15:14:05 -08:00
Andrea Luzzardi
64f3ce2fe3
Merge pull request #1738 from aluzzardi/fix-do-help
dagger do: fix --help regression caused by #1725
2022-03-09 15:13:50 -08:00
Andrea Luzzardi
1d6f0acdd2
Merge pull request #1742 from gerhard/europa-docs-default
Default docs to Europa
2022-03-09 14:38:41 -08:00
Gerhard Lazu
4e869d1bcf
Merge pull request #1734 from gerhard/github-action-version-fix
Fix dagger-for-github version
2022-03-09 21:55:10 +00:00
Gerhard Lazu
74c3465ca0
Fix dagger-for-github version
We assume that this will be out by the time this goes live.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-09 21:15:24 +00:00
Richard Jones
6b81dc439d
removed dagger up in favor of dagger do
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-09 14:00:45 -07:00
Gerhard Lazu
9b22932cff
Default docs to Europa
There are a few outstanding tasks, but they can be finished tomorrow.
This is just the beginning of many refinements, so it's all good 🙌

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-09 20:12:50 +00:00
Andrea Luzzardi
945b7293af
Merge pull request #1733 from gerhard/goreleaser-track-latest-version-by-major-minor
Track latest version by Major.Minor when releasing via GoReleaser
2022-03-09 11:09:07 -08:00
dependabot[bot]
d0287079e0
build(deps): bump github.com/moby/buildkit from 0.10.0-rc2 to 0.10.0
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit) from 0.10.0-rc2 to 0.10.0.
- [Release notes](https://github.com/moby/buildkit/releases)
- [Commits](https://github.com/moby/buildkit/compare/v0.10.0-rc2...v0.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 19:08:13 +00:00
Gerhard Lazu
91c45ade3d
Track latest version by Major.Minor when releasing via GoReleaser
We want to be able to download the latest published version for a
specific Major.Minor. In the Dagger GitHub Action, we want to be able to
restrict the versions to e.g. latest 0.2.

We took this opportunity to change the URL schema and scope all versions
to /versions, e.g. /versions/latest, /versions/0.1, /versions/0.2, etc.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-09 19:00:48 +00:00