Enable MAX_JOB_DURATION_SECONDS in the jobservice container (#21232)

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

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
This commit is contained in:
stonezdj(Daojun Zhang) 2024-11-23 04:10:33 +08:00 committed by GitHub
parent 66c98c81f1
commit 969384cd63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -200,4 +200,5 @@ replace (
github.com/goharbor/harbor => ../
github.com/gomodule/redigo => github.com/gomodule/redigo v1.8.8
google.golang.org/api => google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff
github.com/gocraft/work => github.com/goharbor/work v0.5.1-patch
)

View File

@ -202,6 +202,8 @@ github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRx
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/goharbor/work v0.5.1-patch h1:3XLuZLUYVkj3QWVUWkf3AZeUG0axtoLDtrTJVCpPB8I=
github.com/goharbor/work v0.5.1-patch/go.mod h1:yvnBegJyOy58+wrkC5GWpkgXf4pk4JPcwnbCq/hw30s=
github.com/goji/httpauth v0.0.0-20160601135302-2da839ab0f4d/go.mod h1:nnjvkQ9ptGaCkuDUx6wNykzzlUixGxvkme+H/lnzb+A=
github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg=
github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg=