ported op.#FetchGit to engine.#GitPull

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones
2021-12-20 12:47:42 -07:00
parent 2531d17ea6
commit 7ca84282be
4 changed files with 98 additions and 2 deletions

View File

@@ -93,3 +93,7 @@ setup() {
"$DAGGER" --europa up ./scratch.cue -l debug
}
@test "task: #GitPull" {
cd "$TESTDIR"/tasks/gitPull/
"$DAGGER" --europa up ./exists.cue
}

View File

@@ -0,0 +1,10 @@
package main
import "alpha.dagger.io/europa/dagger/engine"
engine.#Plan & {
actions: gitPull: engine.#GitPull & {
remote: "https://github.com/blocklayerhq/acme-clothing.git"
ref: "master"
}
}