Commit Graph

1863 Commits

Author SHA1 Message Date
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
Andrea Luzzardi
cba524eb0f merge Route into Env, rebase dagger compute to use the new API
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
Solomon Hykes
7bf05d3cc9 CLI backend to manage layout and inputs
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-25 22:29:11 +00:00
Sam Alba
9c110716a5 added input, output, layout cmds
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-25 22:29:11 +00:00
Solomon Hykes
37bf20e24b Expand mockup backend for CLI
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-25 22:29:11 +00:00
Sam Alba
661affa4cb more basic commands + lint fixes
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-25 22:29:11 +00:00
Sam Alba
84188535f3 implemented basic commands: up, down, new, query, list
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-25 22:29:11 +00:00
Solomon Hykes
c33dc5138f Mockup CLI backend API
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-25 22:29:10 +00:00
Solomon Hykes
e10ecf0017 README: link to examples
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-25 15:27:35 -07:00
Solomon Hykes
13b0000851 README: clarify wording, thank you @icecrime for feedback
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-25 15:27:35 -07:00
Solomon Hykes
437aba7fdb Harmonize docs with intro paragraph from CLI spec
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-25 15:27:35 -07:00
Solomon Hykes
ab6518cca0 CLI spec: "query [-l string]" becomes "query [--no-input] [--no-output] [--no-layout]"
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-25 15:27:35 -07:00
Solomon Hykes
d78b9238e2 CLI spec: route->controller, layout->deployment plan, new&improved overview
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-25 15:27:35 -07:00
Solomon Hykes
8b77c15eac CLI spec: stack becomes route; base becomes layout
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-25 15:27:35 -07:00
Solomon Hykes
5925767841 Docs: Dagger vs Build Systems
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-24 23:05:16 -07:00
Solomon Hykes
d8ae5d288e Docs: Dagger vs CI
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-24 23:05:16 -07:00
Solomon Hykes
0f6ae46902 Docs: Dagger vs Other Software
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-24 23:05:16 -07:00
Solomon Hykes
ba9210cf7c Update README inspired by "shipping route" metaphor
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-24 23:05:16 -07:00
Sam Alba
4a292f299c
Merge pull request #204 from dagger/example-kubernetes
Example kubernetes
2021-03-24 09:43:12 -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
Sam Alba
a3513ed479 stdlib: helm: fixed typo + moved helm install to own exec to optimize caching
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-24 09:30:57 -07:00
Sam Alba
17ddf60bfc example: added README
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-24 08:46:06 -07:00
Sam Alba
2daff0ee74 example: added kubernetes example with Helm
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-24 08:46:06 -07:00
Sam Alba
cbb4f325bf stdlib: implemented kubernetes/helm
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-24 08:46:06 -07:00
Sam Alba
f03018d230 example: added simple kubernetes example
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-24 08:46:06 -07:00
Sam Alba
57dfa96bee stdlib: implemented generic kubectl apply + fixes in eks
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-24 08:46:06 -07:00
Andrea Luzzardi
3792a716ab
Merge pull request #207 from dagger/pipeline-fix-panic
pipeline: Fix panic for empty pipelines
2021-03-22 17:06:03 -07:00
Andrea Luzzardi
9c4cb1b15a pipeline: Fix panic for empty pipelines
`Solve() of `llb.Scratch()` returns a `nil` reference. This causes
Pipelines with no operations to panic when interacted with, because of
`nil` pointer de-reference.

Mitigates #189 and #184

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-22 16:30:17 -07:00
Andrea Luzzardi
9a5d657f8a
Merge pull request #203 from verdverm/gosum-update
update go.sum (via go mod download)
2021-03-22 13:02:08 -07:00
Solomon Hykes
fb27b698b3 Move CLI spec to a better location
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-22 12:49:43 -07:00