Commit Graph

292 Commits

Author SHA1 Message Date
Richard Jones
643d93c35d
ported FetchHTTP to HTTPFetch
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 17:10:33 -07:00
Richard Jones
bd005aeb43
improved test case
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
2b95bf1536
renamed files to avoid camelCase; moved token to common secrets file
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
c3d3ca47ff
fixed indentation
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
feb685cf81
fixed issue with disjunction that wouldnt resolve
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
0295dc6340
added support for username:password
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
a49d794409
added private repo test
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
1384b025b7
more tests
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
6848755a42
added gitdir test
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Richard Jones
7ca84282be
ported op.#FetchGit to engine.#GitPull
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-22 15:44:16 -07:00
Andrea Luzzardi
2f1f055141 engine: Support plan outputs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-22 15:03:54 +01:00
Joel Longtine
a90ff8ab94 Allow for nil buildkit References
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-21 12:10:48 -07:00
Joel Longtine
75d5ab8f01 Initial pass at engine.#Scratch - failing
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-21 12:10:45 -07: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
Sam Alba
cbd141d019
Merge pull request #1278 from aluzzardi/exec-mount-cache-fix-test
engine.#Exec: fix mount cache flaky test
2021-12-21 09:37:13 -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
Andrea Luzzardi
ffd7065a74 engine.#Exec: fix mount cache flaky test
Fixes #1274

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-21 14:33:25 +01:00
Sam Alba
13dafb7341 tests: implemented tasks tests for engine.#Push
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-20 17:31:42 -08:00
Vasek - Tom C
d2580f4a73
Add mkdir task tests
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2021-12-21 01:14:39 +01:00
Joel Longtine
1ea035ff16 engine.#Copy
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-20 12:55:35 -07:00
Richard Jones
a5568775ae
fixed linting issue
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-20 10:19:21 -07:00
Richard Jones
5ef138fe84 secret exec
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-20 09:20:19 -07: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
Sam Alba
01d4706338 ci: fix bats tests
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-17 16:02: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
Sam Alba
95407fdeaf tests: do not parallelize tests within bats files + report failure and passing tests
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-17 13:17:04 -08: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
9426e6c13e
fixed pull_auth test
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:32:49 -07:00
Richard Jones
009a44ab27
context to inputs
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
f50311de35
refactored test to use #ReadFile
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
498b204eb9
reorganized files
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:34 -07: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
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
12be9a7dd8 WIP: engine.#Exec
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-17 15:13:13 +01:00
Joel Longtine
348765bfba dagger -> "$DAGGER"
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-16 13:42:28 -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
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