• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

l50 / goutils / 8855438464
88%

Build:
DEFAULT BRANCH: main
Ran 26 Apr 2024 11:37PM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Apr 2024 11:31PM UTC coverage: 64.771% (-0.5%) from 65.311%
8855438464

push

github

web-flow
Refactor and Enhance Kubernetes Utilities (#643)

**Added:**
- Introduced new `JobsClient` and `DeploymentLogger` structs for refined
  job and deployment logging within the Kubernetes client.
- Created new log streaming capabilities with `StreamLogs` function and
  consolidated logging functionalities into `loggers` sub-package.
- Extended testing suites for new job helpers and logging functions.
- ExecKubernetesResources method - Added a method to execute commands within
  Kubernetes resources directly through the client, avoiding shell-outs.
- Detailed resource description - Added functionality to generate sorted and
  detailed descriptions of Kubernetes resources, enhancing testability and
  predictability.
- Informative print statements to FetchAndLogPods function in
  `k8s/loggers/common.go` for better logging.
- New test file `k8s/loggers/common_test.go` to validate the
  FetchAndLogPods function.
- New test files `k8s/loggers/deploymentLogger_test.go` and
  `k8s/loggers/serviceLogger_test.go` to test deployment and service loggers.
- Add GetJobPodName() and tests
- Add ListKubernetesJobs() and tests
- Created new status monitoring utilities for Kubernetes resources.
- `status.go` and `status_test.go` in `k8s/dynamic` directory.
- `WaitForResourceReady` function to monitor resource readiness with timeout.
- `GetResourceStatus` function to check the operational status of resources.
- Unit tests in `status_test.go` to validate functionality under various conditions.
- Add DescribeKubernetesResource() and test
- Add JobExists() and tests

**Changed:**
- Renamed and relocated `client.go`, `client_test.go`, `jobHelpers_test.go`, and
  `logStreamer_test.go` to align with new directory structure under `client` and
  `jobs`.
- Updated import paths in test files to reflect the new module structure.
- Enhanced `DeleteKubernetesJob` function to accept context and updated
  its error handling and logging details.
- Fixed p... (continued)

143 of 226 new or added lines in 8 files covered. (63.27%)

1708 of 2637 relevant lines covered (64.77%)

11.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8855438464.1 26 Apr 2024 11:37PM UTC 0
64.77
GitHub Action Run
Source Files on build 8855438464
Detailed source file information is not available for this build.
  • Back to Repo
  • 9fa5c0e1 on github
  • Prev Build on main (#8851860403)
  • Next Build on main (#8873588670)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc