Skip to content
Draft
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
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Pre-flight order: `make check` then `make build`.
| Test placement strategy | [architecture repo](https://github.com/openshift-hyperfleet/architecture/blob/main/hyperfleet/docs/e2e-testing/test-placement-strategy.md) — which layer a test belongs in (unit / integration / E2E) |
| Test writing guide | `docs/development.md` |
| Debugging | `docs/debugging.md` |
| Local kind setup | `docs/local-kind-setup.md` |
| Setup Guide | `docs/setup.md` |
| Runbook | `docs/runbook.md` |
| Contributing | `CONTRIBUTING.md` |
| Test case templates | `test-design/templates/` |
Expand Down
20 changes: 16 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,28 @@ hyperfleet-e2e/
│ ├── labels/ - Test label definitions
│ └── logger/ - Structured logging (slog)
├── e2e/ - Test suites
│ ├── adapter/ - Adapter failover and Maestro tests
│ ├── adapter/ - Adapter lifecycle tests
│ ├── channel/ - Channel management tests
│ ├── cluster/ - Cluster lifecycle tests
│ └── nodepool/ - NodePool management tests
│ ├── nodepool/ - NodePool management tests
│ └── version/ - Version management tests
├── testdata/ - Test payloads and fixtures
│ ├── adapter-configs/ - Adapter configuration files
│ └── payloads/
│ ├── clusters/ - Cluster creation payloads
│ └── nodepools/- NodePool creation payloads
│ └── nodepools/ - NodePool creation payloads
├── test-design/ - Test design documentation
│ ├── templates/ - Test case templates
│ ├── testcases/ - Test case documents
│ └── user-journeys/ - User journey maps
├── configs/ - Configuration files
│ └── config.yaml - Default configuration
└── docs/ - Documentation
├── docs/ - Documentation
├── env/ - Environment configuration files
├── hack/ - Build and development scripts
├── images/ - Container image definitions
├── openapi/ - OpenAPI spec and generation config
└── scripts/ - Utility scripts
```

## Testing
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ COPY --from=builder /build/bin/hyperfleet-e2e /usr/local/bin/
# Copy test payloads and fixtures
COPY --from=builder /build/testdata /e2e/testdata

# Copy deploy scripts
COPY --from=builder /build/deploy-scripts /e2e/deploy-scripts

# Copy env files
COPY --from=builder /build/env /e2e/env

Expand Down
14 changes: 0 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,20 +137,6 @@ verify: generate fmt-check vet ## Run all verification checks
.PHONY: check
check: verify lint test ## Run all checks (fmt, vet, lint, test)

##@ Local kind Development (see docs/local-kind-setup.md)

.PHONY: local-up
local-up: ## Full local setup: kind cluster + deploy + port-forward
./deploy-scripts/kind-local.sh up

.PHONY: local-down
local-down: ## Remove all components from local kind cluster
./deploy-scripts/kind-local.sh down

.PHONY: local-rebuild
local-rebuild: ## Rebuild + restart. Usage: make local-rebuild C=hyperfleet-adapter
./deploy-scripts/kind-local.sh rebuild $(if $(NO_CACHE),--no-cache) $(C)

##@ Container Images

.PHONY: image
Expand Down
36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,8 @@ Black-box end-to-end testing for validating the HyperFleet cluster lifecycle man
HyperFleet E2E is a Ginkgo-based testing framework that validates HyperFleet cluster lifecycle management through black-box tests. It creates ephemeral test clusters for each test, providing complete isolation and supporting parallel execution.

## Quick Start

```bash
# Clone and build
git clone https://github.com/openshift-hyperfleet/hyperfleet-e2e.git
cd hyperfleet-e2e
make build

# Set API URL and run tests
export HYPERFLEET_API_URL=https://api.hyperfleet.example.com
./bin/hyperfleet-e2e test --label-filter=tier0
```

**Done!** The framework created a cluster, validated adapters, and cleaned up resources.
- **[Setup Guide](docs/setup.md)** - Setup environment to run e2e tests
- **[Getting Started](docs/getting-started.md)** - Getting started guide

## Running Tests

Expand Down Expand Up @@ -79,15 +68,28 @@ hyperfleet-e2e/
│ ├── labels/ - Test label definitions
│ └── logger/ - Structured logging (slog)
├── e2e/ - Test suites
│ ├── adapter/ - Adapter lifecycle tests
│ ├── channel/ - Channel management tests
│ ├── cluster/ - Cluster lifecycle tests
│ └── nodepool/ - NodePool management tests
│ ├── nodepool/ - NodePool management tests
│ └── version/ - Version management tests
├── testdata/ - Test payloads and fixtures
│ ├── adapter-configs/ - Adapter configuration files
│ └── payloads/
│ ├── clusters/ - Cluster creation payloads
│ └── nodepools/ - NodePool creation payloads
├── test-design/ - Test design documentation
│ ├── templates/ - Test case templates
│ ├── testcases/ - Test case documents
│ └── user-journeys/ - User journey maps
├── configs/ - Configuration files
│ └── config.yaml - Default configuration
└── docs/ - Documentation
├── docs/ - Documentation
├── env/ - Environment configuration files
├── hack/ - Build and development scripts
├── images/ - Container image definitions
├── openapi/ - OpenAPI spec and generation config
└── scripts/ - Utility scripts
```

## Key Features
Expand All @@ -102,8 +104,8 @@ hyperfleet-e2e/
## Documentation

- **[System Architecture](https://github.com/openshift-hyperfleet/architecture)** - Single source of truth for all HyperFleet architectural documentation
- **[Local kind Setup](docs/local-kind-setup.md)** - Run E2E tests locally with kind and RabbitMQ
- **[Runbook](docs/runbook.md)** - E2E test runbook for GKE clusters
- **[Setup Guide](docs/setup.md)** - Setup environment to run e2e tests
- **[Runbook](docs/runbook.md)** - E2E test runbook
- **[Getting Started](docs/getting-started.md)** - Run your first test in 10 minutes
- **[Framework Architecture](docs/architecture.md)** - Understand the framework design
- **[Development](docs/development.md)** - Write new tests
Expand Down
142 changes: 0 additions & 142 deletions deploy-scripts/.env.example

This file was deleted.

Loading