Skip to content

Commit e4a9cda

Browse files
Merge pull request #1078 from Nordix/backport-add-ginkgo-focus-labels-release-1.4/sunnat
Add features label for e2e feature tests for ginkgo focus to release 1.4
2 parents 90fda08 + 23bd120 commit e4a9cda

File tree

6 files changed

+5
-10
lines changed

6 files changed

+5
-10
lines changed

scripts/environment.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ else
4848
export EPHEMERAL_CLUSTER="minikube"
4949
fi
5050

51-
export FROM_K8S_VERSION="v1.25.2"
52-
export KUBERNETES_VERSION="v1.26.4"
51+
export FROM_K8S_VERSION=${FROM_K8S_VERSION:-"v1.26.4"}
52+
export KUBERNETES_VERSION=${KUBERNETES_VERSION:-"v1.27.1"}
5353

5454
# Can be overriden from jjbs
5555
export CAPI_VERSION=${CAPI_VERSION:-"v1beta1"}
@@ -60,7 +60,7 @@ export CAPM3_LOCAL_IMAGE="${CAPM3PATH}"
6060
export PATH=$PATH:$HOME/.krew/bin
6161

6262
# Upgrade test environment vars and config
63-
if [[ ${GINKGO_FOCUS:-} == "upgrade" ]]; then
63+
if [[ ${GINKGO_FOCUS:-} = "clusterctl-upgrade" ]]; then
6464
export NUM_NODES=${NUM_NODES:-"5"}
6565
fi
6666

test/e2e/data/infrastructure-metal3/bases/centos-kubeadm-config/centos-kubeadm-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ spec:
113113
nodeRegistration:
114114
kubeletExtraArgs:
115115
cgroup-driver: systemd
116-
container-runtime: remote
117116
container-runtime-endpoint: unix:///var/run/crio/crio.sock
118117
feature-gates: AllAlpha=false
119118
node-labels: metal3.io/uuid={{ ds.meta_data.uuid }}
@@ -125,7 +124,6 @@ spec:
125124
nodeRegistration:
126125
kubeletExtraArgs:
127126
cgroup-driver: systemd
128-
container-runtime: remote
129127
container-runtime-endpoint: unix:///var/run/crio/crio.sock
130128
feature-gates: AllAlpha=false
131129
node-labels: metal3.io/uuid={{ ds.meta_data.uuid }}

test/e2e/data/infrastructure-metal3/bases/cluster/md.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ spec:
107107
nodeRegistration:
108108
kubeletExtraArgs:
109109
cgroup-driver: systemd
110-
container-runtime: remote
111110
container-runtime-endpoint: unix:///var/run/crio/crio.sock
112111
feature-gates: AllAlpha=false
113112
node-labels: metal3.io/uuid={{ ds.meta_data.uuid }}

test/e2e/data/infrastructure-metal3/bases/ubuntu-kubeadm-config/ubuntu-kubeadm-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ spec:
8787
nodeRegistration:
8888
kubeletExtraArgs:
8989
cgroup-driver: systemd
90-
container-runtime: remote
9190
container-runtime-endpoint: unix:///var/run/crio/crio.sock
9291
feature-gates: AllAlpha=false
9392
node-labels: metal3.io/uuid={{ ds.meta_data.uuid }}
@@ -98,7 +97,6 @@ spec:
9897
nodeRegistration:
9998
kubeletExtraArgs:
10099
cgroup-driver: systemd
101-
container-runtime: remote
102100
container-runtime-endpoint: unix:///var/run/crio/crio.sock
103101
feature-gates: AllAlpha=false
104102
node-labels: metal3.io/uuid={{ ds.meta_data.uuid }}

test/e2e/upgrade_kubernetes_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"sigs.k8s.io/controller-runtime/pkg/client"
2020
)
2121

22-
var _ = Describe("Kubernetes version upgrade in target nodes [upgrade]", func() {
22+
var _ = Describe("Kubernetes version upgrade in target nodes [k8s-upgrade]", func() {
2323

2424
var (
2525
ctx = context.TODO()

test/e2e/upgrade_management_cluster_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
const workDir = "/opt/metal3-dev-env/"
1717

18-
var _ = Describe("When testing cluster upgrade v1alpha5 > current [upgrade]", func() {
18+
var _ = Describe("When testing cluster upgrade v1alpha5 > current [clusterctl-upgrade]", func() {
1919
BeforeEach(func() {
2020
osType := strings.ToLower(os.Getenv("OS"))
2121
Expect(osType).ToNot(Equal(""))

0 commit comments

Comments
 (0)