Commit Graph

2886 Commits

Author SHA1 Message Date
Richard Jones
096c936aaf
removes old .gitignore, adds new .gitattributes
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-10 14:31:57 -07: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
Gerhard Lazu
a35419b45f
Merge pull request #1735 from gerhard/europa-docs-plan-client-api
Europa docs plan updates after Client API & dagger do
2022-03-09 18:35:23 +00:00
Andrea Luzzardi
f987fe0693 dagger do: fix --help regression caused by #1725
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-09 10:21:49 -08:00
Gerhard Lazu
2b67e97cec
Europa docs plan updates after Client API & dagger do
Follow-up to https://github.com/dagger/dagger/pull/1683

Part of https://github.com/dagger/dagger/issues/1327

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-09 18:17:02 +00:00
Gerhard Lazu
b78be739aa
Merge pull request #1708 from helderco/build-images-doc
[Doc] Building container images
2022-03-09 17:28:50 +00:00
Gerhard Lazu
2c013e4480
Merge pull request #1732 from dagger/europa-docs-local-dev-do-client-api
Update Europa docs - CI/CD in your local dev to the new netlify.cue plan
2022-03-09 17:17:52 +00: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