Commit Graph
21 Commits
Author SHA1 Message Date
lukaszraczylo e4b95e08c2 fix(deps): bump Masterminds/semver to v3.5.0
The update only touched go.mod. This commit tidies go.sum so the build resolves.
2026-10-04 10:13:43 +01:00
lukaszraczyloandGitHub d146ece447 Update go.mod and go.sum (#56) 2026-10-02 04:25:37 +01:00
lukaszraczylo 15e71cffce fix(ci): require Go 1.26 instead of 1.27
The go directive moved to 1.27.0 during the dependency update. No dependency needs more than Go 1.26, and the CI runner has Go 1.25. Set the go directive, workflows and Dockerfile to 1.26.
2026-10-02 04:03:22 +01:00
lukaszraczylo f3f3301368 chore(deps): update Go modules to latest
Update k8s libraries to v0.37.1 and controller-runtime to v0.25.2.
Pin kube-openapi to the version that k8s v0.37.1 requires.
Add the new Apply method to the test status writer mock.
2026-10-02 03:58:15 +01:00
lukaszraczyloandGitHub 49f068edcd Update go.mod and go.sum (#46) 2026-01-15 03:30:56 +00:00
lukaszraczyloandGitHub 5b40e991c5 Update go.mod and go.sum (#45) 2026-01-13 03:30:53 +00:00
lukaszraczyloandGitHub 7516fa9d4f Update go.mod and go.sum (#42) 2026-01-10 03:30:46 +00:00
lukaszraczyloandGitHub 19a193ebe0 Update go.mod and go.sum (#41) 2026-01-09 03:31:35 +00:00
lukaszraczyloandGitHub 9c768d1ae1 Update go.mod and go.sum (#40) 2026-01-07 03:31:47 +00:00
lukaszraczyloandGitHub 04816a7524 Update go.mod and go.sum (#39) 2026-01-06 03:30:14 +00:00
lukaszraczyloandGitHub 711ff6f309 Update go.mod and go.sum (#38) 2025-12-27 03:29:34 +00:00
lukaszraczyloandGitHub f015636a9e Update go.mod and go.sum (#37) 2025-12-24 03:31:23 +00:00
lukaszraczyloandGitHub baf0b32047 Update go.mod and go.sum (#36) 2025-12-23 03:31:38 +00:00
lukaszraczyloandGitHub 9a3b7e0cbf Update go.mod and go.sum (#35) 2025-12-22 14:35:26 +00:00
lukaszraczylo 794e2d487a Remove dependency on kube-rbac-proxy. 2025-12-17 23:06:21 +00:00
lukaszraczylo 2b36071647 Multiple fixes (#29)
* Multiple fixes

- add goreleaser to the build / release process
- add kubectl plugin for job graphs visualization
- add installation scripts
- update dependencies

* Update the release & CRD content.

* Next set of improvements.

  Code Quality

  - Label constants: Added LabelWorkflowName, LabelGroupName, LabelJobName, LabelJobID in controllers/definitions.go
  - Removed commented debug code: Cleaned up dead code from multiple files
  - Removed unused dependencyTree field: Cleaned connPackage struct
  - Fixed snake_case variables: Changed to camelCase (runGroup, groupDep, runJob, jobDep, k8sJob)

  Kubernetes Best Practices

  - Finalizers: Implemented handleDeletion() and deleteChildJobs() for proper cleanup
  - Status enum validation: Added +kubebuilder:validation:Enum=pending;running;succeeded;failed;aborted
  - ImagePullPolicy default: Created getImagePullPolicy() helper that defaults to IfNotPresent
  - Resource limits support: Added Resources *corev1.ResourceRequirements to ManagedJobParameters

  Observability

  - Prometheus metrics: Created controllers/metrics.go with counters (jobs created/succeeded/failed), histogram (reconciliation duration), and gauge (active jobs)
  - Structured logging: Added logger field to connPackage, used context-based logging throughout

  Configuration

  - Leader election ID: Made configurable via --leader-election-id flag
  - Development mode: Made configurable via --dev-mode flag and LOG_LEVEL env var

  Performance

  - Dependency lookup optimization: Changed from O(n*m) to O(1) using lookup maps (jobDepMap, groupDepMap)
  - Reconciliation backoff: Added RequeueAfter: 30*time.Second when workflow is running

  Documentation & Testing

  - Godoc documentation: Added comprehensive comments to API types and controller
  - Unit tests: Added helpers_test.go with tests for all helper functions
  - Integration tests: Added managedjob_controller_test.go with Ginkgo/Gomega tests

* Add the helm chart release.

* Add reasonable test coverage.
2025-12-17 22:33:23 +00:00
lukaszraczylo b6ce5b7c98 Fix CVEs. 2025-12-17 22:33:23 +00:00
lukaszraczylo 97f4007a6a Update dependencies. 2025-12-17 22:33:21 +00:00
lukaszraczylo 76f25e0746 Update dependencies. 2025-12-17 22:33:18 +00:00
lukaszraczylo ad45a0ce00 Add build pipeline. 2023-02-19 23:58:00 +00:00
lukaszraczylo 984e1a0f7b Initial commit. 2023-02-19 21:23:50 +00:00