Commit Graph

2897 Commits

Author SHA1 Message Date
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
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
Joel Longtine
6e95fdefc6 Fix bad merge
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 21:10:40 -07:00
Joel Longtine
8a63f60cd0 Remove TrackPlanCommand + cleanup concurrent async tracking code
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 21:04:26 -07:00
Joel Longtine
8c4157c3d8 Plan.Up -> Plan.Do
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 20:46:26 -07:00
Joel Longtine
d45c259501 Remove comment
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 20:45:58 -07:00
Joel Longtine
cc84325ba5 Remove unneeded property
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 20:45:58 -07:00
Joel Longtine
d09b62b1e2 Telemetry for commands
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 20:45:02 -07:00
Andrea Luzzardi
8571dfbb43 Merge pull request #1725 from aluzzardi/fix-actions-check
do: verify the action exists before running
2022-03-08 18:44:57 -08:00
Andrea Luzzardi
9f2d56f3c4 do: verify the action exists before running
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 18:34:47 -08:00
Richard Jones
116e25ce20 Merge pull request #1724 from talentedmrjones/dagger-error-on-action-not-exists
fixes issue where specifying a non existent action doesnt error properly
2022-03-08 19:23:20 -07:00
Richard Jones
5417119198 fixes issue where specifying a non existent action doesnt error properly
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-08 19:17:49 -07:00
Andrea Luzzardi
379f24fdd2 Merge pull request #1720 from samalba/deprecate-cmd-up
cmd/up: deprecate `dagger up` with a warning
2022-03-08 18:11:34 -08:00
Sam Alba
03adcad911 cmd/up: deprecate dagger up with a warning
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-08 18:03:04 -08:00
Andrea Luzzardi
0af9e1a9c5 Merge pull request #1721 from aluzzardi/fix-tests
tests: fix outputs->client migration
2022-03-08 18:02:00 -08:00
Andrea Luzzardi
5834a1e740 tests: fix outputs->client migration
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 17:54:19 -08:00
Andrea Luzzardi
f72dde1d0d Merge pull request #1704 from helderco/inputs-outputs-cleanup
Inputs/outputs cleanup
2022-03-08 16:16:15 -08:00
Andrea Luzzardi
ac2e520b37 Merge pull request #1695 from talentedmrjones/dagger-project-update
implements dagger project update
2022-03-08 16:07:46 -08:00
Richard Jones
57cea9eb6c implements dagger project update
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-08 16:58:20 -07:00
Andrea Luzzardi
64e8afb3f3 Merge pull request #1681 from helderco/trim-secret
Add #TrimSecret task
2022-03-08 15:51:32 -08:00
Joel Longtine
ab1961011e Merge pull request #1707 from jlongtine/task-wl-poc-tests
Add `do` tests for task dependencies
2022-03-08 16:12:42 -07:00
Andrea Luzzardi
b92bc61123 Merge pull request #1688 from dagger/dependabot/docker/golang-1.16.15-alpine
build(deps): bump golang from 1.16.14-alpine to 1.16.15-alpine
2022-03-08 15:10:42 -08:00
dependabot[bot]
3faea70792 build(deps): bump follow-redirects
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.0 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 22:32:59 +00:00
dependabot[bot]
711822f680 build(deps): bump url-parse in /pkg/universe.dagger.io/examples/todoapp
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 22:32:55 +00:00
dependabot[bot]
a9fe5d8f16 build(deps): bump nanoid in /pkg/universe.dagger.io/examples/todoapp
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.9 to 3.1.31.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.9...3.1.31)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 22:32:42 +00:00
Gerhard Lazu
b707e08d47 Merge pull request #1693 from dagger/europa-docs-local-dev-to-ci-environment
Europa docs: From local dev to CI environment
2022-03-08 22:31:49 +00:00
Gerhard Lazu
c3f21958d2 Europa docs: From local dev to CI environment doc page
The todoapp example contains a Netlify plan which uses the latest dagger
additions: do & Client API. We are thinking of merging the examples
repository into this one to make working with this easier. This is a
step in that direction.

We are not using the yarn package so that we can revert
https://github.com/dagger/dagger/pull/1673 without breaking this
implementation.

The GitHub Action is WIP, we will continue with that tomorrow:
https://github.com/dagger/dagger-for-github/issues/24

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-08 22:17:24 +00:00
Helder Correia
24d3f82fc7 Cleanup inputs, outputs and proxy
Superceded by Client API.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-08 20:45:28 -01:00