Skip to content

Commit

Permalink
fix: remove deprecated job and fix minor confusing refs (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts authored Mar 12, 2024
2 parents 57b7a93 + 77367af commit 093a027
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 86 deletions.
14 changes: 12 additions & 2 deletions docs/schemas/scenario/jobs/generic.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,20 @@
{
"properties": {
"uses": {
"const": "qprofiles-manager"
"const": "qprofiles-downloader"
},
"with": {
"$ref": "qprofiles-manager.json"
"$ref": "qprofiles-downloader.json"
}
}
},
{
"properties": {
"uses": {
"const": "qprofiles-synchronizer"
},
"with": {
"$ref": "qprofiles-synchronizer.json"
}
}
},
Expand Down
65 changes: 0 additions & 65 deletions docs/schemas/scenario/jobs/qprofiles-manager.json

This file was deleted.

18 changes: 1 addition & 17 deletions docs/schemas/scenario/jobs/qprofiles-synchronizer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,5 @@
],
"type": "string"
}
},
"allOf": [
{
"if": {
"properties": {
"protocol": {
"const": "git"
}
}
},
"then": {
"required": [
"branch"
]
}
}
]
}
}
3 changes: 1 addition & 2 deletions docs/schemas/scenario/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"properties": {
"title": {
"description": "The title of the job.",
"type": "string",
"pattern": "^[A-Za-z0-9 ]+$"
"type": "string"
},
"id": {
"description": "Unique identifier of the job. Like the title but slugified and without special characters.",
Expand Down

0 comments on commit 093a027

Please sign in to comment.