Commit Graph

2937 Commits

Author SHA1 Message Date
Andrea Luzzardi
db2184262c Add dagger.#Secret to dagger spec.
This currently does nothing and is only useful for flagging secrets.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-10 15:14:39 -08:00
Andrea Luzzardi
b039bfd334
Merge pull request #166 from dagger/flow-cleanup
flow cleanup: separate TaskFunc from RunnerFunc
2021-03-10 15:09:02 -08:00
Andrea Luzzardi
3628dbda84 flow cleanup: separate TaskFunc from RunnerFunc
Extracted from #140

This will help be more flexible in what gets executed and how (e.g. for
running tests for instance)

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-10 15:01:37 -08:00
Andrea Luzzardi
cbac2f6978
Merge pull request #165 from dagger/fix-compute-syntax
ported tests + examples to new syntax
2021-03-10 14:05:51 -08:00
Sam Alba
3f55f4cd1d ported tests + examples to new syntax
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-10 13:51:03 -08:00
Andrea Luzzardi
ef1bb4b873
Merge pull request #159 from verdverm/remove-local-default
Fix a source of performance degradation
2021-03-08 17:44:45 -08:00
Tony Worm
3e5df44a1d cue/fmt: stdlib/dagger
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-08 11:11:29 -05:00
Tony Worm
0d3aace2b9 test.sh: fix relpath to dagger, enable stdlib/{go,yarn} tests
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-08 11:05:57 -05:00
Tony Worm
3a7a21326a fixes perf with dogfood
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-08 10:09:21 -05:00
Solomon Hykes
7a77466a66 DX: change "#dagger: compute: " to "#compute: "
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-06 19:39:22 -08:00
Sam Alba
3f445f2421
Merge pull request #158 from dagger/fix-mount-tmpfs
Fix mount tmpfs
2021-03-04 18:32:28 -08:00
Sam Alba
aef0139920 implemented tmpfs mount test
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-04 14:06:48 -08:00
Sam Alba
514dde4e6d renamed mount arg tmp to tmpfs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-04 14:03:50 -08:00
Andrea Luzzardi
2d45895097
Merge pull request #155 from dagger/stdlib-tests
stdlib: basic tests for alpine go and yarn
2021-03-04 11:55:49 -08:00
Andrea Luzzardi
81cdccf541 basic tests for alpine go and yarn
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-04 11:31:00 -08:00
Andrea Luzzardi
256f373a52
Merge pull request #154 from dagger/opentracing
opentracing support
2021-03-04 11:04:42 -08:00
Andrea Luzzardi
f35df0475b opentracing support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-04 10:45:20 -08:00
Sam Alba
5fed74bc55
Merge pull request #153 from dagger/example-aws-monitoring
AWS Cloudformation + HTTP monitoring example
2021-03-03 18:36:30 -08:00
Sam Alba
bac3ff4f68 stdlib: cuefmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-03 18:08:43 -08:00
Sam Alba
56bcf6366c implemented http-monitoring example using AWS Cloudformation and AWS Cloudwatch Synthetics
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-03 17:34:00 -08:00
Sam Alba
64ab495c82 implemented aws.#Config and aws/cloudformation packages in stdlib
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-03 17:33:19 -08:00
Sam Alba
98a06c67d2 add support for sub-dirs packages in stdlib
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-03 17:24:45 -08:00
Sam Alba
ee7bb3c3f5 implemented "write-file" and "mkdir" ops
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-03 17:24:21 -08:00
Andrea Luzzardi
14aa03e3e3
Merge pull request #152 from dagger/relax-alpine-packages
stdlib: relax stdlib requirements
2021-03-03 11:46:29 -08:00
Andrea Luzzardi
eaf897352a stdlib: relax stdlib requirements
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-03 11:35:48 -08:00
Andrea Luzzardi
16fe08ce58
Merge pull request #149 from dagger/autostart-buildkit
automatically start/upgrade buildkitd
2021-03-03 11:14:05 -08:00
Andrea Luzzardi
408053f092 ci: use cue version from go.mod
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-02 19:09:29 -08:00
Andrea Luzzardi
14f535655d ci: ensure cue version is consistent
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-02 18:59:07 -08:00
Andrea Luzzardi
8e9a432caf buildkitd: store state persistently in a volume
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-02 18:53:15 -08:00
Andrea Luzzardi
14ff14ea4f automatically start/upgrade buildkitd
- Automatically start a buildkit daemon if no BUILDKIT_HOST is
  provided (and if not already started)
- Customization of BUILDKIT_HOST is still possible, just like before
- Automatically upgrade the managed daemon to the version used by dagger
  if necessary
- Add CI test to make sure the managed buildkit and the vendored
  buildkit versions match

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-02 18:37:30 -08:00
Andrea Luzzardi
f76e43d512
Merge pull request #148 from dagger/tests-mount
tests: enable mount cache test, fix mount component test
2021-03-01 18:49:02 -08:00
Andrea Luzzardi
39a7ebd176 tests: enable mount cache test, fix mount component test
Related to #46

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-01 18:20:54 -08:00
Andrea Luzzardi
50e8b8c07d
Merge pull request #143 from dagger/dependabot/go_modules/github.com/moby/buildkit-0.8.2
build(deps): bump github.com/moby/buildkit from 0.8.1 to 0.8.2
2021-03-01 14:03:23 -08:00
Andrea Luzzardi
04fe70b6ec ci: bump to buildkit 0.8.2
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-25 15:23:50 -08:00
dependabot[bot]
2e035a54d0
build(deps): bump github.com/moby/buildkit from 0.8.1 to 0.8.2
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/moby/buildkit/releases)
- [Commits](https://github.com/moby/buildkit/compare/v0.8.1...v0.8.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-25 23:07:39 +00:00
Andrea Luzzardi
6eb3d5afbd
Merge pull request #141 from dagger/fetchcontainer-image-metadata
FetchContainer: Inject Docker image metadata into LLB
2021-02-25 14:54:53 -08:00
Andrea Luzzardi
4bd0ffd3fc FetchContainer: Inject Docker image metadata into LLB
Fixes #130

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-25 14:47:46 -08:00
Andrea Luzzardi
dce79f0a3e
Merge pull request #139 from dagger/canceled-error-message
logs: clean up logs for canceled tasks
2021-02-24 19:16:16 -08:00
Andrea Luzzardi
074e47d9c0 logs: clean up logs for canceled tasks
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-24 18:48:55 -08:00
Andrea Luzzardi
e7ec4fc132
Merge pull request #138 from dagger/local-improve-log
local: improve log message
2021-02-24 18:17:24 -08:00
Andrea Luzzardi
a8df284e9b local: improve log message
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-24 17:29:51 -08:00
Andrea Luzzardi
4a4c0da0aa
Merge pull request #137 from dagger/local-cache
Fix caching issues with Local
2021-02-24 16:19:55 -08:00
Andrea Luzzardi
b2bc801cd0 fix caching issues with Local
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-24 15:38:49 -08:00
Andrea Luzzardi
99c41083a9
Merge pull request #135 from dagger/logs
Improved Logs
2021-02-23 16:45:29 -08:00
Andrea Luzzardi
1fcb36113f cleanup log messages
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 16:37:45 -08:00
Andrea Luzzardi
bc3305610b logs: custom console printer
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 15:39:52 -08:00
Andrea Luzzardi
79b66e82fc logs: extract cue path from buildkit solve status
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 15:39:52 -08:00
Andrea Luzzardi
2ae395843e encode cue paths in LLB ops
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 15:39:52 -08:00
Andrea Luzzardi
a9443bc0d2 pkg/progressui: customization callbacks
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 15:34:41 -08:00
Andrea Luzzardi
e40983b7b7 import a copy of buildkit progressui
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-23 15:33:13 -08:00