Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: e2e test 1.21
name: e2e test 1.26

on: [push, pull_request]

jobs:
test:
name: e2e test 1.21
name: e2e test 1.26
runs-on: ubuntu-latest
env:
KUTTL: /usr/local/bin/kubectl-kuttl
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
sudo chmod +x kind

- name: Start kind
run: kind create cluster --retain --wait 2m --config e2e/kind/kind-config-1.21.yaml
run: kind create cluster --retain --wait 2m --config e2e/kind/kind-config-1.26.yaml

- name: Load operator image
run: kind load docker-image storageos/portal-manager:develop
Expand All @@ -52,7 +52,7 @@ jobs:
sudo chmod +x $KUTTL

- name: Run kuttl
run: kubectl-kuttl test --config e2e/kuttl/portal-manager-1.21.yaml
run: kubectl-kuttl test --config e2e/kuttl/portal-manager-1.26.yaml
env:
TENANT_ID: ${{ secrets.TENANT_ID }}
URL: ${{ secrets.URL }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MANIFESTS_IMAGE ?= storageos/portal-manager-manifests:test
# Generate kuttl e2e tests for the following storageos/kind-node versions
# TEST_KIND_NODES is not intended to be updated manually.
# Please run 'LATEST_KIND_NODE=<latest-kind-node> make update-kind-nodes'.
TEST_KIND_NODES ?= 1.21.0,1.22.3,1.23.0,1.24.2,1.25.0
TEST_KIND_NODES ?= 1.22.3,1.23.0,1.24.2,1.25.0,1.26.0
REPO ?= portal-manager

# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
image: storageos/kind-node:v1.21.0
image: storageos/kind-node:v1.26.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kuttl.dev/v1beta1
kind: TestSuite
testDirs:
- ./e2e/tests/stable
kindConfig: e2e/kind/kind-config-1.21.yaml
kindConfig: e2e/kind/kind-config-1.26.yaml
startKIND: false
kindContainers:
- storageos/portal-manager:develop
Expand Down
15 changes: 15 additions & 0 deletions e2e/tests/stable/portal/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,17 @@ status:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: storageos-cli
namespace: storageos
labels:
app: storageos
app.kubernetes.io/component: storageos-cli
status:
readyReplicas: 1
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: storageos-scheduler
namespace: storageos
Expand Down Expand Up @@ -206,6 +217,10 @@ status:
reason: Ready
status: "True"
type: CSIReady
- message: CLI Ready
reason: Ready
status: "True"
type: CLIReady
- message: Cluster Ready
reason: Ready
status: "True"
Expand Down