Commit Graph

1344 Commits

Author SHA1 Message Date
Andrea Luzzardi
16fd14b0c9 cmd: wire --input flag into client
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-14 15:21:27 -08:00
Andrea Luzzardi
9338d10a04 add LICENSE file
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-14 12:36:19 -08:00
Andrea Luzzardi
d56846fb72
Merge pull request #24 from blocklayerhq/zerolog
re-wire logging on top of zerolog
2021-01-13 19:08:04 -08:00
Andrea Luzzardi
e2a106ae39
Merge pull request #25 from blocklayerhq/ci-enable-test
ci: run tests
2021-01-13 18:23:46 -08:00
Andrea Luzzardi
cf390e9243 ci: enable tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-13 18:21:56 -08:00
Andrea Luzzardi
d15ec726cf cmd: remove ui package
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-13 18:19:36 -08:00
Andrea Luzzardi
f8a2109aba env.walk: inject contextual logging information
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-13 18:18:48 -08:00
Andrea Luzzardi
e09723861f re-wire logging on top of zerolog
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-13 18:18:48 -08:00
Andrea Luzzardi
49f0c0e149 cmd: re-use existing ui library
Also, move CLI-only utils into `cmd` rather than the top-level package.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-13 14:43:08 -08:00
Andrea Luzzardi
bbdd2b394a
Merge pull request #23 from blocklayerhq/fix-10-cherrypick
Fix race condition in cueflow. Fixes #10.
2021-01-13 14:42:56 -08:00
Andrea Luzzardi
968341fb74 env: no pointer to mutex
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-13 14:30:27 -08:00
Solomon Hykes
338b3d4b46 Protect cueflow calls with mutex
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-01-13 14:30:27 -08:00
Andrea Luzzardi
b5427cfbaa compiler: properly format cue errors
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-12 11:23:40 -08:00
Solomon Hykes
4f26c8ff4f
Merge pull request #15 from blocklayerhq/sh
Non-breaking fixes.
2021-01-12 10:56:00 -08:00
Solomon Hykes
8b105003bb Component.Compute: force "real" solve. Fixes #14.
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-01-12 10:31:50 -08:00
Solomon Hykes
0e484be9bd examples/simple: require an input directory
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-01-12 10:06:27 -08:00
Andrea Luzzardi
eef9c7fafd spec: updated generated spec
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-11 18:56:31 -08:00
Andrea Luzzardi
4ad7b6e90e spec: fix linter
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-11 18:42:32 -08:00
Andrea Luzzardi
c093a38d95 component: stop mixing pointers and non pointers
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-11 18:05:52 -08:00
Andrea Luzzardi
fedd85f09d exec: correctly lookup mounts. Fixes #6
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-11 18:05:33 -08:00
Andrea Luzzardi
8cda7e9b13
Merge pull request #12 from dubo-dubon-duponey/fix-examples
Fix examples
2021-01-11 17:55:13 -08:00
Andrea Luzzardi
1d2d3dbed2
Merge pull request #11 from dubo-dubon-duponey/fix-9
Fix #9
2021-01-11 17:54:36 -08:00
dubo-dubon-duponey
8d104c9e10
Fix examples
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-01-11 16:40:13 -08:00
dubo-dubon-duponey
07a3e6b02d
Fix #9
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-01-11 16:28:13 -08:00
Andrea Luzzardi
10224682f7 client: keep resource initialization and cleanup together
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-11 11:51:15 -08:00
Andrea Luzzardi
642e8c5a2f
Merge pull request #4 from dubo-dubon-duponey/fix-crash-1
Fix crash
2021-01-11 11:28:21 -08:00
Andrea Luzzardi
858df07a26
Merge pull request #5 from dubo-dubon-duponey/fix-2
Fix dockerfile build
2021-01-11 11:15:57 -08:00
dubo-dubon-duponey
9e72eff547
Fix dockerfile build
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-01-11 11:10:07 -08:00
dubo-dubon-duponey
0097c73931
Fix crash
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-01-11 11:09:08 -08:00
Solomon Hykes
8730a7e03e
Merge pull request #3 from blocklayerhq/pr-various
Bug fix, bug repro, debug message cleanup
2021-01-09 17:47:09 -08:00
Solomon Hykes
4514df1853 remove broken "dagger create" command
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-01-09 17:32:30 -08:00
Solomon Hykes
00414449b7 Clean up debug messages & comments
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-01-09 17:25:12 -08:00
Solomon Hykes
216e808465 Add test to reproduce crash computing examples/simple
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-01-09 17:22:51 -08:00
Solomon Hykes
27a44a9e58 Fix bug in Env.Walk
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-01-09 17:07:39 -08:00
Andrea Luzzardi
03a7d0ab7c
Merge pull request #2 from blocklayerhq/buildkit-fix-gomod
fix go dependencies for buildkit v0.8.1
2021-01-08 17:37:00 +01:00
Andrea Luzzardi
a646ef98d6 fix go dependencies for buildkit v0.8.1
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-08 17:35:13 +01:00
Andrea Luzzardi
2dfe2fccbe linter: ensure make generate is up to date
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-08 17:29:06 +01:00
Andrea Luzzardi
4ffcdbf359 bump buildkit to v0.8.1
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-08 17:28:33 +01:00
Andrea Luzzardi
630132fa73
Merge pull request #1 from blocklayerhq/ci-linter
Fix Go & Cue lint errors, enable CI
2021-01-08 17:21:14 +01:00
Andrea Luzzardi
adf3511b1e fix lint errors, enable CI
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-08 17:18:34 +01:00
Solomon Hykes
c5842f894a clean up & bugfix
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-01-07 16:54:52 -08:00
Solomon Hykes
3162ca0991 Refactor
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-01-07 13:57:39 -08:00
Solomon Hykes
22500ad9db First pass at a README 2020-12-30 01:19:41 -08:00
Solomon Hykes
30f75da114 Move prototype 69-dagger-archon to top-level
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2020-12-29 18:45:16 -08:00