Commit Graph

1349 Commits

Author SHA1 Message Date
Andrea Luzzardi
5b6491aa07
Merge pull request #367 from dagger/revert-344-registry-auth
Revert "support registry auth"
2021-04-23 17:30:46 -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
d77c6f46ff
Merge pull request #342 from verdverm/scan-for-inputs
add cmd/input/list to scan a plan for inputs
2021-04-22 18:41:23 -07:00
Tony Worm
6488d41603 add cmd/input/list to scan a plan for inputs
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-04-22 17:39:36 -04: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
Andrea Luzzardi
4f91907ac4
Merge pull request #356 from dagger/revert-347-stdlib-import-cycle
Revert "stdlib: dagger.io/dagger/op: stricter typing for load, mount, copy"
2021-04-22 12:14:37 -07:00
Sam Alba
c717af0403
Merge pull request #355 from samalba/312-list-current
cmd/list: better error handling
2021-04-22 12:11:10 -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
b3c29acb34 Add tests on AWS s3 upload directory
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-22 20:57:00 +02:00
Sam Alba
b674ac21b4 cmd/list: better error handling
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-22 11:56:48 -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
d2d0734eaa
Merge pull request #343 from samalba/312-list-current
cmd/list: list show active deployment
2021-04-22 11:50:09 -07:00
Sam Alba
d000b2912b
Merge pull request #338 from dagger/pushcontainer-image-ref
Pushcontainer image ref
2021-04-22 11:49:35 -07:00
Andrea Luzzardi
b0f05e66a0
Merge pull request #351 from samalba/fix-writefile-error
Fix writefile error
2021-04-22 11:48:27 -07:00
Tom Chauveau
d5aa68fe2b Add test on AWS s3
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-22 19:18:26 +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
Sam Alba
6e16207221 pipeline: better error handling on WriteFile
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-22 09:43:45 -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
eb61f24cea
Merge pull request #346 from fermayo/fix-readme-links
readme: fix links to examples and docs
2021-04-21 11:18:23 -07:00
Andrea Luzzardi
02bfeb58cd
Merge pull request #345 from aluzzardi/test-aws-credentials
tests: add test AWS config
2021-04-21 11:14:19 -07:00
Fernando Mayo Fernandez
01ab35e100
readme: fix links to examples and docs
Signed-off-by: Fernando Mayo Fernandez <fermayo@gmail.com>
2021-04-21 20:07:08 +02:00
Andrea Luzzardi
d8193e55f1 tests: add test AWS config
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-21 11:03:32 -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
825f182ff3 cmd/list: list show active deployment
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-19 17:55:07 -07:00
Andrea Luzzardi
5e90c1a11e
Merge pull request #341 from dagger/contributing
add CONTRIBUTING.md
2021-04-19 13:35:19 -07:00
Andrea Luzzardi
d93c8929cb
Merge pull request #340 from dagger/dependabot/go_modules/github.com/uber/jaeger-client-go-2.26.0incompatible
build(deps): bump github.com/uber/jaeger-client-go from 2.25.0+incompatible to 2.26.0+incompatible
2021-04-19 12:33:22 -07:00
Andrea Luzzardi
e6d96ef5c9
Merge pull request #336 from TomChv/fix-skip-kub-test
Fix kubernetes skip condition
2021-04-19 12:29:17 -07:00
dependabot[bot]
c4025072b5 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.25.0+incompatible to 2.26.0+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.25.0...v2.26.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-19 12:27:13 -07:00
Andrea Luzzardi
30a294a79e add CONTRIBUTING.md
Add some guidelines on the suggested GitHub workflow, commit messages
and so on.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-19 12:18:58 -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
Sam Alba
6818659c14 op: push-container stores metadata on fs, under /dagger/
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-16 16:18:33 -07:00
Tom Chauveau
46b8b92002 misc(README): update README.md to use bats tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-16 22:27:26 +02:00
Tom Chauveau
b691c95f2c fix(tests): Improve the verification of local kubernetes cluster to ignore "kind: Config" field of kubeconfig
fix(tests): Update documentation
fix(tests): Enable kubernetes tests

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-16 16:10:58 +02:00
Andrea Luzzardi
8f844366d2
Merge pull request #335 from dagger/stdlib-bats
tests: migrate stdlib tests to bats
2021-04-15 16:14:59 -07:00
Andrea Luzzardi
feda737d71 tests: convert stdlib to bats
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 16:09:19 -07:00
Andrea Luzzardi
aed757120d
Merge pull request #334 from dagger/compute-bats
tests: migrate compute tests to bats
2021-04-15 16:09:10 -07:00
Andrea Luzzardi
ce2e00cfa2 tests: migrate compute tests to bats
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 15:55:51 -07:00
Andrea Luzzardi
54ba2a2688
Merge pull request #333 from dagger/examples-react-test
test: react example: use dagger up instead of compute
2021-04-15 15:42:26 -07:00
Andrea Luzzardi
1ac0041c53 test: react example: use dagger up instead of compute
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 15:09:39 -07:00
Andrea Luzzardi
14ca028918
Merge pull request #332 from dagger/dagger-inputs
support yaml and json inputs
2021-04-15 14:59:43 -07:00
Andrea Luzzardi
84f914216d
Merge pull request #331 from dagger/fix-double-exec
Fixed duplicated execution on `op.#Exec.always: true`
2021-04-15 13:09:00 -07:00
Andrea Luzzardi
46ab44a69f input: support file/stdin source for text/json/yaml
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 13:04:52 -07:00
Andrea Luzzardi
6f57ed1b9d input: support yaml and json inputs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 13:04:52 -07:00
Sam Alba
d8a632064b removed dead code
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-15 12:37:17 -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
Sam Alba
cfa9f08bc9 tests: added test to ensure an op.#Exec with no cache will not execute twice
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-15 12:10:14 -07:00