-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Implement orb worker backend #49
Conversation
Go test coverage
Total coverage: 2.1% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one minor log suggestion
Co-authored-by: Michal Fiedorowicz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great stuff!
🎉 This PR is included in version 1.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This pull request introduces a new backend called
worker
to the orb-agent project. The changes include updates to documentation, configuration files, and the implementation of the worker backend itself. Below are the most important changes:Documentation Updates:
README.md
: Addedworker
backend to the list of supported backends and updated the configuration example to includeworker
. [1] [2]docs/backends/worker.md
: Created a new documentation file for theworker
backend, detailing its configuration and policies.Code Implementation:
agent/backend/worker/worker.go
: Implemented theworkerBackend
struct and its methods, includingStart
,Stop
,Configure
,ApplyPolicy
, andRemovePolicy
.agent/backend/worker/utils.go
: Added utility functions for theworker
backend, such asgetProcRunningStatus
andrequest
.agent/backend/worker/vars.go
: Registered backend-specific variables for theworker
backend.Configuration and Integration:
cmd/main.go
: Registered theworker
backend and its specific variables in the main application.agent/docker/Dockerfile
: Updated the Dockerfile to install thenetboxlabs-orb-worker
package.