feat: adding jobservice dashboard feature to cli#776
feat: adding jobservice dashboard feature to cli#776NishchayRajput wants to merge 2 commits intogoharbor:mainfrom
Conversation
Signed-off-by: Nishchay Rajput <nishchayr@iitbhilai.ac.in>
Signed-off-by: Nishchay Rajput <nishchayr@iitbhilai.ac.in>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #776 +/- ##
=========================================
- Coverage 10.99% 7.44% -3.55%
=========================================
Files 173 283 +110
Lines 8671 13827 +5156
=========================================
+ Hits 953 1030 +77
- Misses 7612 12684 +5072
- Partials 106 113 +7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@NishchayRajput Thank you very much for this contribution! Since this PR contains nearly 3000 changed lines would it be possible to split it into several smaller PRs? It would be easier to review if it is split into smaller parts. |
qcserestipy
left a comment
There was a problem hiding this comment.
Please split to smaller PRs subsequently introducing the sub commands.
|
Please also make sure that linting passes in the split PRs |
|
However it might be less than 3000 as it's because of doc file generated. But sure will raise PR for sub-commands! @qcserestipy |
|
#793 #795 #796 are split PRs @qcserestipy |
Description
Adds a new
harbor jobservicecommand group to bring key Harbor Job Service Dashboard operations into CLI workflows for system administrators.This change is needed to support terminal-first operations for queues, workers, schedules, and job logs without relying on the UI, and to make these workflows automation-friendly.
Proposal: https://www.notion.so/Jobservice-Dashboard-Support-to-Harbor-CLI-335da66bff138008a4f5c425be2f7384?source=copy_link
Type of Change
Please select the relevant type.
Changes
harbor jobserviceroot command with subcommands forpools,workers,queues,schedules, andjobs.harbor jobservice workers listharbor jobservice workers free --job-id <id>harbor jobservice workers free-allharbor jobservice queues listharbor jobservice queues stop|pause|resume--type(single, repeated, comma-separated,all) and interactive multi-select mode with state-aware filtering.harbor jobservice schedules list --page --page-sizeharbor jobservice schedules statusharbor jobservice schedules pause-all|resume-allharbor jobservice jobs log --job-id <id>