Commit Graph

3001 Commits

Author SHA1 Message Date
Sam Alba
3ae6b6f01b test: cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:34:22 +02:00
Sam Alba
a4167dc3f4 cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:28:24 +02:00
Sam Alba
7009d01835 stdlib: added @dagger(input) and @dagger(output) attributes
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:23:44 +02:00
Sam Alba
42e91c0a30 test: implemented tests for input list
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:03:24 +02:00
Sam Alba
6568c4e6d1 test: removed unused test
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:03:24 +02:00
Sam Alba
b181300930 examples/simple-s3: added comment for input description
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:03:24 +02:00
Sam Alba
16553b2e2a cmd/input: added support for Description from cue doc string
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:03:22 +02:00
Paul Jolly
cd19a4228a
stdlib: put full definition of #Op behind a build attribute
This allows dagger.io/dagger/op.#Op to be maintained in regular
uncommented CUE, but not participate by default in normal dagger
evaluation (given the performance problems it currently introduces).

The "full" #Op can be enabled by passing the "-t fullop" flag:

    cue eval -t fullop ./examples/react

(which currently triggers the performance issue).

Signed-off-by: Paul Jolly <paul@myitcv.io>
2021-05-26 10:31:45 +01:00
Andrea Luzzardi
78fcb503c9
Merge pull request #502 from aluzzardi/pkg-cleanup
cleanup: go packages
2021-05-25 17:05:33 -07:00
Andrea Luzzardi
af776b8abe cleanup: move packages to top level, change vanity URL
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 16:54:00 -07:00
Andrea Luzzardi
e13153a284 cleanup: split dagger into sub-packages
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 16:53:41 -07:00
Solomon Hykes
aa34e95eee Dev env: adopt gitflow layout
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-25 16:50:13 -07:00
Solomon Hykes
3349955144 stdlib: fix dagger.io/go
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-25 16:50:13 -07:00
Solomon Hykes
d8b4181926 Docs: remove examples not listed in README
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-25 16:38:04 -07:00
Solomon Hykes
815ea4c704 Docs: simplify intro page
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-25 16:38:04 -07:00
Solomon Hykes
1ea2cf2a14 docs: title "Install Dagger"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-25 16:38:04 -07:00
Andrea Luzzardi
93d7bb08e5
Merge pull request #459 from aluzzardi/gitflow-ux
gitflow
2021-05-25 15:38:18 -07:00
Solomon Hykes
935782e6a6 Docs: simplify install instructions
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-25 15:34:57 -07:00
Andrea Luzzardi
d10b8cf7d0 docs: update docs for gitflow
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 15:20:44 -07:00
Andrea Luzzardi
c7c8c5fa8d tests: fix integration tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 15:17:32 -07:00
Andrea Luzzardi
12b771a43b update zerolog
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:37:11 -07:00
Andrea Luzzardi
0ff12432ae add encryption tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:35:37 -07:00
Andrea Luzzardi
1e37a0862c fix workspace tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:05 -07:00
Andrea Luzzardi
bfe9097f66 improve cue error displaying for plans
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:05 -07:00
Andrea Luzzardi
322ca54e58 state: do not overwrite values.yaml if nothing has changed
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:05 -07:00
Andrea Luzzardi
155c90e3e0 dagger list: skip environment if it can't be decryted
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:05 -07:00
Andrea Luzzardi
0acd3a256a only consider workspaces containing an env directory
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:05 -07:00
Andrea Luzzardi
f374f4c5ea encryption: re-use same IVs so that the ciphertext doesn't change when decrypting and reencrypting
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:04 -07:00
Andrea Luzzardi
90abadf0de gitflow: multi env support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:04 -07:00
Andrea Luzzardi
f0156f449f state encryption support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:04 -07:00
Andrea Luzzardi
12436c20bc remove delete command
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:04 -07:00
Andrea Luzzardi
9d416d65f7 secret input type, simplify state format
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:04 -07:00
Andrea Luzzardi
5442d6b261 remove support for environment paths
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:04 -07:00
Andrea Luzzardi
b77d1a1e3e gitflow ux
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 13:07:04 -07:00
Andrea Luzzardi
52a1a6bac0
Merge pull request #491 from TomChv/tests-random
Move random string generation from tests to his own file
2021-05-25 12:46:44 -07:00
Andrea Luzzardi
9a49eb9a30
Merge pull request #496 from dagger/dependabot/go_modules/github.com/uber/jaeger-client-go-2.29.1incompatible 2021-05-25 00:02:03 -07:00
dependabot[bot]
dc02a5fba1
build(deps): bump github.com/uber/jaeger-client-go
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go) from 2.29.0+incompatible to 2.29.1+incompatible.
- [Release notes](https://github.com/uber/jaeger-client-go/releases)
- [Changelog](https://github.com/jaegertracing/jaeger-client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber/jaeger-client-go/compare/v2.29.0...v2.29.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 06:31:43 +00:00
Solomon Hykes
9548e014b7 Docs: title change in sidebar
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-24 18:01:01 -07:00
Andrea Luzzardi
f498a9bb84
Merge pull request #478 from dagger/dependabot/go_modules/google.golang.org/grpc-1.38.0
build(deps): bump google.golang.org/grpc from 1.37.1 to 1.38.0
2021-05-24 11:18:30 -07:00
Andrea Luzzardi
8c511a8dc3
Merge pull request #483 from hongchaodeng/patch-1
Update README.md
2021-05-24 11:18:14 -07:00
Tom Chauveau
ebe26a90ca Move random string generation to his own file to avoid replication in tests.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-22 16:49:57 +02:00
Hongchao Deng
c80eab301d Update README.md
update docs reference

Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2021-05-21 22:27:52 -04:00
Sam Alba
a953c5f0d5
Merge pull request #490 from samalba/s3-cache
examples/simple-s3: force cache
2021-05-21 17:51:01 -07:00
Sam Alba
8b546acc94 examples/simple-s3: force cache
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-21 17:50:17 -07:00
Sam Alba
df2ad2d2f1
Merge pull request #489 from samalba/inputs2
input list
2021-05-21 17:47:18 -07:00
Sam Alba
a8837aaaed cmd/inputs: added --all option to list
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-21 17:39:17 -07:00
Sam Alba
6b73de7ea3 detect reference on cue conjunction
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-21 17:38:33 -07:00
Sam Alba
7484df45cd clean up comments
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-21 16:56:30 -07:00
Sam Alba
57a168e6b5 pkg: removed unused code
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-21 16:10:07 -07:00
Sam Alba
223e3f6681 cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-21 16:06:21 -07:00