Skip to content

Clowder E2E job#1428

Open
JuanmaBM wants to merge 20 commits intoRedHatInsights:masterfrom
JuanmaBM:full-cicd
Open

Clowder E2E job#1428
JuanmaBM wants to merge 20 commits intoRedHatInsights:masterfrom
JuanmaBM:full-cicd

Conversation

@JuanmaBM
Copy link
Collaborator

This PR adds a CICD process that executes a job that deploys several Clowder resources and then executes a set of pytest tests to verify the E2E behaviour of Clowder.

Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
…environment as well

Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
Signed-off-by: Juanma Barea <juanmabareamartinez@gmail.com>
@JuanmaBM JuanmaBM requested review from bsquizz and maknop October 30, 2025 14:16
@JuanmaBM JuanmaBM self-assigned this Oct 30, 2025
Reorganized ci/full-cicd tests into tests/rh_clowder_ci as a proper
pip-installable Python package with the following improvements:

- Converted bash deployment scripts to pytest module-scoped fixture
- Replaced subprocess 'oc' calls with ocviapy library (get_json, oc,
  process_template, apply_config, get_api_resources)
- Used wait_for library for robust retry logic
- Converted test resources to OpenShift Template with NAMESPACE parameter
- Implemented intelligent resource cleanup that dynamically determines
  namespaced vs cluster-scoped resources for proper teardown
- Added proper Python package structure with pyproject.toml
- Configured ruff for code linting and formatting
- Added Python-specific .gitignore for build artifacts

The new package can be installed with: pip install -e tests/rh_clowder_ci

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
bsquizz and others added 3 commits February 4, 2026 14:36
Add pytest logging configuration to enable timestamped console and file
output. Replace print statements with logger.info() calls for better
integration with pytest and configurable log levels.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants