Commit Graph

100 Commits

Author SHA1 Message Date
Solomon Hykes
a1e6570232 stdlib: dagger.io/docker.#Build
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-05-01 00:21:11 -07:00
Solomon Hykes
3353579dbb stdlib: dagger.io/go.#Container
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-30 18:12:08 -07:00
Solomon Hykes
256311d0ad stdlib: docker: run init commands without volumes mounted
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-30 18:12:08 -07:00
Solomon Hykes
3f514e0fa7 stdlib: dagger.io/io.#Dir
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-30 18:12:08 -07:00
Solomon Hykes
0b44243c65 stdlib: fix bug in dagger.io/io.#File
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-30 18:12:08 -07:00
Solomon Hykes
3bb6243768 stdlib: io.#File
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-30 18:12:08 -07:00
Solomon Hykes
4b15ca84fa stdlib: docker: allow container with no command
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-30 18:12:08 -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
4df8b3e087 stdlib/dagger/op: Added #DockerLogin
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-26 17:41:04 -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
Andrea Luzzardi
7bcd28582f
Merge pull request #350 from TomChv/tests-aws-eks 2021-04-24 14:04:11 -07:00
Andrea Luzzardi
2b7dfcae29 Revert "support registry auth"
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-23 16:59:22 -07:00
Tom Chauveau
9fc247848f Add test on AWS eks
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-23 13:51:50 +02:00
Tom Chauveau
2d72303bc4 Fix AWS eks kubeconfig generation
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-23 13:50:07 +02:00
Andrea Luzzardi
3dba19d9a0
Merge pull request #352 from TomChv/tests-aws-s3
Test AWS S3
2021-04-22 12:29:31 -07:00
Andrea Luzzardi
8cadd97c60
Merge pull request #344 from aluzzardi/registry-auth
support registry auth
2021-04-22 12:14:59 -07:00
Sam Alba
877b12fe4b Revert "stdlib: dagger.io/dagger/op: stricter typing for load, mount, copy"
This reverts commit 3e2b46bf3a.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-22 12:08:08 -07:00
Tom Chauveau
226be80d56 Fix directory upload on AWS s3
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-22 20:56:06 +02:00
Sam Alba
5be4ac1a1d stdlib/rds: fixed error management
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-22 09:44:18 -07:00
Solomon Hykes
3e2b46bf3a stdlib: dagger.io/dagger/op: stricter typing for load, mount, copy
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-21 20:41:00 -07:00
Andrea Luzzardi
692bd72095 support registry auth
HACK: the way buildkit works, we can only supply an Auth Provider for the entirety of the build session (`dagger up`). Therefore, we start by scanning all auth in the entire Cue tree and supply an auth provider for all of them.

Drawbacks:
- As soon as you add `auth` in a Pipeline for a registry, all other Pipelines have access to the same registry
- You can't use different credentials for the same registry

Fixes #301

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-20 15:28:33 -07:00
Sam Alba
468ac1220a added comment about always flag + cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-15 12:34:15 -07:00
Sam Alba
3a195afa31 stdlib/aws/elb: RulePriority compute can now safely bypass the cache
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-15 12:12:01 -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
Vasek - Tom C
726e91962c fix(stdlib/kubernetes): sourceInline
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-15 12:37:32 +02:00
Sam Alba
5d22e9ed43 stdlib: updated alpine base image and fixed pkg dependencies in sub libs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 14:06:51 -07:00
Sam Alba
8e5024db37 fix alpine test + only select major versions for aws pkgs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 13:54:21 -07:00
Sam Alba
413017f7cb stdlib/aws: implemented s3
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 13:42:54 -07:00
Sam Alba
41f78d948e stdlib/js/react: removed debug msg
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:14:44 -07:00
Sam Alba
c06f2aa55e stdlib/aws: don't cache cloudformation
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Sam Alba
d320916e9f stdlib/git: added subdir arg
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Sam Alba
89882dbe81 stdlib/js/react, stdlib/netlify: removed docker.#Container abstraction (gh issue #319)
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Sam Alba
0b3395b9e8 stdlib/aws: implemented 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
b13ac200f3 cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Sam Alba
9d6551e0bf stdlib/aws: implemented elb helper to get a free RulePriority from a load balancer
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Sam Alba
bd49171455 stdlib/aws: implemented ecs run-task script to invoke containers on ecs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Sam Alba
80b8e014b0 stdlib/aws: implemented ecr helper to get registry credentials
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Sam Alba
ec0e00e029 stdlib/aws: implemented #Script abstraction
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-13 14:13:11 -07:00
Frederick F. Kautz IV
0458c0a838 * add support for --input-file in dagger compute
* secrets now supports bytes
* error reporting for unhandled content data types in WriteFile

Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu>
2021-04-11 16:18:59 -07:00
Sam Alba
d0c5796c21 stdlib/kubernetes: removed left-over debug msgs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-09 09:21:15 -07:00
Solomon Hykes
2d778ea2a7 stdlib: docker: default image for simple use cases
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-08 19:00:57 -07:00
Solomon Hykes
00710fe387 stdlib: netlify: use docker.#Container
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-08 19:00:57 -07:00
Solomon Hykes
4318aeb323 stdlib: docker: option "export" field
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-08 19:00:57 -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
299a38c6b1 Simplify "dev dagger with dagger" example
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-06 13:41:21 -07:00
Solomon Hykes
6673ae69b3 stdlib: rename dagger.io/llb to dagger.io/dagger/op
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-06 10:28:40 -07:00