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
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
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
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
Gerhard Lazu
f7be96631e
Merge pull request #1586 from gerhard/europa-local-ci
...
Europa docs - CI/CD in your local dev
2022-03-06 00:02:04 +00:00
Gerhard Lazu
d693742477
Europa docs: get started with CI/CD in local dev
...
The idea is to start simple and get users a good feel for how this works
within 5 minutes or less. We should cover the three popular OSes, and
ensure that everything works as expected.
At the end of this, users will have Dagger set up for local CI/CD, and
know how to make a change to the example app and re-run the build, test
& deploy loop.
This is part of https://github.com/dagger/dagger/issues/1327
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-05 23:58:49 +00:00
Richard Jones
9328cc8c01
dagger do now uses --plan instead of --project
...
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-04 16:14:28 -07:00
Richard Jones
1f5a89091c
Merge pull request #1685 from talentedmrjones/dagger-project-init
...
Implements dagger project init
2022-03-04 15:58:37 -07:00