Andrea Luzzardi
5fa527d721
ci: enable data race detector
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 18:44:29 -08:00
Andrea Luzzardi
72c0851e01
Merge pull request #55 from dubo-dubon-duponey/test-plus
...
Support additional arguments for dagger binary
2021-01-20 18:20:47 -08:00
Andrea Luzzardi
a9698ccd18
Merge pull request #57 from blocklayerhq/clean-abort-non-concrete
...
script: abort execution with a warning when the op is not concrete
2021-01-20 18:06:32 -08:00
Andrea Luzzardi
4edc5764e5
script: abort execution with a warning when the op is not concrete
...
Fixes #28
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 17:34:15 -08:00
Andrea Luzzardi
faecc0a1ba
Merge pull request #56 from blocklayerhq/isolate-compiler
...
dagger.Value: make compiler instance private
2021-01-20 16:20:55 -08:00
Andrea Luzzardi
41515c931e
dagger.Value: make compiler instance private
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 16:13:33 -08:00
dubo-dubon-duponey
d09b1b52bb
Support additional arguments for dagger binary
...
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-01-20 16:00:34 -08:00
Andrea Luzzardi
1d64422320
Merge pull request #54 from blocklayerhq/concurrency
...
Fix locking around Fill and Lookup
2021-01-20 14:30:36 -08:00
Andrea Luzzardi
425bbace9e
test: fix fetch container test
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 14:24:06 -08:00
Andrea Luzzardi
d22326b512
export: log exported value
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 13:03:28 -08:00
Andrea Luzzardi
644713e3f9
spec: simplify signature
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 13:01:45 -08:00
Andrea Luzzardi
5e5ef6b843
value wrapper: better isolation of the underlying cue.Value
...
Ported from #17
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 12:55:44 -08:00
Andrea Luzzardi
58aa298581
Fix locking around Fill and Lookup
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 12:16:56 -08:00
Andrea Luzzardi
4ea9a18434
Merge pull request #47 from dubo-dubon-duponey/moar
...
MOAR
2021-01-15 16:42:13 -08:00
dubo-dubon-duponey
c67e02eeda
MOAR TESTS
...
- tests for load
- fixed a few typos in “copy” tests
- provisional tests for mount
- adding a “concurrency” test
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-01-15 16:38:06 -08:00
Andrea Luzzardi
c74a1ddf60
Merge pull request #45 from dubo-dubon-duponey/moar
...
Tests
2021-01-15 15:19:59 -08:00
Andrea Luzzardi
e824e97487
Merge pull request #43 from blocklayerhq/solve-sync
...
solver: solve synchronously
2021-01-15 15:17:20 -08:00
dubo-dubon-duponey
3be2865a56
Tests tests tests
...
- tests for #Copy
- added a “disable” helper to disable specific tests instead of just commenting them out
- “disable” will print out warnings about disabled tests (hopefully with links to corresponding issues)
- cleanup bug repro that has been subsumed into tests
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-01-15 15:10:28 -08:00
Andrea Luzzardi
e090f657bb
solver: solve synchronously
...
This forces Solve() to be synchronous and ensures operations don't get
discarded because of optimizations.
Improves fix for #14
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-15 14:44:22 -08:00
Andrea Luzzardi
9a9e3b629f
Merge pull request #37 from dubo-dubon-duponey/moar
...
Export tests
2021-01-15 09:56:19 -08:00
dubo-dubon-duponey
e6c482cb83
Export tests
...
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-01-14 20:01:01 -08:00
Andrea Luzzardi
86b7ba3e38
Merge pull request #34 from dubo-dubon-duponey/moar
...
Enable simple overlay test
2021-01-14 19:02:46 -08:00
dubo-dubon-duponey
6010178131
Adding simple overlay test
...
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-01-14 18:59:44 -08:00
Andrea Luzzardi
0a66b87d7d
compute: spit out errors earlier
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-14 18:40:30 -08:00
Andrea Luzzardi
7a837ef8fb
Merge pull request #31 from blocklayerhq/fix-fs-scratch
...
fs: don't panic when handling scratch output results
2021-01-14 18:04:43 -08:00
Andrea Luzzardi
22fb218b28
component: do not fail if #dagger
marker has no compute
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-14 18:01:45 -08:00
Andrea Luzzardi
0a91de3146
test: enable noop
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-14 18:01:45 -08:00
Andrea Luzzardi
9e0bb85a1b
fs: don't panic when handling scratch output results
...
Fixes #22
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-14 17:37:07 -08:00
Andrea Luzzardi
6d008cafb8
Merge pull request #26 from dubo-dubon-duponey/testing
...
Adding tests
2021-01-14 17:30:36 -08:00
dubo-dubon-duponey
e301dfa7b1
Adding tests
...
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2021-01-14 17:29:12 -08:00
Andrea Luzzardi
3bb3769bb2
Merge pull request #29 from blocklayerhq/wire-input
...
cmd: wire --input flag into client
2021-01-14 15:28:10 -08:00
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