mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-02 05:36:22 +00:00
Fix config schema (typo in pipeline.step.when.platform) (#417)
* fix schema * fix test fixtures
This commit is contained in:
@@ -34,19 +34,19 @@ pipeline:
|
|||||||
when:
|
when:
|
||||||
status: [success, failure]
|
status: [success, failure]
|
||||||
|
|
||||||
when-plattform:
|
when-platform:
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- echo "test"
|
- echo "test"
|
||||||
when:
|
when:
|
||||||
plattform: linux/amd64
|
platform: linux/amd64
|
||||||
|
|
||||||
when-plattform-array:
|
when-platform-array:
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- echo "test"
|
- echo "test"
|
||||||
when:
|
when:
|
||||||
plattform: [ linux/*, windows/amd64 ]
|
platform: [ linux/*, windows/amd64 ]
|
||||||
|
|
||||||
when-environment:
|
when-environment:
|
||||||
image: alpine
|
image: alpine
|
||||||
|
@@ -194,8 +194,8 @@
|
|||||||
"enum": ["success", "failure"]
|
"enum": ["success", "failure"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"plattform": {
|
"platform": {
|
||||||
"description": "Execute a step only on a specific platform. Read more: https://woodpecker-ci.github.io/docs/usage/pipeline-syntax#plattform",
|
"description": "Execute a step only on a specific platform. Read more: https://woodpecker-ci.github.io/docs/usage/pipeline-syntax#platform",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
Reference in New Issue
Block a user