Skip to content

Commit

Permalink
Added kuttl test suites (#455)
Browse files Browse the repository at this point in the history
# Description

Requires `beku 0.0.7`. Upgrade with:

```
pip install --upgrade beku-stackabletech
```

Added three test suites:

* `latest` : only run tests with the latest versions.
* `smoke` : only run smoke tests.
* `openshift` : only run latest versions with openshift=true.

To  run the `latest` test suite:

```
rm -rf tests/_work && beku -s latest
```
  • Loading branch information
razvan committed Jun 27, 2023
1 parent 38014f4 commit 83d7d81
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file.
- Operator-rs: `0.40.1` -> `0.41.0` ([#440]).
- Use 0.0.0-dev product images for testing ([#441]).
- Use testing-tools 0.2.0 ([#441]).
- Added kuttl test suites ([#455])

### Fixed

Expand All @@ -26,6 +27,7 @@ All notable changes to this project will be documented in this file.
[#443]: https://github.com/stackabletech/opa-operator/pull/443
[#445]: https://github.com/stackabletech/opa-operator/pull/445
[#451]: https://github.com/stackabletech/opa-operator/pull/451
[#455]: https://github.com/stackabletech/opa-operator/pull/455

## [23.4.0] - 2023-04-17

Expand Down
15 changes: 15 additions & 0 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,18 @@ tests:
- name: cluster-operation
dimensions:
- opa-latest
suites:
- name: latest
patch:
- dimensions:
- expr: last
- name: smoke
select:
- smoke
- name: openshift
patch:
- dimensions:
- expr: last
- dimensions:
- name: openshift
expr: "true"

0 comments on commit 83d7d81

Please sign in to comment.