Commit Graph

103 Commits

Author SHA1 Message Date
Sam Alba
d1454a9871 stdlib: renamed verbs to nouns
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +02:00
Andrea Luzzardi
a5e9ac8a0f stdlib: kubernetes: rename #Apply to #Resources
Code convention: use nouns instead of verbs whenever possible.

Reasoning: One can apply just about anything to Kubernetes via this:
deployment, load balancer, RBAC policy, a custom CRD resource, etc.

Upstream those are called resources: You give `kubectl apply` one or more
manifests and it will create the corresponding resources.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-04 14:03:35 -07:00
Andrea Luzzardi
6aded2d3d4
Merge pull request #536 from aluzzardi/kubernetes-fixes
stdlib: kubernetes: misc fixes
2021-06-01 19:50:11 -07:00
Andrea Luzzardi
2e748c9c31 stdlib: kubernetes: misc fixes
- `source` is now optional
- `sourceInline` renamed to `manifest`
- `kubeconfig` is a `string` rather than a `dagger.#Secret`

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-01 19:13:56 -07:00
Sam Alba
56e60c5b29 examples: added outputs/inputs annotations
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-01 16:00:01 +02:00
Sam Alba
e86963eea3 examples/simple-s3: added output annotation
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 15:23:41 +02:00
Sam Alba
1f29c2f598
Merge pull request #505 from samalba/gitflow-help
Gitflow help
2021-05-27 00:36:53 -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
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
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
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
223e3f6681 cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-21 16:06:21 -07:00
Sam Alba
a369c7a1ba examples: simple-s3: converted to inputs attributes for testing
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-21 16:04:02 -07:00
Tom Chauveau
0383c6b52a remove unused test helper
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-15 16:05:09 +02:00
Tom Chauveau
24aee99ba9 Add test for docker example
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-05-13 16:34:51 +02:00
Solomon Hykes
16edfc4fec stdlib: rename js/react.#App to js/yarn.#Package
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-12 17:24:10 -07:00
Sam Alba
8730c66167 cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-11 15:21:34 -07:00
Sam Alba
9cab6146ce examples/simple-s3: easier example to understand simple use case
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-11 15:03:28 -07:00
Solomon Hykes
161e67de9a Develop Dagger with Dagger: new and improved
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-29 17:51:03 -07:00
Elie
7abacf1b99
Make S3 always do a Put
Signed-off-by: Elie <elie.charra@cloudskiff.com>
2021-04-29 21:34:12 +02:00
Sam Alba
56926a7fed examples/jamstack: use a inputs.yaml instead of cue code
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-27 12:11:33 -07:00
Sam Alba
df4f4b293c cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-26 17:45:14 -07:00
Sam Alba
ddd093f44d examples/jamstack: updated example
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-26 17:42:13 -07:00
Sam Alba
c28199c76e stdlib/ecr / jamstack: ported to new syntax
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-26 14:12:43 -07:00
Sam Alba
7d76a87ae2 examples/jamstack: implemented image_ref
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-16 16:20:27 -07:00
Andrea Luzzardi
493406afe7
Merge pull request #327 from dagger/no-cache
Implemented "--no-cache" option
2021-04-15 11:37:45 -07:00
Sam Alba
ee555dea0c examples/jamstack: fixed logic to test the push-container with no-cache
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-15 11:26:21 -07:00
Tom Chauveau
32d523aa71 tests(stdlib/k8s/helm): test basic helm chart
tests(stdlib/k8s/helm): add verification
style(tests/): rename helper into verify to confirm that deployments works

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-15 14:24:42 +02:00
Sam Alba
39f7170cc5 examples: added simple s3 for static website example
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 13:42:54 -07:00
Sam Alba
f10f36e8ad fixed typo
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 17:21:03 -07:00
Sam Alba
cf9a2b24c8 cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 15:49:07 -07:00
Sam Alba
a9f76268a2 examples/jamstack: added README and example app config
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 15:32:23 -07:00
Sam Alba
3911c25803 examples/jamstack: added support for frontend (netlify)
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Sam Alba
e972863be6 examples/jamstack: implemented database integration with RDS
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Sam Alba
d26ed13d88 fixed invalid references
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Sam Alba
90936c450f examples/jamstack: implemented backend deployment running on ecs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Andrea Luzzardi
a92423f186 tests: fix react example test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-08 18:48:23 -07:00
Andrea Luzzardi
ae0ef42556
Merge pull request #290 from dagger/fix-kube-example
stdlib/kubernetes: split source with dagger.#Artifact and string
2021-04-07 17:00:06 -07:00
Solomon Hykes
ee621590ff stdlib: dagger.io/js/react
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-07 16:28:39 -07:00
Sam Alba
464c4177d7 stdlib/kubernetes: split source with dagger.#Artifact and sourceInline (string) fixes #263
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-06 20:57:45 -07:00
Solomon Hykes
647e4c898b stdlib: improved Docker package
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-06 15:41:36 -07:00
Solomon Hykes
7241c9a675 New example: hello world
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 20:34:47 -07:00
Solomon Hykes
3168129611 Example: docker (not yet documented)
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 20:34:47 -07:00
Solomon Hykes
ca4da5e472 Docs: update and polish kubernetes-app and monitoring examples
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 20:34:31 -07:00
Solomon Hykes
0352517f57 Fix linter
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 17:49:15 -07:00
Andrea Luzzardi
324a1c2992 examples: kubernetes-aws: fix cuefmt
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-01 16:49:58 -07:00
Solomon Hykes
48e8b200ae Docs: update and polish "Kubernetes on AWS" example
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 22:37:14 +00:00
Solomon Hykes
e701de01c1 Improve react example
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 14:46:39 -07:00
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
ca613ea50b fix linting errors
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-24 09:36:19 -07:00