Commit Graph

956 Commits

Author SHA1 Message Date
Andrea Luzzardi
39a7ebd176 tests: enable mount cache test, fix mount component test
Related to #46

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-01 18:20:54 -08:00
Andrea Luzzardi
50e8b8c07d
Merge pull request #143 from dagger/dependabot/go_modules/github.com/moby/buildkit-0.8.2
build(deps): bump github.com/moby/buildkit from 0.8.1 to 0.8.2
2021-03-01 14:03:23 -08:00
Andrea Luzzardi
04fe70b6ec ci: bump to buildkit 0.8.2
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-25 15:23:50 -08:00
dependabot[bot]
2e035a54d0
build(deps): bump github.com/moby/buildkit from 0.8.1 to 0.8.2
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/moby/buildkit/releases)
- [Commits](https://github.com/moby/buildkit/compare/v0.8.1...v0.8.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-25 23:07:39 +00:00
Andrea Luzzardi
6eb3d5afbd
Merge pull request #141 from dagger/fetchcontainer-image-metadata
FetchContainer: Inject Docker image metadata into LLB
2021-02-25 14:54:53 -08:00
Andrea Luzzardi
4bd0ffd3fc FetchContainer: Inject Docker image metadata into LLB
Fixes #130

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-25 14:47:46 -08:00
Andrea Luzzardi
dce79f0a3e
Merge pull request #139 from dagger/canceled-error-message
logs: clean up logs for canceled tasks
2021-02-24 19:16:16 -08:00
Andrea Luzzardi
074e47d9c0 logs: clean up logs for canceled tasks
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-24 18:48:55 -08:00
Andrea Luzzardi
e7ec4fc132
Merge pull request #138 from dagger/local-improve-log
local: improve log message
2021-02-24 18:17:24 -08:00
Andrea Luzzardi
a8df284e9b local: improve log message
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-24 17:29:51 -08:00
Andrea Luzzardi
4a4c0da0aa
Merge pull request #137 from dagger/local-cache
Fix caching issues with Local
2021-02-24 16:19:55 -08:00
Andrea Luzzardi
b2bc801cd0 fix caching issues with Local
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-24 15:38:49 -08:00
Andrea Luzzardi
99c41083a9
Merge pull request #135 from dagger/logs
Improved Logs
2021-02-23 16:45:29 -08:00
Andrea Luzzardi
1fcb36113f cleanup log messages
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 16:37:45 -08:00
Andrea Luzzardi
bc3305610b logs: custom console printer
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 15:39:52 -08:00
Andrea Luzzardi
79b66e82fc logs: extract cue path from buildkit solve status
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 15:39:52 -08:00
Andrea Luzzardi
2ae395843e encode cue paths in LLB ops
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 15:39:52 -08:00
Andrea Luzzardi
a9443bc0d2 pkg/progressui: customization callbacks
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 15:34:41 -08:00
Andrea Luzzardi
e40983b7b7 import a copy of buildkit progressui
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 15:33:13 -08:00
Andrea Luzzardi
769811ce46
Merge pull request #134 from dagger/dockerbuild
docker build support
2021-02-22 14:20:00 -08:00
Andrea Luzzardi
bc2dae7e32 docker build support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-22 14:14:51 -08:00
Andrea Luzzardi
5e6d850172
Merge pull request #133 from dagger/go-no-copy
stdlib: go: mount source rather than copying
2021-02-19 14:45:11 -08:00
Andrea Luzzardi
8fadaf419e stdlib: go: mount source rather than copying
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-19 14:35:01 -08:00
Andrea Luzzardi
3748bbc7db
Merge pull request #132 from dagger/perf-fill
performance: reduce the number of fills
2021-02-19 14:34:36 -08:00
Andrea Luzzardi
890fdb4176 performance: reduce the number of fills
- Remove unnecessary Fill() in Export()
- Change `set()` and the way we store outputs so we don't fill
  intermediaries as much
- WIP: Scan the tree only once. Changed LocalDirs to use cueflow rather than
  doing our own Walk. In a follow up we should use the same flow
  instance.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-19 14:04:40 -08:00
Andrea Luzzardi
d5830fbaca
Merge pull request #131 from dagger/dogfood-example
example: Dogfood
2021-02-19 12:12:07 -08:00
Andrea Luzzardi
e4245e4090
Merge pull request #129 from dagger/react-netlify
example: Deploy React app to Netlify
2021-02-19 12:11:57 -08:00
Andrea Luzzardi
74d3bb81cb examples: dogfood!
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-19 01:25:53 -08:00
Andrea Luzzardi
60ce946950 stdlib: go support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-19 01:25:41 -08:00
Andrea Luzzardi
037dacaf6d example: deploy react to netlify
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-18 18:48:49 -08:00
Andrea Luzzardi
579908dbfa tests: add test for examples/simple
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-18 18:48:49 -08:00
Andrea Luzzardi
272f387737 stdlib: add alpine
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-18 18:32:42 -08:00
Andrea Luzzardi
a3e78cc558 enable dependabot for Dockerfile
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-18 12:14:01 -08:00
Andrea Luzzardi
fda6da8433
Merge pull request #127 from dagger/local-include-fix
local: fix when include is not specified
2021-02-17 18:51:24 -08:00
Andrea Luzzardi
3ddd967291 local: fix when include is not specified
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 17:19:49 -08:00
Andrea Luzzardi
845fe7eca4 fix error checking
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 15:27:40 -08:00
Andrea Luzzardi
05d45dff29 go mod tidy
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 15:27:19 -08:00
Andrea Luzzardi
cf09ce2ddc
Merge pull request #126 from dagger/update-url
dagger.cloud -> dagger.io
2021-02-17 13:28:48 -08:00
Andrea Luzzardi
3f54b5acdb
Merge pull request #124 from dagger/dependabot/go_modules/cuelang.org/go-0.3.0-beta.5
Bump cuelang.org/go from 0.3.0-beta.4 to 0.3.0-beta.5
2021-02-17 13:28:38 -08:00
Andrea Luzzardi
63daffb200
Merge pull request #125 from dagger/dependabot/go_modules/github.com/spf13/cobra-1.1.3
Bump github.com/spf13/cobra from 1.0.0 to 1.1.3
2021-02-17 13:28:29 -08:00
Andrea Luzzardi
b1626033de
Merge pull request #123 from dagger/dependabot/go_modules/github.com/spf13/viper-1.7.1
Bump github.com/spf13/viper from 1.7.0 to 1.7.1
2021-02-17 13:28:18 -08:00
Andrea Luzzardi
3ab0563e80 cue module is now dagger.io
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 13:21:41 -08:00
Andrea Luzzardi
fef148f6c0 rename go package dagger.io/go
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 13:13:39 -08:00
Andrea Luzzardi
6f4acff14d add a go file to the root folder
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 13:13:17 -08:00
dependabot[bot]
8480737180
Bump github.com/spf13/cobra from 1.0.0 to 1.1.3
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.0.0 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.0.0...v1.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-17 20:26:57 +00:00
dependabot[bot]
7550cda450
Bump cuelang.org/go from 0.3.0-beta.4 to 0.3.0-beta.5
Bumps cuelang.org/go from 0.3.0-beta.4 to 0.3.0-beta.5.

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-17 20:26:52 +00:00
dependabot[bot]
29991348b7
Bump github.com/spf13/viper from 1.7.0 to 1.7.1
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.7.0...v1.7.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-17 20:26:50 +00:00
Andrea Luzzardi
9dbec2030c dependabot support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 12:18:26 -08:00
Andrea Luzzardi
cabf3317d9
Merge pull request #122 from dagger/go-1.13-errors
cleanup: wrap errors using go 1.13 built-ins
2021-02-17 10:35:57 -08:00
Andrea Luzzardi
9e86b011d5 cleanup: wrap errors using go 1.13 built-ins
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 10:30:51 -08:00