Commit Graph

1998 Commits

Author SHA1 Message Date
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
Sam Alba
12302f7aa1
Merge pull request #308 from dagger/remove-kube-debug
stdlib/kubernetes: removed left-over debug msgs
2021-04-09 09:22:13 -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
dependabot[bot]
84b14c522b
build(deps): bump go.mozilla.org/sops/v3 from 3.7.0 to 3.7.1
Bumps [go.mozilla.org/sops/v3](https://github.com/mozilla/sops) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/mozilla/sops/releases)
- [Changelog](https://github.com/mozilla/sops/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/mozilla/sops/compare/v3.7.0...v3.7.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-09 07:43:05 +00:00
Andrea Luzzardi
de1d20563d
Merge pull request #297 from dagger/sh-dx
Various DX improvements
2021-04-08 19:23:52 -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
92ef1abd28
Merge pull request #288 from dagger/dagger-up-store-outputs
up: store outputs and merge in query
2021-04-08 18:56:15 -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
65ebbc8ecb tests: add query tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-08 18:38:18 -07:00
Andrea Luzzardi
43a34f0b04 tests: re-enable CLI tests, use the brand new query
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-08 18:11:15 -07:00
Andrea Luzzardi
60db93a246 client: pass through the deployment directly
we can't serialize Cue in a lossless way. The current architecture has
the frontend serialize the state (plan, input, computed) to Cue files,
then the client loads them back. We lose information by doing this, and
therefore the merge fails.

This change removes the abstraction so that we operate directly on the
cue.Instance.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-08 18:11:06 -07:00
Andrea Luzzardi
8b0eea6e7f compiler: simplify InstanceMerge
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-08 17:22:25 -07:00
Andrea Luzzardi
10e676923c logger: fix concurrency issue
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-08 16:31:37 -07:00
Andrea Luzzardi
b4c530653c compiler: fix data race issue
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-08 16:30:55 -07:00
Andrea Luzzardi
e54f1b0c3a store only computed values in compute layer
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-07 19:37:48 -07:00
Andrea Luzzardi
5381d0bfe1 up: store outputs and merge in query
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-07 19:05:09 -07:00
Andrea Luzzardi
e82ef9dfce
Merge pull request #298 from dagger/gh-action-timeout
ci: set a CI timeout
2021-04-07 19:02:58 -07:00
Andrea Luzzardi
1e7d8bee16 ci: set a CI timeout
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-07 18:50:18 -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
Solomon Hykes
cfde22b69d README: add invite link to Discord chatroom
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-07 16:13:20 -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
d522fc3396 dev.cue: polish
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
Andrea Luzzardi
7fb90790f3
Merge pull request #284 from fkautz/pr_out_ignore_idea 2021-04-06 00:08:38 -07:00
Andrea Luzzardi
8151f1806c
Merge pull request #272 from fkautz/pr_out_add_make_install 2021-04-06 00:08:03 -07:00
Frederick F. Kautz IV
e2066de088 Add 'make install'
Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu>
2021-04-05 23:50:23 -07:00
Frederick F. Kautz IV
dd36abcc29 ignore .idea
Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu>
2021-04-05 23:43:16 -07:00
Solomon Hykes
7b64c80021 Work in progress: develop dagger with dagger
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-05 17:19:03 -07:00
Andrea Luzzardi
74e4f4b814
Merge pull request #280 from dagger/stdlib-go-cache
stdlib: go: set GOMODCACHE directory
2021-04-05 17:09:45 -07:00
Andrea Luzzardi
7cf1163a2b
Merge pull request #279 from dagger/store-fix-duplicate-paths
store: fix duplicate paths
2021-04-05 17:09:35 -07:00
Andrea Luzzardi
5afc762096 stdlib: go: set GOMODCACHE directory
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-05 14:37:00 -07:00
Andrea Luzzardi
5a6a8c0ff6 store: fix duplicate paths
A deployment with multiple times the same path would appear repeated in
`LookupDeploymentByPath`.

This change indexes paths as a map rather than a list, thus avoiding the
issue altogether.

Fixes #276

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-05 14:28:59 -07:00
Andrea Luzzardi
1ae0ce65e9
Merge pull request #275 from dagger/dependabot/go_modules/github.com/stretchr/testify-1.7.0
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.7.0
2021-04-05 10:17:07 -07:00
dependabot[bot]
d12b5d0d03
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.7.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-05 09:20:38 +00:00
Andrea Luzzardi
a5df3ab7cd
Merge pull request #274 from fkautz/pr_out_swapping_order_of_test_and_integration_tests_unit_tests_should_run_first 2021-04-04 22:37:41 -07:00
Frederick F. Kautz IV
73c07fd6e9 swapping order of test and integration tests, unit tests should run first
Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu>
2021-04-04 20:36:38 -07:00
Andrea Luzzardi
76f9c5824a
Merge pull request #273 from fkautz/pr_out_fix_build_break 2021-04-04 20:25:09 -07:00