Commit Graph

3093 Commits

Author SHA1 Message Date
Solomon Hykes
991d2f4e52 Docs: update react-netlify example for new CLI
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 14:46:39 -07:00
Sam Alba
4dcddc68c3
Merge pull request #229 from dagger/cli-new-name
Fix "dagger new --name"
2021-04-01 11:30:22 -07:00
Sam Alba
29cad95f1d cmd/new: implemented --plan-dir
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-01 11:12:44 -07:00
Sam Alba
b9b195b70f cmd/new: implemented optional arg to specify name, forbid usage of -d option
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-01 10:49:17 -07:00
Sam Alba
c79d18d8b2
Merge pull request #238 from dagger/test-reorg
Integration tests re-org
2021-04-01 10:26:20 -07:00
Andrea Luzzardi
8917017e16 tests: move input inside compute
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-31 19:15:48 -07:00
Andrea Luzzardi
4b682a8e3f tests: reorganize test suite
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-31 19:04:37 -07:00
Andrea Luzzardi
93296fa358 tests: move llb tests into tests/llb
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-31 18:49:53 -07:00
Andrea Luzzardi
e0afc6304d
Merge pull request #235 from dagger/cli-query
Implemented cli query command
2021-03-31 18:41:01 -07:00
Andrea Luzzardi
f1bf58ed86 tests: fix invalid dockerbuild test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-31 18:34:23 -07:00
Sam Alba
3aec0337d2 tests: fixed invalid test
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-31 18:10:20 -07:00
Sam Alba
ac5c8417d2 cmd: implemented query to be close to cue eval
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-31 16:32:48 -07:00
Sam Alba
c583dc20ef implemented ClientDoFunc callback to make the client.Up code reusable for other client actions
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-31 16:32:15 -07:00
Solomon Hykes
47b16a1d1b Fix "dagger new --name"
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-31 22:04:15 +00:00
Andrea Luzzardi
93a07db060
Merge pull request #224 from dagger/dependabot/go_modules/cuelang.org/go-0.3.0-beta.8
build(deps): bump cuelang.org/go from 0.3.0-beta.7 to 0.3.0-beta.8
2021-03-31 14:38:22 -07:00
Andrea Luzzardi
1a3dc3debc dagger spec: fix Artifact definition
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-31 14:20:31 -07:00
Andrea Luzzardi
b9bd250634 client: fix cue error reporting
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-31 14:20:02 -07:00
Andrea Luzzardi
993b96dcb4 cue: simplify lookup wrappers
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-31 13:40:46 -07:00
Andrea Luzzardi
a8b41c06b7 cue: Use FillPath everywhere since Fill is now deprecated
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-31 13:14:36 -07: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
f3182aa12f
Merge pull request #221 from fkautz/pr_out_cache_go_modules_during_docker_build
cache go modules during docker build
2021-03-31 11:19:02 -07:00
Frederick F. Kautz IV
04fd20ed7e cache go modules during docker build
Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu>
2021-03-30 21:13:06 -07:00
Sam Alba
c5089d5c04
Merge pull request #220 from dagger/layout-to-plan
terminology: rename layout -> plan
2021-03-30 20:03:51 -07:00
Andrea Luzzardi
e6674b7b7e terminology: rename layout -> plan
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-30 19:45:18 -07:00
Andrea Luzzardi
f901918266 terminology: rename route -> deployment
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-30 19:33:21 -07:00
Andrea Luzzardi
e503e12cff
Merge pull request #208 from dagger/cli-ux
CLI v2
2021-03-30 19:07:01 -07:00
Andrea Luzzardi
0f09ba5e87 minor error messages and linter cleanups
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-30 18:53:09 -07:00
Dan POP
eb4c1474f4 Update README.md
update "Learn More" to have a a more natural flow from install to advanced capabilities

Signed-off-by: Dan POP <dan.papandrea@sysdig.com>
2021-03-30 12:47:02 -07:00
Solomon Hykes
9672fcb3c6 README: improve overview
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-30 12:46:17 -07:00
Andrea Luzzardi
37bd28711b
Merge pull request #212 from dagger/dependabot/go_modules/github.com/rs/zerolog-1.21.0
build(deps): bump github.com/rs/zerolog from 1.20.0 to 1.21.0
2021-03-29 15:28:59 -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
Solomon Hykes
41c62e82d6
README: DAG illustration
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-26 17:52:08 -07:00
Solomon Hykes
6a894afaf2 Improve programmer guide
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-26 17:14:44 -07:00
Solomon Hykes
d6c51c6df5 CLI spec: fix copy-paste mistake
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-26 17:14:44 -07:00
Andrea Luzzardi
a45f3447b7 env -> route cleanup
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-26 16:44:13 -07:00
Andrea Luzzardi
3bfa056b9b tests: fix input test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-26 16:24:22 -07:00
Solomon Hykes
4ef77efeac CLI spec: controller -> deployment
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-26 15:59:37 -07:00
Solomon Hykes
95fc037d3b Programmer guide: improve & add content
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-26 15:59:37 -07:00
Sam Alba
576613e46a implemented inputs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-26 15:50:18 -07:00
Andrea Luzzardi
ef84d2d431 inputs: use a struct rather than an interface
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-26 14:11:56 -07:00
Sam Alba
a1c9041363 implement proper route lookup
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-26 11:04:31 -07:00
Andrea Luzzardi
e08e64b311 store: keep an in-memory index of routes, support lookup by path
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-25 19:08:52 -07:00
Andrea Luzzardi
1e8cef9ad0 cli: access flags using viper rather than cobra
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-25 16:11:52 -07:00
Andrea Luzzardi
f59b30a27c cli: cleanup logger usage
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-25 16:07:39 -07:00
Andrea Luzzardi
a3b84386bc store routes as directories
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-25 15:50:19 -07:00
Andrea Luzzardi
0e21144529 tests: fix input tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-25 15:46:37 -07:00
Andrea Luzzardi
9fec69f3a0 make store a struct and add tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-25 22:29:11 +00: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
7ad541feb1 implemented new, up, list
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-25 22:29:11 +00:00
Andrea Luzzardi
43956e38cc separate Store from State
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-25 22:29:11 +00:00