Commit Graph

2872 Commits

Author SHA1 Message Date
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
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
Gerhard Lazu
1974dd1df7
Update Europa docs - CI/CD in your local dev to the new netlify.cue
Follow-up to https://github.com/dagger/dagger/pull/1693

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-09 17:01:39 +00:00
guillaume
52655916c6 Windows escape sequence fix
Our logger wasn't entirely compatible with Windows escape sequences when not in TTY mode. This fix changes the stderr to one that automatically transforms the escape sequences to some Windows compatible ones.

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-03-09 14:05:35 +01:00
Helder Correia
34b6c289dd
Remove path based task lookup
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-09 11:29:26 -01:00
Jffarge
17c45ea36c
Merge pull request #1727 from slumbering/docusaurus-bump-up-to-2.0.0-beta.17
Bump up docusaurus to the latest version
2022-03-09 09:23:36 +01:00
Jffarge
c2ff0ae377
Merge pull request #1712 from dagger/dependabot/npm_and_yarn/pkg/universe.dagger.io/examples/todoapp/nanoid-3.1.31
LGTM
build(deps): bump nanoid from 3.1.9 to 3.1.31 in /pkg/universe.dagger.io/examples/todoapp
2022-03-09 09:20:47 +01:00
Jffarge
d05ff277ae
Merge pull request #1713 from dagger/dependabot/npm_and_yarn/pkg/universe.dagger.io/examples/todoapp/url-parse-1.5.10
LGTM
build(deps): bump url-parse from 1.5.3 to 1.5.10 in /pkg/universe.dagger.io/examples/todoapp
2022-03-09 09:20:10 +01:00
Jffarge
d1ae1837ef
Merge pull request #1714 from dagger/dependabot/npm_and_yarn/pkg/universe.dagger.io/examples/todoapp/follow-redirects-1.14.9
build(deps): bump follow-redirects from 1.13.0 to 1.14.9 in /pkg/universe.dagger.io/examples/todoapp
2022-03-09 09:19:23 +01:00
jffarge
617efb0bb6 Bump up docusaurus to the latest version
Signed-off-by: jffarge <jf@dagger.io>
2022-03-09 09:07:55 +01:00
Andrea Luzzardi
d170ff29a0
Merge pull request #1726 from aluzzardi/telemetry-ensure
telemetry: ensure events are not dropped
2022-03-08 23:36:40 -08:00
Andrea Luzzardi
e1b76f628a telemetry: track the correct action
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 23:32:01 -08:00
Andrea Luzzardi
3d06252858 telemetry: create ~/.config/dagger directory if it doesn't exit
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 23:31:38 -08:00
Andrea Luzzardi
c17ce97381 telemetry: ensure events are not dropped
- Move chan sync code immediately after operation
- Fix git hashing when not in a git repo

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 23:04:58 -08:00
Andrea Luzzardi
c2bf9a528c
Merge pull request #1676 from jlongtine/europa-telemetry
Europa telemetry
2022-03-08 23:03:55 -08:00