[eks] Fix EKS regex

This commit is contained in:
Nemo
2022-08-26 21:25:36 +05:30
committed by Nemo
parent 47c3f9ed54
commit 33331288fa
2 changed files with 18 additions and 15 deletions

View File

@@ -1,8 +1,11 @@
{ {
"1.22.9": "2022-06-13", "1.23.7": "2022-08-12",
"1.21.12": "2022-06-13", "1.22.10": "2022-07-19",
"1.21.13": "2022-07-19",
"1.20.15": "2022-05-11", "1.20.15": "2022-05-11",
"1.19.16": "2022-05-11", "1.19.16": "2022-05-11",
"1.22.9": "2022-06-13",
"1.21.12": "2022-06-13",
"1.22.6": "2022-04-05", "1.22.6": "2022-04-05",
"1.21.9": "2022-05-11", "1.21.9": "2022-05-11",
"1.21.5": "2022-02-22", "1.21.5": "2022-02-22",
@@ -12,30 +15,30 @@
"1.21.2": "2021-07-20", "1.21.2": "2021-07-20",
"1.19.8": "2021-04-26", "1.19.8": "2021-04-26",
"1.17.17": "2021-04-28", "1.17.17": "2021-04-28",
"1.16.15": "2020-11-27", "1.16.15": "2020-11-28",
"1.20.4": "2021-05-19", "1.20.4": "2021-05-19",
"1.15.12": "2020-11-27", "1.15.12": "2020-11-28",
"1.18.9": "2020-11-27", "1.18.9": "2020-11-28",
"1.17.12": "2020-11-27", "1.17.12": "2020-11-28",
"1.19.6": "2021-02-20", "1.19.6": "2021-02-20",
"1.14.9": "2020-01-02", "1.14.9": "2020-01-02",
"1.18.8": "2020-10-27", "1.18.8": "2020-10-27",
"1.17.9": "2020-08-17", "1.17.9": "2020-08-17",
"1.16.13": "2020-08-17", "1.16.13": "2020-08-17",
"1.15.11": "2020-04-14", "1.15.11": "2020-04-15",
"1.17.6": "2020-07-31", "1.17.6": "2020-07-31",
"1.16.8": "2020-05-05", "1.16.8": "2020-05-05",
"1.16.12": "2020-07-10", "1.16.12": "2020-07-11",
"1.13.12": "2020-01-07", "1.13.12": "2020-01-07",
"1.12.10": "2019-09-05", "1.12.10": "2019-09-05",
"1.15.10": "2020-03-13", "1.15.10": "2020-03-14",
"1.14.7": "2019-11-01", "1.14.7": "2019-11-02",
"1.13.10": "2019-09-16", "1.13.10": "2019-09-16",
"1.11.10": "2019-09-05", "1.11.10": "2019-09-05",
"1.14.6": "2019-09-16", "1.14.6": "2019-09-16",
"1.13.8": "2019-09-05", "1.13.8": "2019-09-05",
"1.13.7": "2019-06-19", "1.13.7": "2019-06-20",
"1.12.6": "2019-06-19", "1.12.6": "2019-06-20",
"1.11.8": "2019-06-19", "1.11.8": "2019-06-20",
"1.10.13": "2019-06-19" "1.10.13": "2019-06-20"
} }

View File

@@ -6,7 +6,7 @@ import json
REPO_CLONE_URL = 'https://github.com/awsdocs/amazon-eks-user-guide.git' REPO_CLONE_URL = 'https://github.com/awsdocs/amazon-eks-user-guide.git'
PATH = 'doc_source/kubernetes-versions.md' PATH = 'doc_source/kubernetes-versions.md'
TEMP_REPO_PATH = '/tmp/eks-docs' TEMP_REPO_PATH = '/tmp/eks-docs'
REGEX = r"^\+ (?P<major>\d+)\\\.(?P<minor>\d+)\\\.(?P<patch>\d+)$" REGEX = r"^\+ `?(?P<major>\d+)\\?\.(?P<minor>\d+)\\?\.(?P<patch>\d+)`?$"
versions = {} versions = {}