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
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
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
Solomon Hykes
f7e4279ef8
dagger CLI spec
...
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-22 12:44:03 -07:00
Tony Worm
a90a823d80
updates go.mod (via go mod download)
...
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-22 14:51:50 -04:00
Andrea Luzzardi
5dd7dea6af
Merge pull request #201 from dagger/dependabot/go_modules/cuelang.org/go-0.3.0-beta.7
...
build(deps): bump cuelang.org/go from 0.3.0-beta.6 to 0.3.0-beta.7
2021-03-22 11:32:40 -07: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
b23984f0b3
Merge pull request #200 from dagger/stable-llb
...
cache fix: stable ordering of maps (Env, Mount, ...)
2021-03-19 18:11:29 -07:00
Andrea Luzzardi
b8de4e5049
cache fix: stable ordering of maps (Env, Mount, ...)
...
Maps were causing the same Pipeline to randomly produce slightly different LLB
on each run (because they are represented as an array in LLB, wheras
they're a map in CueLLB).
This forces every Cue field iteration (env, mount, etc) to be
predictable by using stable sorting.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-19 15:07:01 -07:00
Andrea Luzzardi
1904d3a918
Merge pull request #198 from dagger/inputs-encryption
...
Inputs encryption using SOPS
2021-03-19 13:02:56 -07:00
Andrea Luzzardi
b90f6d5b2d
examples: clarify react-netlify instructions
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-19 10:38:33 -07:00
Andrea Luzzardi
35028b5d57
ci: run tests and linter in parallel
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 18:41:38 -07:00
Andrea Luzzardi
d351b0086a
debug
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 18:37:45 -07:00
Andrea Luzzardi
fbdfe27103
stdlib: netlify: export the deployUrl and logsUrl
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 18:37:45 -07:00
Andrea Luzzardi
5438e4177c
stdlib: add tests for netlify
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 18:37:45 -07:00
Andrea Luzzardi
657b100ff1
ci: test react-netlify using secrets
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 18:37:45 -07:00
Andrea Luzzardi
87d576e936
ci: remove git-crypt, switch to sops
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 18:37:45 -07:00
Andrea Luzzardi
56ea7e3991
do not log inputs as they may contain secrets
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 17:43:13 -07: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
Sam Alba
eb6fe17df3
Merge pull request #188 from dagger/example-aws-eks
...
Example for deploying containers to AWS EKS
2021-03-18 16:37:29 -07:00
Sam Alba
dd5e5684b2
stdlib: moved kubeconfig to #Secret
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-18 16:26:38 -07:00
Sam Alba
13fa947062
stdlib: cue fmt
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-18 16:09:43 -07:00
Andrea Luzzardi
fee4431d48
Merge pull request #199 from dagger/fix-log-flags
...
fix --log-* flags
2021-03-18 16:02:24 -07:00
Andrea Luzzardi
ad0fcfffeb
fix --log-* flags
...
Have each command create their own logger rather than using the one from
`cmd.Context()`. This is because that one gets created "too early" when
`--log-*` flags have not been parsed yet.
Fixes #181
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 15:55:16 -07:00
Sam Alba
abdcb7e093
added kubeconfig code in the example + updated readme
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-18 15:53:55 -07:00