Skip to content

End-to-end test: run modified certsuite with ocs-operator bundle #5

@rocrisp

Description

@rocrisp

Summary

Validate the full workflow end-to-end by running the modified certsuite batch test script against ocs-operator using the test configuration bundle from this repo.

Details

Test steps

  1. Push the TestConfigurationBundle repo with the ocs-operator bundle (from issue Create ocs-operator test configuration bundle #3)
  2. Build/run the modified certsuite script (from issue Add operand installation to certsuite batch operator test script #4) pointing at this repo
  3. Run with ocs-operator as the target operator

Expected behavior

  • Script clones TestConfigurationBundle repo successfully
  • Looks up ocs-operator in operator-map.yaml and finds the bundle
  • Installs the ocs-operator via OLM and waits for CSV to succeed
  • Applies 00-prerequisites.yaml (if present)
  • Applies 01-operand-crs.yaml — creates StorageCluster CR
  • Runs 02-validate.sh — waits for operands to be ready, exits 0
  • Certsuite tests run against the live operands
  • Teardown cleans up the operand CRs
  • Operator is uninstalled normally

Also verify graceful skip

  • Run the script with a different operator that has NO bundle
  • Confirm it logs a warning and continues without failure

Depends on

Parent Epic

Test Configuration Bundle for Certsuite Operand Installation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions