Commit Graph

2311 Commits

Author SHA1 Message Date
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
3c0d9c5acc
cue fmt
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
eebbfcb258
added debug message
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
f50311de35
refactored test to use #ReadFile
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
d43bc7dc53
context -> input
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
73e12296d3
added new test for input directories
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
0ed6327344
refactored tests to account for lib reorg
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00
Richard Jones
4768425037
renamed Import to LocalDirectory
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
Richard Jones
498b204eb9
reorganized files
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:34 -07:00
Sam Alba
580c2b6e42
Merge pull request #1235 from samalba/engine-pull-auth
auth support for engine.#Pull
2021-12-17 11:19:38 -08:00
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