Commit Graph

577 Commits

Author SHA1 Message Date
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
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
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
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
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
Sam Alba
f4c712e373 pipeline: implemented op.#Exec.always correctly
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-15 12:09:01 -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
Sam Alba
075fbbf3d5 pipeline: forward the no-cache option to the dockerbuild frontend
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-15 11:26:01 -07:00
Andrea Luzzardi
551f281bf7
Merge pull request #307 from TomChv/kubernetes-test
Kubernetes Stdlib tests
2021-04-15 09:34:33 -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
Tom Chauveau
e19a71e67c tests(stdlib): add kubernetes in testing suite
tests(stdlib/kubernetes): add kubernetes basic Apply test

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-15 12:37:32 +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
Tom Chauveau
592cc040ca feat(buildkit): run buildkit container in net host to reach local kubernetes cluster
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-15 12:37:32 +02:00
Andrea Luzzardi
0f22f07c3f
Merge pull request #329 from dagger/bats-gh-action
tests: improve bats/gh integration
2021-04-15 01:25:19 -07:00
Andrea Luzzardi
3f9103c8aa buildkit: support concurrent starts
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 01:20:25 -07:00
Andrea Luzzardi
23d6a8800b tests: split unit and integration
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 00:55:06 -07:00
Andrea Luzzardi
d46be324e5 tests: improve bats/gh integration
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 00:48:49 -07:00
Andrea Luzzardi
e45619d42f
Merge pull request #328 from dagger/bats-examples 2021-04-14 22:34:48 -07:00
Andrea Luzzardi
fb2e140b91 tests: convert react example test to bats
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-14 17:19:53 -07:00
Andrea Luzzardi
876ff7d4d6
Merge pull request #326 from dagger/bats-ops
tests: migrate ops test to bats
2021-04-14 17:04:34 -07:00
Andrea Luzzardi
1f640d3e25 tests: ops: use proper imports
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-14 16:44:34 -07:00
Sam Alba
9ffe5c053c solver: fixed lint error (double import)
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 16:27:15 -07:00
Sam Alba
7ed616c772 cmd: fixed typo and removed solved TODO msg
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 16:25:10 -07:00
Sam Alba
bbeff0eddb cmd: plugged no-cache option to all relevant commands
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 16:21:45 -07:00
Sam Alba
83f56897a7 solver/client: add ability to disable the cache at the LLB level
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 16:21:18 -07:00
Andrea Luzzardi
381db37ca3 tests: migrate ops test to bats
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-14 16:15:04 -07:00