fixed issue with disjunction that wouldnt resolve

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones
2021-12-22 11:56:58 -07:00
parent 0295dc6340
commit feb685cf81
4 changed files with 18 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ engine.#Plan & {
}
image: engine.#Pull & {
source: "alpine:3.15.0@sha256:e7d88de73db3d3fd9b2d63aa7f447a10fd0220b7cbf39803c803f2af9ba256b3"
source: "alpine:3.15.0"
}
verify: engine.#Exec & {
@@ -27,8 +27,8 @@ engine.#Plan & {
[ -d /repo2/.git ]
"""]
mounts: {
repo_1: {dest: "/repo1", contents: repo1.output}
repo_2: {dest: "/repo2", contents: repo2.output}
a: {dest: "/repo1", contents: repo1.output}
b: {dest: "/repo2", contents: repo2.output}
}
}

View File

@@ -14,10 +14,12 @@ engine.#Plan & {
}
testRepo: engine.#GitPull & {
remote: "https://github.com/dagger/dagger.git"
ref: "main"
username: "dagger-test"
password: inputs.secrets.token.contents
remote: "https://github.com/dagger/dagger.git"
ref: "main"
auth: {
username: "dagger-test"
password: inputs.secrets.token.contents
}
}
testContent: engine.#Exec & {