Skip to content
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
12 changes: 6 additions & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Kubernetes operator (controller-runtime) for managing middleware updates for ser

Before committing, test locally following the table below:

| If changed | Target | Description |
|------------|--------|-------------|
| `*.go` files | `make test` | Unit tests |
| Any files | `make lint` | Linting |
| `api/` types | `make manifests generate` | Regenerate CRDs and DeepCopy |
| Significant changes | `make test-e2e` | E2E tests (Kind cluster with Gitea required) |
| If changed | Target | Description |
|----------------------------|-----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `*.go` files | `make test` | Unit tests |
| Any files | `make lint` | Linting |
| `api/` types or interfaces | `make update-codegen` | Regenerate CRDs, DeepCopy, and mock implementations |
| Significant changes | `make test-e2e` | E2E tests (Kind cluster with Gitea required - check the [CONTRIBUTING.md](CONTRIBUTING.md#local-development-cluster), for how to setup a local development cluster and how to build and install the operator) |

## Project Structure

Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ If you find a bug or have a feature request, please [open an issue](https://gith

All CI checks must pass before a pull request can be merged.

### Backporting Changes

To backport a merged PR to a release branch, comment `/cherry-pick release-X.Y` on the PR. This automatically creates a new PR with the cherry-picked changes against the target branch.

## Further Reading

- [Architecture Overview](docs/architecture.md) — system components, reconciliation flow, CRD lifecycle
Expand Down
Loading