ported tests + examples to new syntax

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba
2021-03-10 13:51:03 -08:00
parent ef1bb4b873
commit 3f55f4cd1d
4 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ TestImageVersion: {
version: "3.10.6"
}
test: #dagger: compute: [
test: #compute: [
dagger.#Load & {from: image},
dagger.#Exec & {
args: [
@@ -31,7 +31,7 @@ TestPackageInstall: {
package: curl: "=~7.74.0"
}
test: #dagger: compute: [
test: #compute: [
dagger.#Load & {from: image},
dagger.#Exec & {
args: ["jq", "--version"]

View File

@@ -14,7 +14,7 @@ TestGoBuild: {
output: "/bin/testbin"
}
test: #dagger: compute: [
test: #compute: [
dagger.#Load & {from: alpine.#Image},
dagger.#Exec & {
args: [

View File

@@ -13,7 +13,7 @@ TestYarn: {
source: TestData
}
test: #dagger: compute: [
test: #compute: [
dagger.#Load & {from: alpine.#Image & {
package: bash: "=5.1.0-r0"
}},