You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature: Make targets for debugging services and operators
Adds a new Make target which triggers build in the underlying services
and operators which end up building the images without any code
optimizations and with Delve on them.
Once pushed and deployed to the local OpenShift cluster, it patches the
host operator, the member operator and the registration service to
launch them with the Delve executable, which allows debugging them on
port 50000 after port-forwarding to those pods.
SANDBOX-1561
Copy file name to clipboardExpand all lines: README.adoc
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,14 @@ All e2e resources (host operator, member operator, registration-service, CRDs, e
151
151
152
152
* `make dev-deploy-e2e-local` - deploys the same resources as `make test-e2e-local` in dev environment but doesn't run tests.
153
153
154
+
* `make dev-deploy-e2e-local-debug` - deploys the same resources as `make test-e2e-local` in the local OpenShift
155
+
instance, but builds the services and the operators without any code optimizations. It also ships Delve in the images,
156
+
and launches those services with it, which leaves the debugger listening on port `50000`. Then, you can simply `oc
157
+
port-forward ${POD} 50000:50000` and connect to them with your favorite IDE. The services that are built like that are:
158
+
** The registration service.
159
+
** The host operator controller manager.
160
+
** The member operator controller manager.
161
+
154
162
* `make dev-deploy-e2e` - deploys the same resources as `make test-e2e` in dev environment but doesn't run tests.
155
163
156
164
* `make deploy-single-member-e2e-latest` - deploys the same resources (using the latest and greatest images of Toolchain operators) as `make test-e2e` but with only one member and doesn't run tests.
0 commit comments