Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split the E2E to different test suites #1640

Merged
merged 7 commits into from
Dec 21, 2021
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
265 changes: 254 additions & 11 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches: [ master ]

jobs:
e2e-tests:
name: End-to-end tests
allinone-e2e-tests:
name: All in one E2E tests
runs-on: ubuntu-20.04
strategy:
matrix:
Expand All @@ -18,22 +18,265 @@ jobs:
- "1.21"
- "1.22"
steps:

- name: Set up Go
- name: "Set up Go"
uses: actions/[email protected]
with:
go-version: 1.16

- name: Check out code into the Go module directory
- name: "Check out code into the Go module directory"
uses: actions/[email protected]

- name: "Install KIND"
run: ./.ci/install-kind.sh

- name: "install kuttl"
- name: "Install KUTTL"
run: ./.ci/install-kuttl.sh
- name: "install gomplate"
run: ./.ci/install-gomplate.sh
- name: "Install dependencies"
run: make install-tools
- name: "Run E2E test suite"
env:
KUBE_VERSION: ${{ matrix.kube-version }}
run: make run-e2e-tests-allinone
cassandra-e2e-tests:
name: Cassandra E2E tests
runs-on: ubuntu-20.04
strategy:
matrix:
kube-version:
- "1.19"
- "1.20"
- "1.21"
- "1.22"
steps:

- name: "run tests"
- name: "Set up Go"
uses: actions/[email protected]
with:
go-version: 1.16
- name: "Check out code into the Go module directory"
uses: actions/[email protected]
- name: "Install KUTTL"
run: ./.ci/install-kuttl.sh
- name: "install gomplate"
run: ./.ci/install-gomplate.sh
- name: "Install dependencies"
run: make install-tools
- name: "Run E2E test suite"
env:
KUBE_VERSION: ${{ matrix.kube-version }}
run: make run-e2e-tests-cassandra
elasticsearch-e2e-tests:
name: Elasticsearch E2E tests
runs-on: ubuntu-20.04
strategy:
matrix:
kube-version:
- "1.19"
- "1.20"
- "1.21"
- "1.22"
steps:
- name: "Set up Go"
uses: actions/[email protected]
with:
go-version: 1.16
- name: "Check out code into the Go module directory"
uses: actions/[email protected]
- name: "Install KUTTL"
run: ./.ci/install-kuttl.sh
- name: "install gomplate"
run: ./.ci/install-gomplate.sh
- name: "Install dependencies"
run: make install-tools
- name: "Run E2E test suite"
env:
KUBE_VERSION: ${{ matrix.kube-version }}
run: make run-e2e-tests-elasticsearch
examples-e2e-tests:
name: Examples E2E tests
runs-on: ubuntu-20.04
strategy:
matrix:
kube-version:
- "1.19"
- "1.20"
- "1.21"
- "1.22"
steps:
- name: "Set up Go"
uses: actions/[email protected]
with:
go-version: 1.16
- name: "Check out code into the Go module directory"
uses: actions/[email protected]
- name: "Install KUTTL"
run: ./.ci/install-kuttl.sh
- name: "install gomplate"
run: ./.ci/install-gomplate.sh
- name: "Install dependencies"
run: make install-tools
- name: "Run E2E test suite"
env:
KUBE_VERSION: ${{ matrix.kube-version }}
run: make run-e2e-tests-examples
generate-e2e-tests:
name: Generate E2E tests
runs-on: ubuntu-20.04
strategy:
matrix:
kube-version:
- "1.19"
- "1.20"
- "1.21"
- "1.22"
steps:
- name: "Set up Go"
uses: actions/[email protected]
with:
go-version: 1.16
- name: "Check out code into the Go module directory"
uses: actions/[email protected]
- name: "Install KUTTL"
run: ./.ci/install-kuttl.sh
- name: "install gomplate"
run: ./.ci/install-gomplate.sh
- name: "Install dependencies"
run: make install-tools
- name: "Run E2E test suite"
env:
KUBE_VERSION: ${{ matrix.kube-version }}
run: make run-e2e-tests-generate
istio-e2e-tests:
name: Istio E2E tests
runs-on: ubuntu-20.04
strategy:
matrix:
kube-version:
- "1.19"
- "1.20"
- "1.21"
- "1.22"
steps:
- name: "Set up Go"
uses: actions/[email protected]
with:
go-version: 1.16
- name: "Check out code into the Go module directory"
uses: actions/[email protected]
- name: "Install KUTTL"
run: ./.ci/install-kuttl.sh
- name: "install gomplate"
run: ./.ci/install-gomplate.sh
- name: "Install dependencies"
run: make install-tools
- name: "Run E2E test suite"
env:
KUBE_VERSION: ${{ matrix.kube-version }}
run: make run-e2e-tests-istio
outside-cluster-e2e-tests:
name: Outside cluster E2E tests
runs-on: ubuntu-20.04
strategy:
matrix:
kube-version:
- "1.19"
- "1.20"
- "1.21"
- "1.22"
steps:
- name: "Set up Go"
uses: actions/[email protected]
with:
go-version: 1.16
- name: "Check out code into the Go module directory"
uses: actions/[email protected]
- name: "Install KUTTL"
run: ./.ci/install-kuttl.sh
- name: "install gomplate"
run: ./.ci/install-gomplate.sh
- name: "Install dependencies"
run: make install-tools
- name: "Run E2E test suite"
env:
KUBE_VERSION: ${{ matrix.kube-version }}
run: make run-e2e-tests-outside-cluster
smoke-e2e-tests:
name: Smoke E2E tests
runs-on: ubuntu-20.04
strategy:
matrix:
kube-version:
- "1.19"
- "1.20"
- "1.21"
- "1.22"
steps:
- name: "Set up Go"
uses: actions/[email protected]
with:
go-version: 1.16
- name: "Check out code into the Go module directory"
uses: actions/[email protected]
- name: "Install KUTTL"
run: ./.ci/install-kuttl.sh
- name: "install gomplate"
run: ./.ci/install-gomplate.sh
- name: "Install dependencies"
run: make install-tools
- name: "Run E2E test suite"
env:
KUBE_VERSION: ${{ matrix.kube-version }}
run: make run-e2e-tests-smoke
streaming-e2e-tests:
name: Streaming E2E tests
runs-on: ubuntu-20.04
strategy:
matrix:
kube-version:
- "1.19"
- "1.20"
- "1.21"
- "1.22"
steps:
- name: "Set up Go"
uses: actions/[email protected]
with:
go-version: 1.16
- name: "Check out code into the Go module directory"
uses: actions/[email protected]
- name: "Install KUTTL"
run: ./.ci/install-kuttl.sh
- name: "install gomplate"
run: ./.ci/install-gomplate.sh
- name: "Install dependencies"
run: make install-tools
- name: "Run E2E test suite"
env:
KUBE_VERSION: ${{ matrix.kube-version }}
run: make run-e2e-tests-streaming
upgrade-e2e-tests:
name: Upgrade E2E tests
runs-on: ubuntu-20.04
strategy:
matrix:
kube-version:
- "1.19"
- "1.20"
- "1.21"
- "1.22"
steps:
- name: "Set up Go"
uses: actions/[email protected]
with:
go-version: 1.16
- name: "Check out code into the Go module directory"
uses: actions/[email protected]
- name: "Install KUTTL"
run: ./.ci/install-kuttl.sh
- name: "install gomplate"
run: ./.ci/install-gomplate.sh
- name: "Install dependencies"
run: make install-tools
- name: "Run E2E test suite"
env:
KUBE_VERSION: ${{ matrix.kube-version }}
run: make install-tools e2e-tests KUBE_VERSION=$KUBE_VERSION
run: make run-e2e-tests-upgrade
Loading