Jsonnet test 5
This commit is contained in:
parent
1d32bbcd8b
commit
9814fdb425
@ -1,3 +1,11 @@
|
||||
local buildForArch(arch) = {
|
||||
"name": "check",
|
||||
"image": "rust:1.62",
|
||||
"commands": [
|
||||
"echo Hello World from Jsonnet on " + arch + "!",
|
||||
"cargo check",
|
||||
]
|
||||
}
|
||||
{
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
@ -6,13 +14,8 @@
|
||||
"arch": "amd64"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"name": "check",
|
||||
"image": "rust:1.62",
|
||||
"commands": [
|
||||
"echo Hello World from Jsonnet!",
|
||||
"cargo check",
|
||||
]
|
||||
}
|
||||
buildForArch('amd64'),
|
||||
buildForArch('aarch64'),
|
||||
buildForArch('windows')
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user