Commit Graph

46 Commits

Author SHA1 Message Date
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
Helder Correia
7a8153910c
Add export and load for dagger images
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 15:04:29 -01:00
Erik Sipsma
b67d2d44ad Add support for Merge and Diff fs operations.
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2022-03-10 20:22:14 -08:00
Richard Jones
6b81dc439d
removed dagger up in favor of dagger do
Signed-off-by: Richard Jones <richard@dagger.io>
2022-03-09 14:00:45 -07:00
Helder Correia
5ca5f8a729
Add #TrimSecret task
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-03 14:58:30 -01:00
Joel Longtine
0ddd64f985 Remove --europa flag from tests
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-02-23 12:20:01 -07:00
Richard Jones
3c57630b0e
implemented ability to pass #Secret as env var
Signed-off-by: Richard Jones <richard@dagger.io>
2022-02-15 12:58:35 -07:00
Andrea Luzzardi
3a90542446 engine.#Source: Fix relative path support
Fixes #1492

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-28 15:00:52 -08:00
Andrea Luzzardi
6abe77729e europa: Code Embedding POC
WIP PoC for code embedding

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-14 01:34:47 -08:00
Richard Jones
d62df71fd4
added heredoc test
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:58 -07:00
Richard Jones
2745e1ae2e
refactored
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:30 -07:00
Richard Jones
729013ae91
rename engine.#Build to engine.#Dockerfile
Signed-off-by: Richard Jones <richard@dagger.io>
2022-01-13 15:53:06 -07:00
Andrea Luzzardi
c5126412b0
Merge pull request #1307 from aluzzardi/engine-loadsecret
engine.#NewSecret support
2022-01-10 12:09:21 -08:00
Joel Longtine
a3db716c0a Ensure we can Marshall #Scratch as CUE
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-07 16:21:06 -07:00
Andrea Luzzardi
5f840723e2 engine: LoadSecret->NewSecret
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-07 12:08:37 -08:00
Andrea Luzzardi
6a70271ff2 engine.#LoadSecret support
Fixes #1305

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-07 12:08:37 -08:00
guillaume
19e701eb57 Implement tests for #Subdir
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-06 00:45:29 +01:00
guillaume
35498c439f Move dockerhub envvar to sops store
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-12-23 22:13:45 +01:00
Andrea Luzzardi
e182440c8e tests: gitPull -> gitpull
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-23 20:35:38 +01:00
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
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
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
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
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
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
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
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
380c15f5f4 engine.#WriteFile
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-15 10:27:37 -08:00
Andrea Luzzardi
dd2fef8a2d engine.#ReadFile
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-15 14:35:08 +01:00
Andrea Luzzardi
ff6c7d1c1f engine.#Pull implementation
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-13 16:13:49 +01:00