Commit Graph

2926 Commits

Author SHA1 Message Date
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
321ef8b966 ci: remove test-docs GH workflow
The file is entirely commented and I keep getting e-mails from GH on
each PR complaining about ".github/workflows/test-docs.yml: No jobs were
run"

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 16:19:14 -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
Joel Longtine
9dfa81a737 Remove test that refers to old code paths
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:57:40 -07:00
Joel Longtine
69208b7c7d Remove extraneous module.cue
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:53:52 -07:00
Joel Longtine
8017b29abd More outputs -> client
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
baeb19bfe2 Fix refute
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
58dd2ab1d3 outputs -> client
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
c9f9fd66d7 do -> "do"
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
cf2538e1b2 Clean up tests
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
648e508c60 cue fmt
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
1a555315b2 Add comment re disconnected outputs test
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
5afaedc9ab Add do tests
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
dependabot[bot]
df9d2dfa68
build(deps): bump github.com/docker/distribution
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.8.0+incompatible to 2.8.1+incompatible.
- [Release notes](https://github.com/docker/distribution/releases)
- [Commits](https://github.com/docker/distribution/compare/v2.8.0...v2.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 19:07:45 +00:00
Helder Correia
83cd685cb3
Add front matter to new docs
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-08 11:32:10 -01:00
Andrea Luzzardi
2a6962ddc8
Merge pull request #1691 from aluzzardi/task-wl-poc
Fix task detection in dagger do
2022-03-07 16:58:03 -08:00
Andrea Luzzardi
b33b75a570 runner: switch to client API
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 16:03:36 -08:00
Andrea Luzzardi
0786410bbd Fix partial CUE tree run for dagger do
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 15:56:06 -08:00
Andrea Luzzardi
0642e34388 tests: fix inputs directories test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 15:56:06 -08:00
Andrea Luzzardi
6b4674af9f
Merge pull request #1668 from helderco/client-api
Client API
2022-03-07 15:55:47 -08:00
dependabot[bot]
5704d76068
build(deps): bump github.com/Microsoft/go-winio from 0.5.1 to 0.5.2
Bumps [github.com/Microsoft/go-winio](https://github.com/Microsoft/go-winio) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/Microsoft/go-winio/releases)
- [Commits](https://github.com/Microsoft/go-winio/compare/v0.5.1...v0.5.2)

---
updated-dependencies:
- dependency-name: github.com/Microsoft/go-winio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 23:32:50 +00:00
Andrea Luzzardi
93035b04f7
Merge pull request #1675 from dagger/dependabot/go_modules/github.com/containerd/containerd-1.6.1
build(deps): bump github.com/containerd/containerd from 1.6.0 to 1.6.1
2022-03-07 15:31:26 -08:00
Andrea Luzzardi
cbd3dbf45b
Merge pull request #1690 from talentedmrjones/dagger-do-plan-flag
dagger do now uses --plan instead of --project
2022-03-07 12:11:37 -08:00
Helder Correia
da90baa087
Add new Client API
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-07 17:13:16 -01:00
Gerhard Lazu
a5a0207dde
Merge pull request #1692 from gerhard/europa-docs-packages-before-caching
Cover packages before caching
2022-03-06 00:16:21 +00:00
Gerhard Lazu
9dece5ea77
Cover packages before caching
We are still figuring out caching, specifically Buildkit go client
caching, while packages is something that users can start creating right away.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-06 00:07:17 +00:00