Update kubernetes versions in CI verification (#2844)
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
HELM_VERSION: v3.10.1
|
HELM_VERSION: v3.10.1
|
||||||
KIND_VERSION: v0.17.0
|
KIND_VERSION: v0.20.0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Job to run change detection
|
# Job to run change detection
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
kindversion: ["v1.19.16", "v1.20.15", "v1.21.14"]
|
kindversion: ["v1.23.17", "v1.25.11", "v1.27.3"]
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ on:
|
|||||||
- v2.**
|
- v2.**
|
||||||
|
|
||||||
env:
|
env:
|
||||||
KIND_VERSION: v0.17.0
|
KIND_VERSION: v0.20.0
|
||||||
KIND_NODE_IMAGE_TAG: v1.19.16
|
KIND_NODE_IMAGE_TAG: v1.23.17
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-draft-release:
|
create-draft-release:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
HELM_VERSION: v3.10.1
|
HELM_VERSION: v3.10.1
|
||||||
KIND_VERSION: v0.17.0
|
KIND_VERSION: v0.20.0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
upgrade-test:
|
upgrade-test:
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
kindimage: ["kindest/node:v1.19.16"]
|
kindimage: ["kindest/node:v1.23.17"]
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout action sources
|
- name: Checkout action sources
|
||||||
|
|||||||
+4
-4
@@ -8,10 +8,10 @@ pull_request_rules:
|
|||||||
- check-success=CodeQL-Build
|
- check-success=CodeQL-Build
|
||||||
- check-success=CodeQL
|
- check-success=CodeQL
|
||||||
- check-success=lint
|
- check-success=lint
|
||||||
- check-success=upgrade-test (kindest/node:v1.19.11, ubuntu-latest)
|
- check-success=upgrade-test (kindest/node:v1.23.17, ubuntu-latest)
|
||||||
- check-success=integration-test (v1.19.11, ubuntu-latest)
|
- check-success=integration-test (v1.23.17, ubuntu-latest)
|
||||||
- check-success=integration-test (v1.20.7, ubuntu-latest)
|
- check-success=integration-test (v1.25.11, ubuntu-latest)
|
||||||
- check-success=integration-test (v1.21.1, ubuntu-latest)
|
- check-success=integration-test (v1.27.3, ubuntu-latest)
|
||||||
actions:
|
actions:
|
||||||
merge:
|
merge:
|
||||||
method: squash
|
method: squash
|
||||||
|
|||||||
@@ -99,15 +99,15 @@ func KubifyName(old string) string {
|
|||||||
newName := strings.ToLower(old)
|
newName := strings.ToLower(old)
|
||||||
|
|
||||||
// replace disallowed chars with '-'
|
// replace disallowed chars with '-'
|
||||||
inv, _ := regexp.Compile("[^-a-z0-9]")
|
inv := regexp.MustCompile("[^-a-z0-9]")
|
||||||
newName = string(inv.ReplaceAll([]byte(newName), []byte("-")))
|
newName = string(inv.ReplaceAll([]byte(newName), []byte("-")))
|
||||||
|
|
||||||
// trim leading non-alphabetic
|
// trim leading non-alphabetic
|
||||||
leadingnonalpha, _ := regexp.Compile("^[^a-z]+")
|
leadingnonalpha := regexp.MustCompile("^[^a-z]+")
|
||||||
newName = string(leadingnonalpha.ReplaceAll([]byte(newName), []byte{}))
|
newName = string(leadingnonalpha.ReplaceAll([]byte(newName), []byte{}))
|
||||||
|
|
||||||
// trim trailing
|
// trim trailing
|
||||||
trailing, _ := regexp.Compile("[^a-z0-9]+$")
|
trailing := regexp.MustCompile("[^a-z0-9]+$")
|
||||||
newName = string(trailing.ReplaceAll([]byte(newName), []byte{}))
|
newName = string(trailing.ReplaceAll([]byte(newName), []byte{}))
|
||||||
|
|
||||||
// truncate to length
|
// truncate to length
|
||||||
|
|||||||
Reference in New Issue
Block a user