Commit Graph

1067 Commits

Author SHA1 Message Date
Tom Chauveau
7c4df827c3 Add docker.#Client definition
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-27 18:15:36 +02:00
Tom Chauveau
27a60d3cdf Add tests for docker.#Run
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-27 18:15:36 +02:00
Tom Chauveau
f8760213bd Add #Run definition in docker stdlib package.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-27 18:15:36 +02:00
slumbering
a959b420a2 fix: 🐛 display the right option from select + update logo
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-05-27 17:08:01 +02:00
Sam Alba
894976e824
Merge pull request #511 from samalba/fix-ci
increased curl dependency, 7.76 was removed from alpine pkg repo
2021-05-27 05:42:21 -07:00
Sam Alba
f6aea7e529 curl: do not hardcode version requirement
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-27 14:31:57 +02:00
Sam Alba
dd17c48922 increased curl dependency, 7.76 was removed from alpine pkg repo
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-27 13:59:47 +02:00
Sam Alba
b47512ba6e
Merge pull request #508 from aluzzardi/cue-fmt
fix cue fmt
2021-05-27 00:38:37 -07:00
Sam Alba
1f29c2f598
Merge pull request #505 from samalba/gitflow-help
Gitflow help
2021-05-27 00:36:53 -07:00
Andrea Luzzardi
af32e60b37 fix cue fmt
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-26 18:46:13 -07:00
Andrea Luzzardi
5d63b22ad1
Merge pull request #504 from samalba/inputs-test
Inputs tests + description from cue doc string
2021-05-26 11:12:42 -07:00
Sam Alba
49dcef0614 examples: updated README to match gitflow UX
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 17:50:03 +02:00
Sam Alba
97be7b917a cmd/new+init: added instructions for new + fix for init arg
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 17:41:37 +02:00
Sam Alba
1f4bbc53ad cmd/init: print workspace path
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 16:26:13 +02:00
Sam Alba
9d1609187e cmd/init,new: added short description
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 16:25:42 +02:00
Sam Alba
06ed139080 tests: moved cli input test to new syntax
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 13:45:10 +02:00
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