Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit 0992224

Browse files
authored
Auto-generated: Update kuttl e2e test files (#85)
* Generated test files for new kind node image and removed test files for oldest kind node image. * Add CLI to test asertion Co-authored-by: nolancon <nolancon@users.noreply.github.com>
1 parent 10a3c44 commit 0992224

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

.github/workflows/kuttl-e2e-test-1.21.yaml renamed to .github/workflows/kuttl-e2e-test-1.26.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: e2e test 1.21
1+
name: e2e test 1.26
22

33
on: [push, pull_request]
44

55
jobs:
66
test:
7-
name: e2e test 1.21
7+
name: e2e test 1.26
88
runs-on: ubuntu-latest
99
env:
1010
KUTTL: /usr/local/bin/kubectl-kuttl
@@ -41,7 +41,7 @@ jobs:
4141
sudo chmod +x kind
4242
4343
- name: Start kind
44-
run: kind create cluster --retain --wait 2m --config e2e/kind/kind-config-1.21.yaml
44+
run: kind create cluster --retain --wait 2m --config e2e/kind/kind-config-1.26.yaml
4545

4646
- name: Load operator image
4747
run: kind load docker-image storageos/portal-manager:develop
@@ -52,7 +52,7 @@ jobs:
5252
sudo chmod +x $KUTTL
5353
5454
- name: Run kuttl
55-
run: kubectl-kuttl test --config e2e/kuttl/portal-manager-1.21.yaml
55+
run: kubectl-kuttl test --config e2e/kuttl/portal-manager-1.26.yaml
5656
env:
5757
TENANT_ID: ${{ secrets.TENANT_ID }}
5858
URL: ${{ secrets.URL }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ MANIFESTS_IMAGE ?= storageos/portal-manager-manifests:test
1414
# Generate kuttl e2e tests for the following storageos/kind-node versions
1515
# TEST_KIND_NODES is not intended to be updated manually.
1616
# Please run 'LATEST_KIND_NODE=<latest-kind-node> make update-kind-nodes'.
17-
TEST_KIND_NODES ?= 1.21.0,1.22.3,1.23.0,1.24.2,1.25.0
17+
TEST_KIND_NODES ?= 1.22.3,1.23.0,1.24.2,1.25.0,1.26.0
1818
REPO ?= portal-manager
1919

2020
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ kind: Cluster
22
apiVersion: kind.x-k8s.io/v1alpha4
33
nodes:
44
- role: control-plane
5-
image: storageos/kind-node:v1.21.0
5+
image: storageos/kind-node:v1.26.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: kuttl.dev/v1beta1
22
kind: TestSuite
33
testDirs:
44
- ./e2e/tests/stable
5-
kindConfig: e2e/kind/kind-config-1.21.yaml
5+
kindConfig: e2e/kind/kind-config-1.26.yaml
66
startKIND: false
77
kindContainers:
88
- storageos/portal-manager:develop

e2e/tests/stable/portal/00-assert.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,17 @@ status:
130130
---
131131
apiVersion: apps/v1
132132
kind: Deployment
133+
metadata:
134+
name: storageos-cli
135+
namespace: storageos
136+
labels:
137+
app: storageos
138+
app.kubernetes.io/component: storageos-cli
139+
status:
140+
readyReplicas: 1
141+
---
142+
apiVersion: apps/v1
143+
kind: Deployment
133144
metadata:
134145
name: storageos-scheduler
135146
namespace: storageos
@@ -206,6 +217,10 @@ status:
206217
reason: Ready
207218
status: "True"
208219
type: CSIReady
220+
- message: CLI Ready
221+
reason: Ready
222+
status: "True"
223+
type: CLIReady
209224
- message: Cluster Ready
210225
reason: Ready
211226
status: "True"

0 commit comments

Comments
 (0)