Commit Graph

137 Commits

Author SHA1 Message Date
dependabot[bot]
4becba5e83
build(deps): bump cuelang.org/go from 0.3.0 to 0.3.1
Bumps cuelang.org/go from 0.3.0 to 0.3.1.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 09:12:16 +00:00
dependabot[bot]
84b14c522b
build(deps): bump go.mozilla.org/sops/v3 from 3.7.0 to 3.7.1
Bumps [go.mozilla.org/sops/v3](https://github.com/mozilla/sops) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/mozilla/sops/releases)
- [Changelog](https://github.com/mozilla/sops/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/mozilla/sops/compare/v3.7.0...v3.7.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-09 07:43:05 +00:00
dependabot[bot]
d12b5d0d03
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.7.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-05 09:20:38 +00:00
Andrea Luzzardi
6d01389e16 go.mod: fix sops dependency
Taken from https://github.com/dagger/dagger/pull/239

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 15:08:48 -07:00
Tony Worm
ff60bd0406 update CUE to v0.3.0
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-04-02 16:02:44 -04:00
dependabot[bot]
ca9b031e9e build(deps): bump cuelang.org/go from 0.3.0-beta.7 to 0.3.0-beta.8
Bumps cuelang.org/go from 0.3.0-beta.7 to 0.3.0-beta.8.

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-31 12:08:53 -07:00
Andrea Luzzardi
e503e12cff
Merge pull request #208 from dagger/cli-ux
CLI v2
2021-03-30 19:07:01 -07:00
dependabot[bot]
f676e32961 build(deps): bump github.com/rs/zerolog from 1.20.0 to 1.21.0
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.20.0...v1.21.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-29 14:53:43 -07:00
Andrea Luzzardi
524f77df65 tests: fix unit tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-25 22:29:11 +00:00
Sam Alba
43b3af6fff init local route dir
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-25 22:29:11 +00:00
Andrea Luzzardi
9b8d1141e1 fix go.mod
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-22 11:24:08 -07:00
dependabot[bot]
3c1b4ea8ce
build(deps): bump cuelang.org/go from 0.3.0-beta.6 to 0.3.0-beta.7
Bumps cuelang.org/go from 0.3.0-beta.6 to 0.3.0-beta.7.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-22 08:58:13 +00:00
Andrea Luzzardi
e6bb3f12f4 inputs decryption using SOPS
- Add support for --input-json and --input-yaml (plaintext)
- Input files can optionally be encrypted using sops, with transparent
  decryption by dagger

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 17:43:13 -07:00
dependabot[bot]
bd7eb64048
build(deps): bump cuelang.org/go from 0.3.0-beta.5 to 0.3.0-beta.6
Bumps cuelang.org/go from 0.3.0-beta.5 to 0.3.0-beta.6.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-12 07:21:01 +00:00
Andrea Luzzardi
f35df0475b opentracing support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-04 10:45:20 -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
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
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
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
fef148f6c0 rename go package dagger.io/go
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 13:13:39 -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
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
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
Andrea Luzzardi
b324fa3248 bump cue to v0.3.0-beta.4
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-09 11:42:41 -08:00
Andrea Luzzardi
c6e010d4f0 Misc Export fixes
- Temporarily disable export of base.cue as it causes merge errors at
  the end of compute
- Fixes for JSON export for Scalar and Lists
- Add YAML export
- Removed BOOL and NUMBER support, using JSON for now
- Re-enabled all export tests

Fixes #36

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-02 16:19:46 -08:00
Solomon Hykes
1954c3f731 dagger compute [--input-dir TARGET=DIR] [--input-string TARGET=STRING] [--input-cue CUE] [--input-git REMOTE#REF]
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-01-31 22:48:30 -08:00
Andrea Luzzardi
4e760887db cue: update to v0.3.0-beta.3
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-28 12:52:13 -08:00
Andrea Luzzardi
70677c411f upgrade cue to v0.3.0-beta.2
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-20 19:08:52 -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
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
4ffcdbf359 bump buildkit to v0.8.1
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-01-08 17:28:33 +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