Commit Graph

65 Commits

Author SHA1 Message Date
Helder Correia
80ae63928b
feat: Allow default values in client: env (#2122)
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-11 15:31:36 -03:00
Marcos Lilljedahl
d80acf805b Add experimental way to set a target platform when building
Add an --experimental-platform flag to the do command to allow
overriding the default auto-detected build platform until we find the
time to think about the definitive multi-platform builds UX

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-05 18:24:14 -03:00
Marcos Lilljedahl
7ffbef33b5 Report error if FS is incorrectly handled on client filesystem read
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-01 13:25:58 -03:00
Marcos Lilljedahl
66153c6194 Prevents files to be used as input of dagger.#FS
Errors out in the PreRun phase of the clientfilesystemreader task since
otherwise, dagger execution would hang
Fixes #1977

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-03-31 19:33:18 -03:00
Helder Correia
d771699df9
Move connecting socket to client: network
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 18:16:07 +00:00
Helder Correia
6a2bbc62e0
Rename dagger.#Service to dagger.#Socket
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 17:56:25 +00:00
Helder Correia
b3bdd347e7
Move core actions to a subpackage
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-27 17:33:47 +00:00
Richard Jones
770be271f1
errors on missing packages suggests project update
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-10 17:29:02 -07:00
Joel Longtine
43b9df74a8 Add test
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-10 15:15:50 -07:00
Helder Correia
34b6c289dd
Remove path based task lookup
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-09 11:29:26 -01:00
Andrea Luzzardi
5834a1e740 tests: fix outputs->client migration
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-08 17:54:19 -08:00
Andrea Luzzardi
f72dde1d0d
Merge pull request #1704 from helderco/inputs-outputs-cleanup
Inputs/outputs cleanup
2022-03-08 16:16:15 -08:00
Richard Jones
57cea9eb6c
implements dagger project update
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-08 16:58:20 -07:00
Helder Correia
24d3f82fc7
Cleanup inputs, outputs and proxy
Superceded by Client API.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-08 20:45:28 -01:00
Joel Longtine
9dfa81a737 Remove test that refers to old code paths
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:57:40 -07:00
Joel Longtine
8017b29abd More outputs -> client
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
58dd2ab1d3 outputs -> client
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
cf2538e1b2 Clean up tests
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
648e508c60 cue fmt
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
1a555315b2 Add comment re disconnected outputs test
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Joel Longtine
5afaedc9ab Add do tests
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-03-08 13:06:22 -07:00
Andrea Luzzardi
b33b75a570 runner: switch to client API
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 16:03:36 -08:00
Andrea Luzzardi
0786410bbd Fix partial CUE tree run for dagger do
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 15:56:06 -08:00
Andrea Luzzardi
0642e34388 tests: fix inputs directories test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-07 15:56:06 -08:00
Helder Correia
da90baa087
Add new Client API
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-07 17:13:16 -01:00
Richard Jones
6cdf13223c
implements dagger do
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-01 13:01:26 -07:00
dubo-dubon-duponey
30b5db0586
Fix flaky tests
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2022-02-24 23:01:33 -08:00
Joel Longtine
70c0f362ea Update plan tests to use Europa constructs
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
2caccc69e8 Add TODO for Europa conversion
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
56ecf7f8cd Clean up .gitignore files
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Joel Longtine
298e19b305 comment out tests that use pre-europa pipelines
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Solomon Hykes
c2766c265b Merge dagger.io/dagger/engine into dagger.io/dagger
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-16 19:40:28 +00:00
Guillaume Coguiec
bd0f276d30
typo: Fix some minor typos.
Signed-off-by: Guillaume Coguiec <guillaume@logical.work>
2022-02-07 21:10:25 -05:00
Helder Correia
813a476e06
Add outputs.files task to plan
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-31 20:53:54 -01:00
Vasek - Tom C
5cf25b457d
Update and add missing gitignore
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-01-21 21:23:57 +01:00
Richard Jones
ff40451ad7
update to dagger.io/dagger
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-12 10:42:06 -07:00
Richard Jones
95542d29cb
returning stderr
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-12 10:25:56 -07:00
Andrea Luzzardi
4e04bf9d22 update europa dagger import path to dagger.io/dagger
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-11 16:40:26 -08:00
Joel Longtine
6a7b5f3337 cue fmt
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-07 15:50:24 -07:00
Joel Longtine
3003b31be3 Make engine.#Scratch a specialization of #FS, rather than a task
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-07 15:43:58 -07:00
Richard Jones
4e27937ccc
refactored tests and added more
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-04 12:20:01 -07:00
Richard Jones
6f4a5a769c
initial test
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-04 10:25:32 -07:00
Andrea Luzzardi
9c81a155c9 engine: Make paths relative to the CUE file they're defined in
Fixes #1309

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-23 13:48:47 -08:00
Tom Chauveau
9927b8d94d
Refactor platform type to string to support any kind of platform
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-23 16:30:30 +01:00
Vasek - Tom C
01414f80c9
Add tests on plan platform configuration
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-23 15:47:11 +01:00
Andrea Luzzardi
2f1f055141 engine: Support plan outputs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-22 15:03:54 +01:00
Richard Jones
5ef138fe84 secret exec
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-20 09:20:19 -07:00
Richard Jones
aa268561bc
fixes issue where dagger hands when input directory does not exist
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 13:37:20 -07:00
Richard Jones
140d753d9c
moving some things back to package dagger
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
03a740ff1e
input to inputs
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00