Skip to content

feat: add redisreplication status masterNode #612

feat: add redisreplication status masterNode

feat: add redisreplication status masterNode #612

Workflow file for this run

name: E2E Kuttl tests
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
name: ${{ matrix.testpath }}
runs-on: ubuntu-latest
strategy:
matrix:
testpath: []

Check failure on line 17 in .github/workflows/e2e.yaml

View workflow run for this annotation

GitHub Actions / E2E Kuttl tests

Invalid workflow file

The workflow is not valid. .github/workflows/e2e.yaml (Line: 17, Col: 19): Matrix vector 'testpath' does not contain any values
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build Dockerfile
run: docker build . --file Dockerfile --tag redis-operator:e2e
- name: Install kuttl
run: |
curl -L https://github.com/kudobuilder/kuttl/releases/download/v0.15.0/kubectl-kuttl_0.15.0_linux_x86_64 -o /usr/local/bin/kuttl
chmod +x /usr/local/bin/kuttl
- name: Install kubectl
run: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl
sudo mv kubectl /usr/local/bin/
- name: Create k8s Kind Cluster
uses: helm/[email protected]
with:
config: tests/_config/kind-config.yaml
cluster_name: kind
- name: Load Docker image into Kind
run: |
kubectl cluster-info --context kind-kind
kind load docker-image redis-operator:e2e --name kind
- name: Install Redis Operator
run: |
make deploy IMG=redis-operator:e2e
- name: Wait for Redis Operator to be ready
run: |
kubectl wait --for=condition=available --timeout=300s deployment/redis-operator-redis-operator -n redis-operator-system
- name: Run kuttl test
run: kuttl test ${{ matrix.testpath }} --config tests/_config/kuttl-test.yaml