Commit Graph

2489 Commits

Author SHA1 Message Date
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
Sam Alba
5582f92a72
Merge pull request #325 from dagger/bats
tests: use bats for integration tests
2021-04-14 15:31:34 -07:00
Andrea Luzzardi
e7458e9ca2 tests: use bats for integration tests
Converted the CLI tests to using bats to get started

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-14 15:18:34 -07:00
Andrea Luzzardi
3bc91530e0
Merge pull request #323 from dagger/example-s3
Example s3
2021-04-14 14:14:48 -07: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
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
413017f7cb stdlib/aws: implemented s3
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-14 13:42:54 -07:00
Andrea Luzzardi
1f7b564350
Merge pull request #322 from dagger/dependabot/go_modules/cuelang.org/go-0.3.2
build(deps): bump cuelang.org/go from 0.3.1 to 0.3.2
2021-04-14 09:09:31 -07:00
dependabot[bot]
ef0a902749
build(deps): bump cuelang.org/go from 0.3.1 to 0.3.2
Bumps cuelang.org/go from 0.3.1 to 0.3.2.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 07:20:33 +00:00
Sam Alba
1460e13bf0
Merge pull request #311 from dagger/example-jamstack
Example jamstack
2021-04-13 17:21:33 -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
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
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
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
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
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
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
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
Andrea Luzzardi
863ba04785
Merge pull request #318 from dagger/docker-image-metadata
Proper support for Docker Image metadata
2021-04-12 18:15:47 -07:00
Andrea Luzzardi
bb5542e26e Proper support for Docker Image metadata
- Both FetchContainer and DockerBuild read the image metadata and
  convert to LLB (e.g. `ENV foo bar` in Dockerfile shows up in
  `op.#Exec`)
- Image metadata is "sticky" between Pipelines (e.g. `op.#Load` will
  re-use the same metadata)
- Image metadata is injected back to #PushContainer, so that
  DockerBuild+PushContainer and FetchContainer+PushContainer do not lose
  any metadata.
- Tests for all the above

Fixes #142

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-12 17:47:58 -07:00
Andrea Luzzardi
f940f0112a
Merge pull request #315 from dagger/dependabot/go_modules/github.com/containerd/console-1.0.2
build(deps): bump github.com/containerd/console from 1.0.1 to 1.0.2
2021-04-12 11:03:35 -07:00
dependabot[bot]
506c2b9dfd
build(deps): bump github.com/containerd/console from 1.0.1 to 1.0.2
Bumps [github.com/containerd/console](https://github.com/containerd/console) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/containerd/console/releases)
- [Commits](https://github.com/containerd/console/compare/v1.0.1...v1.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 17:50:00 +00:00
Andrea Luzzardi
0fa8e18d81
Merge pull request #305 from fkautz/pr_out_add_support_for_input_file_in_dagger_compute
Add support for input file in dagger compute
2021-04-12 10:42:33 -07:00
Andrea Luzzardi
b8a4837bcd
Merge pull request #313 from fkautz/pr_out_variables_shouldn_t_shadow_packages
variables shouldn't shadow packages
2021-04-12 10:32:23 -07:00
Andrea Luzzardi
daf4d510e4
Merge pull request #314 from dagger/dependabot/go_modules/cuelang.org/go-0.3.1
build(deps): bump cuelang.org/go from 0.3.0 to 0.3.1
2021-04-12 10:31:36 -07:00
dependabot[bot]
4becba5e83
build(deps): bump cuelang.org/go from 0.3.0 to 0.3.1
Bumps cuelang.org/go from 0.3.0 to 0.3.1.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 09:12:16 +00:00
Frederick F. Kautz IV
e595e1d833 variables shouldn't shadow packages
Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu>
2021-04-11 16:30:48 -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
Andrea Luzzardi
308ade0a79
Merge pull request #306 from dagger/dependabot/go_modules/go.mozilla.org/sops/v3-3.7.1
build(deps): bump go.mozilla.org/sops/v3 from 3.7.0 to 3.7.1
2021-04-09 14:03:56 -07:00