Commit 7c0632e
committed
Remove test dependencies from root go.mod
Removes test-only dependencies from the production operator module
now that they are isolated in test/extended/tests-extension/go.mod.
Removed dependencies:
- github.com/onsi/ginkgo/v2 v2.23.4
- github.com/onsi/gomega v1.38.0
- github.com/openshift-eng/openshift-tests-extension v0.0.0-20250804142706-7b3ab438a292
Removed replace directive:
- github.com/onsi/ginkgo/v2 => github.com/openshift/onsi-ginkgo/v2
This achieves complete dependency isolation:
- Production go.mod is now free of test framework dependencies
- Test dependencies are managed separately in test/extended/tests-extension/go.mod
- No risk of version conflicts between operator and test framework
- Cleaner dependency tree for production builds
The operator binary no longer carries any testing framework overhead.1 parent 7732903 commit 7c0632e
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | | - | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
| |||
195 | 192 | | |
196 | 193 | | |
197 | 194 | | |
198 | | - | |
199 | 195 | | |
200 | 196 | | |
201 | 197 | | |
| |||
0 commit comments