- Quick Start
- Run unit tests
- Format the code and fix imports
- Run static code analyzers
- Update development resources
- Build Che operator image
- Deploy Che operator from the source code
- Debug Che operator
- Pull requests
git clone https://github.com/eclipse-che/che-operator.git
cd che-operator
make build # Build the operator binary
make test # Run unit tests to verify setupmake testmake fmtmake lintYou have to update development resources if you updated any files in config folder or api/v2/checluster_types.go file:
make update-dev-resourcesOn macOS, run it inside a container:
build/scripts/docker-run.sh make update-dev-resourcesmake docker-build IMG=<YOUR_OPERATOR_IMAGE>For OpenShift cluster:
build/scripts/oc-tests/oc-test.sh --install-from sourcesFor Kubernetes cluster:
build/scripts/minikube-tests/test-operator-from-sources.shYou can run/debug this operator on your local machine (without deploying to a k8s cluster).
make debugThen use VSCode debug configuration Che Operator to attach to a running process.
Use the pull request template and fill in all sections, including steps to deploy and test the change. See also Red Hat compliance and responsible AI.