Skip to content

Commit 272be34

Browse files
authored
Add 1.7 and 1.8 to e2e (#1235)
Signed-off-by: apedriza <[email protected]>
1 parent bd97913 commit 272be34

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

e2e/config/docker.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,24 @@ providers:
7070
replacements:
7171
- old: "imagePullPolicy: Always"
7272
new: "imagePullPolicy: IfNotPresent"
73+
- name: "{go://github.com/k0sproject/[email protected]}"
74+
value: https://github.com/k0sproject/k0smotron/releases/download/{go://github.com/k0sproject/[email protected]}/control-plane-components.yaml
75+
type: url
76+
contract: v1beta1
77+
files:
78+
- sourcePath: "../../metadata.yaml"
79+
replacements:
80+
- old: "imagePullPolicy: Always"
81+
new: "imagePullPolicy: IfNotPresent"
82+
- name: "{go://github.com/k0sproject/[email protected]}"
83+
value: https://github.com/k0sproject/k0smotron/releases/download/{go://github.com/k0sproject/[email protected]}/control-plane-components.yaml
84+
type: url
85+
contract: v1beta1
86+
files:
87+
- sourcePath: "../../metadata.yaml"
88+
replacements:
89+
- old: "imagePullPolicy: Always"
90+
new: "imagePullPolicy: IfNotPresent"
7391
- name: v1.8.99 # potentially next release. Manifest from source files (development) are used.
7492
value: ../../config/default
7593
contract: v1beta1
@@ -110,6 +128,24 @@ providers:
110128
replacements:
111129
- old: "imagePullPolicy: Always"
112130
new: "imagePullPolicy: IfNotPresent"
131+
- name: "{go://github.com/k0sproject/[email protected]}"
132+
value: https://github.com/k0sproject/k0smotron/releases/download/{go://github.com/k0sproject/[email protected]}/bootstrap-components.yaml
133+
type: url
134+
contract: v1beta1
135+
files:
136+
- sourcePath: "../../metadata.yaml"
137+
replacements:
138+
- old: "imagePullPolicy: Always"
139+
new: "imagePullPolicy: IfNotPresent"
140+
- name: "{go://github.com/k0sproject/[email protected]}"
141+
value: https://github.com/k0sproject/k0smotron/releases/download/{go://github.com/k0sproject/[email protected]}/bootstrap-components.yaml
142+
type: url
143+
contract: v1beta1
144+
files:
145+
- sourcePath: "../../metadata.yaml"
146+
replacements:
147+
- old: "imagePullPolicy: Always"
148+
new: "imagePullPolicy: IfNotPresent"
113149
- name: v1.8.99 # potentially next release. Manifest from source files (development) are used.
114150
value: ../../config/default
115151
contract: v1beta1

e2e/k0smotron_upgrade_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func TestK0smotronUpgrade(t *testing.T) {
4949
// Important: This version MUST match the ones set in the e2e config file because that guarantees that the clusterctl
5050
// local repository contains the required versions of the providers when running the upgrade tests. We should test
5151
// development version against the latests stable version of k0smotron.
52-
var k0smotronMinorVersionsToCheckUpgrades = []string{"1.5", "1.6"}
52+
var k0smotronMinorVersionsToCheckUpgrades = []string{"1.5", "1.6", "1.7", "1.8"}
5353

5454
func k0smotronUpgradeSpec(t *testing.T) {
5555

0 commit comments

Comments
 (0)