Commit Graph

310 Commits

Author SHA1 Message Date
Helder Correia
6a2bbc62e0
Rename dagger.#Service to dagger.#Socket
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 17:56:25 +00:00
Helder Correia
7a8153910c
Add export and load for dagger images
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 15:04:29 -01:00
Andrea Luzzardi
e9d3b2fd15
Merge pull request #1801 from aluzzardi/ci-telemetry
telemetry: include CI events
2022-03-14 16:11:26 -07:00
Andrea Luzzardi
bf3e219848 telemetry: include CI events
Fixes #1205

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-14 12:44:22 -07:00
Andrea Luzzardi
e8788cb26b dagger do: list actions at the beginning
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-11 12:55:03 -08:00
Andrea Luzzardi
ae4e61aaa1 dagger do: Improve help message
- Only print first line of comment
- Add "Available Options" section header

Fixes #1777

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-11 12:55:03 -08:00
Andrea Luzzardi
993c706faa do: simplify help management
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-10 15:11:55 -08:00
Joel Longtine
43b9df74a8 Add test
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-10 15:15:50 -07:00
Joel Longtine
b3ac2b7167 Change message
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-10 14:55:52 -07:00
Joel Longtine
2d4b6ef2ee Print error for 0.1.0 plans being loaded
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-10 14:53:37 -07: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
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
80850e1e00
Merge pull request #1674 from grouville/windows-logs
Windows escape sequence fix
2022-03-09 17:12:15 -08:00
Solomon Hykes
acd44a55b2 Hide dagger doc
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-03-10 00:49:31 +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
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
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
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
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
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
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
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
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
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
7bcf9a9402
Implements dagger project init
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-04 15:44:11 -07:00
Richard Jones
6cdf13223c
implements dagger do
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-01 13:01:26 -07:00
Joel Longtine
cc9c9f6b95 Re-add old code (commented)
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:02 -07:00
Joel Longtine
f34f1d96c1 Add code (commented) back to doc gen. Probably needs to be reworked for Europa
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:02 -07:00
Joel Longtine
eeb20a3999 Temporary fix for markdownlint
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
43a46128e0 Remove pre-Europa tests
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
7e86b00962 Remove keychain
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
55bf5ff4dd Restore TrackProjectCommand + comment (so we can use it later for telemetry)
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
a839ab124a Comment out unused code
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
cdde074d09 Remove europa flag
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
e9b7519402 Remove environment flag
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
4e1b6173be Remove state (State + Project)
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
034cd74ed0 Remove environment
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
c971077222 Remove cmd list
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
3863477da0 Remove cmd login/logout
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
59e97dd201 Remove cmd down
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
a3f91023a1 Remove cmd edit
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
5220c6879c Remove cmd new
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
1fe005557a Remove cmd query
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
ecd2e2b107 Remove cmd history
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00