Skip to content

Commit f6b2055

Browse files
authored
CI: add v3-major-release into CI testing (#2619)
* update manifest_acc workflow * update kind acceptance and others workflow
1 parent 488c591 commit f6b2055

File tree

8 files changed

+30
-6
lines changed

8 files changed

+30
-6
lines changed

.github/workflows/acceptance_test_dfa.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
branches:
66
- main
7+
- v3-major-release
78
paths:
89
- "manifest/**/*.go"
910
- 'kubernetes/**/*.go'

.github/workflows/acceptance_tests_kind.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
pull_request:
1919
branches:
2020
- main
21+
- v3-major-release
2122
paths:
2223
- 'kubernetes/*.go'
2324
- 'go.mod'
@@ -41,12 +42,17 @@ jobs:
4142
matrix:
4243
kubernetes_version:
4344
# kind images: https://github.com/kubernetes-sigs/kind/releases (note the images are kind release specific)
45+
- v1.30.0@sha256:047357ac0cfea04663786a612ba1eaba9702bef25227a794b52890dd8bcd692e
4446
- v1.29.0@sha256:eaa1450915475849a73a9227b8f201df25e55e268e5d619312131292e324d570
4547
- v1.28.0@sha256:b7a4cad12c197af3ba43202d3efe03246b3f0793f162afb40a33c923952d5b31
4648
- v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
4749
- v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb
4850
- v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8
4951
- v1.23.17@sha256:59c989ff8a517a93127d4a536e7014d28e235fb3529d9fba91b3951d461edfdb
52+
include:
53+
# This version will only run on the 'v3-major-release' branch
54+
- kubernetes_version: v1.31.2@sha256:33034c0a75dd82b2f2f22bdf0a30ea2a42b2c3547a6d56c52c7ea9c1b5fb89b9
55+
branches: ['v3-major-release']
5056
steps:
5157
- name: Checkout repository
5258
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

.github/workflows/check_examples.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ on:
44
push:
55
branches:
66
- main
7+
- v3-major-release
78
paths:
89
- "_examples/kubernetes_manifest/**"
910
- "**.go"
1011
pull_request:
1112
branches:
1213
- main
14+
- v3-major-release
1315
paths:
1416
- "_examples/kubernetes_manifest/**"
1517
- "**.go"

.github/workflows/golangci-lint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
pull_request:
66
branches:
77
- main
8+
- v3-major-release
89
paths:
910
- '**/*.go'
1011
- '**/go.mod'

.github/workflows/manifest_acc.yaml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ on:
44
push:
55
branches:
66
- main
7+
- v3-major-release
78
paths:
89
- "manifest/**/*.go"
910
- "manifest/**/go.mod"
1011
pull_request:
1112
branches:
1213
- main
14+
- v3-major-release
1315
paths:
1416
- "manifest/**/*.go"
1517
- "manifest/**/go.mod"
@@ -29,12 +31,17 @@ jobs:
2931
kubernetes_version:
3032
# kind images: https://github.com/kubernetes-sigs/kind/releases
3133
- v1.30.0@sha256:047357ac0cfea04663786a612ba1eaba9702bef25227a794b52890dd8bcd692e
32-
- v1.28.0@sha256:b7a4cad12c197af3ba43202d3efe03246b3f0793f162afb40a33c923952d5b31
33-
- v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
34-
- v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb
35-
- v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8
36-
- v1.23.17@sha256:59c989ff8a517a93127d4a536e7014d28e235fb3529d9fba91b3951d461edfdb
34+
- v1.29.2@sha256:51a1434a5397193442f0be2a297b488b6c919ce8a3931be0ce822606ea5ca245
35+
- v1.28.7@sha256:9bc6c451a289cf96ad0bbaf33d416901de6fd632415b076ab05f5fa7e4f65c58
36+
- v1.27.11@sha256:681253009e68069b8e01aad36a1e0fa8cf18bb0ab3e5c4069b2e65cafdd70843
37+
- v1.26.14@sha256:5d648992dda1fdf1f613e927146ba965f4c6e3c3bda1f2f1b99a45b2be7b0195
38+
include:
39+
# This version will only run on the 'v3-major-release' branch
40+
- kubernetes_version: v1.31.2@sha256:33034c0a75dd82b2f2f22bdf0a30ea2a42b2c3547a6d56c52c7ea9c1b5fb89b9
41+
branches: ['v3-major-release']
42+
3743
terraform_version:
44+
- 1.9.8
3845
- 1.8.5
3946
- 1.6.6
4047
- 1.5.7
@@ -43,6 +50,7 @@ jobs:
4350
- 1.2.9
4451
- 1.1.9
4552
- 1.0.11
53+
4654
steps:
4755
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
4856
- name: Set up Go
@@ -52,7 +60,7 @@ jobs:
5260
- name: Setup kind
5361
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
5462
with:
55-
version: v0.20.0
63+
version: v0.21.0
5664
node_image: kindest/node:${{ matrix.kubernetes_version }}
5765
# By default, this action creates a cluster with the name 'chart-testing'
5866
cluster_name: manifest

.github/workflows/manifest_unit.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ on:
44
push:
55
branches:
66
- main
7+
- v3-major-release
78
paths:
89
- "manifest/**/*.go"
910
- "manifest/**/go.mod"
1011
pull_request:
1112
branches:
1213
- main
14+
- v3-major-release
1315
paths:
1416
- "manifest/**/*.go"
1517
- "manifest/**/go.mod"

.github/workflows/provider_functions_unit.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ on:
44
push:
55
branches:
66
- main
7+
- v3-major-release
78
paths:
89
- "internal/framework/provider/functions/**/*.go"
910
pull_request:
1011
branches:
1112
- main
13+
- v3-major-release
1214
paths:
1315
- "internal/framework/provider/functions/**/*.go"
1416
workflow_dispatch:

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ on:
44
push:
55
branches:
66
- main
7+
- v3-major-release
78
pull_request:
89
branches:
910
- main
11+
- v3-major-release
1012
paths:
1113
- 'kubernetes/*.go'
1214
workflow_dispatch:

0 commit comments

Comments
 (0)