зеркало из https://github.com/microsoft/CCF.git
Disable `release/2.x` CI and doc generation (#5353)
This commit is contained in:
Родитель
9ab60035e3
Коммит
a3809580bc
|
@ -23,7 +23,7 @@ schedules:
|
||||||
- main
|
- main
|
||||||
- "release/*"
|
- "release/*"
|
||||||
exclude:
|
exclude:
|
||||||
- "release/1.x"
|
- "release/[1-2].x"
|
||||||
always: true
|
always: true
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -17,8 +17,7 @@ trigger:
|
||||||
- main
|
- main
|
||||||
- "release/*"
|
- "release/*"
|
||||||
exclude:
|
exclude:
|
||||||
- "release/1.x"
|
- "release/[1-2].x"
|
||||||
- "release/2.x"
|
|
||||||
|
|
||||||
schedules:
|
schedules:
|
||||||
- cron: "0 9-18/3 * * Mon-Fri"
|
- cron: "0 9-18/3 * * Mon-Fri"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"repoOwner": "microsoft",
|
"repoOwner": "microsoft",
|
||||||
"repoName": "ccf",
|
"repoName": "ccf",
|
||||||
"targetBranchChoices": ["release/2.x"],
|
"targetBranchChoices": ["release/3.x", "release/4.x"],
|
||||||
"branchLabelMapping": {
|
"branchLabelMapping": {
|
||||||
"^(.+)-todo$": "release/$1"
|
"^(.+)-todo$": "release/$1"
|
||||||
},
|
},
|
||||||
|
|
|
@ -19,7 +19,7 @@ schedules:
|
||||||
- main
|
- main
|
||||||
- "release/*"
|
- "release/*"
|
||||||
exclude:
|
exclude:
|
||||||
- "release/1.x"
|
- "release/[1-2].x"
|
||||||
always: true
|
always: true
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -221,13 +221,13 @@ breathe_default_project = "CCF"
|
||||||
# Set up multiversion extension
|
# Set up multiversion extension
|
||||||
|
|
||||||
smv_tag_whitelist = None
|
smv_tag_whitelist = None
|
||||||
smv_branch_whitelist = r"^(main)|(release\/([2-9]|\d\d\d*)\.x)$"
|
smv_branch_whitelist = r"^(main)|(release\/([3-9]|\d\d\d*)\.x)$"
|
||||||
smv_remote_whitelist = None
|
smv_remote_whitelist = None
|
||||||
smv_outputdir_format = "{ref.name}"
|
smv_outputdir_format = "{ref.name}"
|
||||||
|
|
||||||
assert re.match(smv_branch_whitelist, "main")
|
assert re.match(smv_branch_whitelist, "main")
|
||||||
assert not re.match(smv_branch_whitelist, "release/1.x")
|
assert not re.match(smv_branch_whitelist, "release/1.x")
|
||||||
assert re.match(smv_branch_whitelist, "release/2.x")
|
assert not re.match(smv_branch_whitelist, "release/2.x")
|
||||||
assert re.match(smv_branch_whitelist, "release/100.x")
|
assert re.match(smv_branch_whitelist, "release/100.x")
|
||||||
assert not re.match(smv_branch_whitelist, "release/1.x_feature")
|
assert not re.match(smv_branch_whitelist, "release/1.x_feature")
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче