Commit Graph

2293 Commits

Author SHA1 Message Date
Sam Alba
96e9c0408a fixed test files linting issues
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-17 10:07:33 -08:00
Sam Alba
b082b1e5bc implemented integration tests for engine.#Pull + moved auth code separately for sharing code with other tasks later
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-17 10:07:33 -08:00
Sam Alba
d668dd6dd2 tests: added test for Pull with registry auth
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-17 10:07:32 -08:00
Sam Alba
0be6a4066e plan: added auth support to engine.#Pull
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-17 10:06:58 -08:00
Joel Longtine
a9275d889f
Merge pull request #1232 from aluzzardi/engine-exec
engine.#Exec
2021-12-17 11:03:58 -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
85114025e6 engine: exec: add mount service tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-17 15:39:32 +01:00
Andrea Luzzardi
e7d8f17884 exec: mount: fs: support readonly mounts
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-17 15:39:14 +01:00
Andrea Luzzardi
e5de27f098 engine: exec: support mount concurrency
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-17 15:17:24 +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
Sam Alba
758dcfb679
Merge pull request #1246 from samalba/fix-ci-docs-workaround
ci: reduced docs test suite timeout + disabled parallelization within the same suite
2021-12-16 17:37:28 -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
Sam Alba
40e1b28133 ci: reduced docs test suite timeout + disabled parallelization within a suite
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-16 17:10:49 -08:00
Sam Alba
c817eef6ff
Merge pull request #1240 from jlongtine/fix-tests
`dagger` -> `"$DAGGER"`
2021-12-16 16:24:21 -08:00
Joel Longtine
64e9027bbe add git + argocd docs
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-16 15:37:55 -07: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
Joel Longtine
348765bfba dagger -> "$DAGGER"
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-16 13:42:28 -07:00
Tom Chauveau
b1188960df
Add universe check version in europa up
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-16 16:06:50 +01:00
Andrea Luzzardi
632fc59f01
Merge pull request #1233 from shykes/europa-engine-http
Europa: engine.#HTTPFetch (spec)
2021-12-16 05:24:31 +01: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
e8843b918e
Merge pull request #1225 from jlongtine/engine-writefile
engine.#Writefile
2021-12-15 13:30:07 -07:00
Joel Longtine
d7621e24ec Change test names
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-15 13:09:20 -07:00
Joel Longtine
9f9168ab60 Clean up test code
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-15 10:27:37 -08:00
Joel Longtine
45de510ce0 Clean up old code
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-15 10:27:37 -08:00
Joel Longtine
be3628d93c Remove tests/cue.mod
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-15 10:27:37 -08:00
Joel Longtine
94f59a76cf alpha.dagger.io/dagger/engine -> alpha.dagger.io/europa/dagger/engine
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-15 10:27:37 -08:00
Joel Longtine
f47dd3e877 Add docs
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-15 10:27:37 -08:00
Joel Longtine
380c15f5f4 engine.#WriteFile
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-15 10:27:37 -08:00
Sam Alba
c59aa18176
Merge pull request #1228 from samalba/ci-localstack-upgrade
ci: upgrade localstack to latest release
2021-12-15 10:26:00 -08:00
Sam Alba
e81feba213 ci: upgrade localstack to latest release
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-15 10:14:44 -08:00
Richard Jones
645642ee83
Merge pull request #1204 from talentedmrjones/europa-services-unix
EUROPA: services unix and npipe
2021-12-15 11:05:28 -07:00
Richard Jones
da054231d2
updated imports to europa/dagger
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:33:53 -07:00
Richard Jones
7601433729 cue fmt
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07:00
Richard Jones
c422512155 fixed test, and added more failure modes
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07:00
Richard Jones
e65b3cfa4a refactored to handle errors better
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07:00
Richard Jones
ceb1827526 cue fmt
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07:00
Richard Jones
6ca81dacf9 refactored log handling
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07:00
Richard Jones
a78b84429d refactored to follow the original stream test
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07:00
Richard Jones
94ed741320 cleanup container after test
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07: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
ba984c4d03
Merge pull request #1208 from aluzzardi/engine-readfile
engine.#ReadFile
2021-12-15 16:07:16 +01:00
Andrea Luzzardi
dd2fef8a2d engine.#ReadFile
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-15 14:35:08 +01:00
Andrea Luzzardi
b25984dad9
Merge pull request #1214 from shykes/avoid-brain-split
Split up europa directory to better integrate its parts
2021-12-15 12:48:40 +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
dd4c360a7b
Merge pull request #1217 from jygastaud/docs/dev-cue-package
docs:  make dev-cue-package example naming consitant
2021-12-14 16:22:51 -08:00
Jean-Yves Gastaud
7ad5f264e6 docs: make dev-cue-package example naming consitant
Signed-off-by: Jean-Yves Gastaud <jygastaud@gmail.com>
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-14 16:08:20 -08:00