Commit Graph

371 Commits

Author SHA1 Message Date
Tony Worm
0e32bc68f8 add file ops
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-15 22:08:54 -07:00
Solomon Hykes
6460a5c9fc Rename dagger.#Dir to dagger.#Artifact
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-13 00:11:59 -08:00
Andrea Luzzardi
b04c046234 test: lint cue test files
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 18:12:58 -08:00
Andrea Luzzardi
657ba7ce34
Merge pull request #175 from dagger/test-push
test: PushContainer
2021-03-12 18:12:01 -08:00
Solomon Hykes
1f874025aa Improve examples using go & docker stdlib packages
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-12 18:10:36 -08:00
Andrea Luzzardi
e7ecc87631 ci: login to dockerhub
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 17:12:55 -08:00
Andrea Luzzardi
9887166c71 test: add push-container
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 17:12:55 -08:00
Andrea Luzzardi
9725b8de69 test: add secrets for testing
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 17:03:22 -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
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
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
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
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
bc2dae7e32 docker build support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-22 14:14:51 -08:00
Andrea Luzzardi
579908dbfa tests: add test for examples/simple
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-18 18:48:49 -08:00
Andrea Luzzardi
3ab0563e80 cue module is now dagger.io
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-17 13:21:41 -08:00
Solomon Hykes
acba8b3988 Simplify runtime code by removing layers of abstraction
- Remove intermediary types `Component`, `Script`, `Op`, `mount`: just use
  `cc.Value` directly
- Remove `Executable` interface.
- Execute llb code with a simple concrete type `Pipeline`
- Analyze llb code with a simple utility `Analyze`

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-02-12 22:20:20 +00:00
Solomon Hykes
622de21883 {do:"subdir"} to select a subdirectory in a script
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-02-05 15:27:37 -08:00
Andrea Luzzardi
89c7136f75 tests: move tests top-level
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-02-03 15:02:43 -08:00