goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
24.22k stars 4.77k forks source link

Enable MAX_JOB_DURATION_SECONDS in the jobservice container #21232

Open stonezdj opened 11 hours ago

stonezdj commented 11 hours ago

enable job service to set MAX_JOB_DURATION_SECONDS in the jobservice container to customize max job duration fork gocraft/work to goharbor/work

Thank you for contributing to Harbor!

Comprehensive Summary of your change

Issue being fixed

Fixes #(issue)

Please indicate you've done the following:

codecov[bot] commented 11 hours ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 46.28%. Comparing base (c8c11b4) to head (4faffd4). Report is 332 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/goharbor/harbor/pull/21232/graphs/tree.svg?width=650&height=150&src=pr&token=6SOPrJGDVW&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goharbor)](https://app.codecov.io/gh/goharbor/harbor/pull/21232?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goharbor) ```diff @@ Coverage Diff @@ ## main #21232 +/- ## ========================================== + Coverage 45.36% 46.28% +0.91% ========================================== Files 244 247 +3 Lines 13333 13863 +530 Branches 2719 2867 +148 ========================================== + Hits 6049 6416 +367 - Misses 6983 7111 +128 - Partials 301 336 +35 ``` | [Flag](https://app.codecov.io/gh/goharbor/harbor/pull/21232/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goharbor) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/goharbor/harbor/pull/21232/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goharbor) | `46.28% <ø> (+0.91%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goharbor#carryforward-flags-in-the-pull-request-comment) to find out more. [see 491 files with indirect coverage changes](https://app.codecov.io/gh/goharbor/harbor/pull/21232/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goharbor)

🚨 Try these New Features: