Disable `release/2.x` CI and doc generation (#5353)

This commit is contained in:
Julien Maffre 2023-06-15 14:34:48 +01:00 коммит произвёл GitHub
Родитель 9ab60035e3
Коммит a3809580bc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 6 добавлений и 7 удалений

Просмотреть файл

@ -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")