Commit Graph

20 Commits

Author SHA1 Message Date
Andrea Luzzardi
7da33d00fc ci: use golangci github action
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 14:29:17 -07:00
Sam Alba
ca613ea50b fix linting errors
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-24 09:36:19 -07:00
Tony Worm
3a9b33f028 move timeout to golangci-lint command
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-16 15:33:52 -04:00
Andrea Luzzardi
b04c046234 test: lint cue test files
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 18:12:58 -08:00
Andrea Luzzardi
408053f092 ci: use cue version from go.mod
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-02 19:09:29 -08:00
Andrea Luzzardi
14f535655d ci: ensure cue version is consistent
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-02 18:59:07 -08:00
Andrea Luzzardi
14ff14ea4f automatically start/upgrade buildkitd
- Automatically start a buildkit daemon if no BUILDKIT_HOST is
  provided (and if not already started)
- Customization of BUILDKIT_HOST is still possible, just like before
- Automatically upgrade the managed daemon to the version used by dagger
  if necessary
- Add CI test to make sure the managed buildkit and the vendored
  buildkit versions match

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-02 18:37:30 -08:00
Andrea Luzzardi
5ba6dd1617 embedded stdlib
This PR embeds the stdlib into the dagger binary itself for convenience.
Long term we will want to source the stdlib directly from git.

- Updated go to 1.16 to use the new built-in embedding functionality
- The `stdlib` go package now contains an embed of the stdlib

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 10:08:56 -08:00
Solomon Hykes
bff4186bf4 dagger compute auto-fetches standard library from external repo
- Standard library is hosted at github.com/blocklayerhq/dagger-stdlib
- When dagger repo is made public, stdlib can be hosted from same repo
- Vendored cue.mod is merged with stdlib at file granularity
- When developing dagger, set DAGGER_DEV_STDLIB to a local stdlib
  directory

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-02-12 23:31:13 +00:00
Solomon Hykes
e8527ddcf5 No more runtime spec validation
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-02-12 23:30:46 +00:00
Andrea Luzzardi
89c7136f75 tests: move tests top-level
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-03 15:02:43 -08:00
Solomon Hykes
6f4577d501 Fix and improve examples/simple
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-01-28 19:29:57 -08:00
Andrea Luzzardi
05b45aa636
Merge pull request #59 from blocklayerhq/cue-lint-all
lint all cue files
2021-01-20 21:46:31 -08:00
Andrea Luzzardi
6ab7f88007 lint all cue files
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 18:59:21 -08:00
Andrea Luzzardi
5fa527d721 ci: enable data race detector
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 18:44:29 -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
cf390e9243 ci: enable tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-13 18:21:56 -08: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
adf3511b1e fix lint errors, enable CI
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-08 17:18:34 +01: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