Commit Graph

464 Commits

Author SHA1 Message Date
Sam Alba
fdb4b94276 state: moved stdlib lock to upper function to fix race condition
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-21 16:11:07 -08:00
Andrea Luzzardi
c86fd92d38 engine.#Build: fix optional fields in spec
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-21 10:33:55 -08:00
Andrea Luzzardi
7d40e79366 engine.#Build: support auth
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-21 10:33:55 -08:00
Andrea Luzzardi
2467fb1920 engine.#Build support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-21 10:33:50 -08:00
Andrea Luzzardi
9b2746b2cb
Merge pull request #1259 from TomChv/engine/mkdir
Europa: engine.#Mkdir
2021-12-21 17:53:34 +01:00
Vasek - Tom C
e11cb1b6fd
Add mkdir docs
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-21 16:33:53 +01:00
Sam Alba
9d3cd180a2 stdlib: implemented engine.#Push
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-20 17:16:40 -08:00
Tom Chauveau
15fa9b0aac
Add #Mkdir to engine fs definition
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-21 01:14:18 +01:00
Joel Longtine
a429e0cbaf Clean up old code
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:55:35 -07:00
Joel Longtine
31925afa05 Remove comment
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:55:35 -07:00
Joel Longtine
6427c9be37 Pull #CopyInfo back into #Copy
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:55:35 -07:00
Joel Longtine
1f28ce518d Finalize switch to dagger: task: _name
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:55:35 -07:00
Joel Longtine
1ea035ff16 engine.#Copy
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:55:35 -07:00
Joel Longtine
a21bc46d67 use new dagger task name
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:38:09 -07:00
Richard Jones
c826794643
Merge pull request #1261 from talentedmrjones/europa-secret-exec
Europa: secret exec
2021-12-20 12:12:07 -07:00
Joel Longtine
a7864a41b4 Complete move to $dagger: task: _name
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 11:00:43 -07:00
Richard Jones
1f99e427c5
reconciling command formats
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-20 09:51:38 -07:00
Richard Jones
5ef138fe84 secret exec
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-20 09:20:19 -07:00
Solomon Hykes
7b7ee5455f Resolve spec merge conflicts
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-19 02:55:20 -08:00
Solomon Hykes
087b36b2a6 Europa: remove dagger.#Stream
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-19 02:55:20 -08:00
Sam Alba
697645e950
Merge pull request #1260 from samalba/ci-move-website
CI split website deploy
2021-12-17 16:41:21 -08:00
Solomon Hykes
e264d501ad Europa: move TODOLIST to issues
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-17 16:24:48 -08:00
Solomon Hykes
5933620bb1 Europa: remove implemented engine definitions from spec mock
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-17 16:24:48 -08:00
Sam Alba
1de440f83b tests: upgraded bats
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-17 13:25:04 -08:00
Richard Jones
1b49a47369
fixed docs
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
7a4ed586d7
added back comments to satisfy docs
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
07862714af
cue fmt
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -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
Richard Jones
a7e285e787
cue fmt and package name fix
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
8ce33f63e4
adding #Address back to the engine schema
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
ba91f15cc7
moved to spec because engine.#Copy is currently unimplemented
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
3224a0aeab
cue fmt
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
c15a7c6d22
reorganized spec vs implemented, reconciled gap
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:34 -07:00
Andrea Luzzardi
82cbea8324 engine: exec: support uid/gid/mask for secret mounts
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-17 16:51:46 +01:00
Andrea Luzzardi
12be9a7dd8 WIP: engine.#Exec
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-17 15:13:13 +01:00
Andrea Luzzardi
977485aa27
Merge pull request #1242 from jlongtine/change-europa-types-hidden-fields
Change Europa Core types ids
2021-12-17 14:04:49 +01:00
Solomon Hykes
eb86b0778c Europa: use $dagger field to mark CUE types for engine recognition
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-16 21:57:48 -08:00
Solomon Hykes
9e859e6233 Europa: reconcile engine.#Exec spec with implementation
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-16 17:17:38 -08:00
Sam Alba
19322a7cb9
Merge pull request #1215 from grouville/extend/http.#Wait
Add env vars inside http.#Wait package to enable env dependency hacks
2021-12-16 17:16:15 -08:00
Joel Longtine
86366b1f11 Change Europa Core types ids
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-16 15:33:37 -07:00
Solomon Hykes
83ed9c3f81 Europa: engine.#HTTPFetch
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-16 01:16:57 +00:00
Solomon Hykes
4b2f0f9a1c Europa: engine.#Mkdir
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-15 17:09:41 -08:00
Joel Longtine
380c15f5f4 engine.#WriteFile
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-15 10:27:37 -08:00
Richard Jones
2569e76eeb implemented services unix and npipe complete with test
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07:00
Andrea Luzzardi
dd2fef8a2d engine.#ReadFile
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-15 14:35:08 +01:00
Solomon Hykes
c1c585bcd5 Europa: integrate core packages, separate universe
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-12-15 09:27:58 +00:00
Sam Alba
18c04dcc31 test: added bats dependencies files
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-14 09:12:18 -08:00
Sam Alba
e809e2ba6d stdlib: implemented bats package for running bats script from dagger
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-13 21:07:37 -08:00
Sam Alba
c310a1bcdb stdlib/bats: implemented integration tests
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-13 21:07:37 -08:00