Commit Graph

80 Commits

Author SHA1 Message Date
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
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
f03018d230 example: added simple kubernetes example
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-24 08:46:06 -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
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
Sam Alba
13fa947062 stdlib: cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-18 16:09:43 -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
Sam Alba
f7457e2cba Simplified infra args to be more intuitive + moved EKS worker node group to managed nodes instead of plain ec2 instances
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-18 10:42:45 -07:00
Sam Alba
5900ec24ec implemented EKS infra provisioning with CFN
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-16 17:45:34 -07:00
Solomon Hykes
6460a5c9fc Rename dagger.#Dir to dagger.#Artifact
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-13 00:11:59 -08:00
Solomon Hykes
1f874025aa Improve examples using go & docker stdlib packages
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-12 18:10:36 -08:00
Solomon Hykes
7a77466a66 DX: change "#dagger: compute: " to "#compute: "
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-06 19:39:22 -08:00
Sam Alba
56bcf6366c implemented http-monitoring example using AWS Cloudformation and AWS Cloudwatch Synthetics
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-03 17:34:00 -08:00
Andrea Luzzardi
bc2dae7e32 docker build support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-22 14:14:51 -08:00
Andrea Luzzardi
d5830fbaca
Merge pull request #131 from dagger/dogfood-example
example: Dogfood
2021-02-19 12:12:07 -08:00
Andrea Luzzardi
74d3bb81cb examples: dogfood!
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-19 01:25:53 -08:00
Andrea Luzzardi
037dacaf6d example: deploy react to netlify
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-18 18:48:49 -08:00
Andrea Luzzardi
3ab0563e80 cue module is now dagger.io
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 13:21:41 -08:00
Solomon Hykes
bff4186bf4 dagger compute auto-fetches standard library from external repo
- Standard library is hosted at github.com/blocklayerhq/dagger-stdlib
- When dagger repo is made public, stdlib can be hosted from same repo
- Vendored cue.mod is merged with stdlib at file granularity
- When developing dagger, set DAGGER_DEV_STDLIB to a local stdlib
  directory

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-02-12 23:31:13 +00:00
Solomon Hykes
77bf0be306 Remove broken examples
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-02-12 23:31:13 +00:00
Solomon Hykes
e8527ddcf5 No more runtime spec validation
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-02-12 23:30:46 +00:00
Solomon Hykes
acba8b3988 Simplify runtime code by removing layers of abstraction
- Remove intermediary types `Component`, `Script`, `Op`, `mount`: just use
  `cc.Value` directly
- Remove `Executable` interface.
- Execute llb code with a simple concrete type `Pipeline`
- Analyze llb code with a simple utility `Analyze`

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-02-12 22:20:20 +00:00