-
Notifications
You must be signed in to change notification settings - Fork 29
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(server): test report storage addition #1271
base: main
Are you sure you want to change the base?
Conversation
* refactor(pipeline): use server API types for pipeline and migrate compiler types * gci * feat: add sender rule for pipelines --------- Co-authored-by: David May <[email protected]>
* chore(lint): address existing linter issues * remove dupl from exclusion list
* enhance(build): add fork field for OIDC * fix test * integration test update
* enhance(yaml): allow for users to parse pipelines using old library * testing file for internal yaml * chore(compiler): convert unmarshaled buildkite to go-yaml * remove tests used in later PRs * lintfix * fix schema * gci
…1230) Co-authored-by: David May <[email protected]>
Co-authored-by: david may <[email protected]>
* init commit * feat(repo): add pending approval timeout * fix test * remove dead code --------- Co-authored-by: David May <[email protected]>
…r have dupl anchors in map (#1232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
golangci
🚫 [golangci] reported by reviewdog 🐶
expressions should not be cuddled with blocks (wsl)
Line 65 in 638c15a
l.Debugf("bucket name: %s", input.BucketName) |
🚫 [golangci] reported by reviewdog 🐶
if statements should only be cuddled with assignments (wsl)
Line 121 in 638c15a
if input.Bucket.BucketName == "" || input.ObjectName == "" { |
🚫 [golangci] reported by reviewdog 🐶
assignments should only be cuddled with other assignments (wsl)
Line 131 in 638c15a
err = storage.FromGinContext(c).Upload(ctx, input) |
🚫 [golangci] reported by reviewdog 🐶
only one cuddle assignment allowed before if statement (wsl)
Line 132 in 638c15a
if err != nil { |
🚫 [golangci] reported by reviewdog 🐶
expressions should not be cuddled with blocks (wsl)
Line 40 in 638c15a
logrus.Debug("creating storage client from setup") |
🚫 [golangci] reported by reviewdog 🐶
declarations should never be cuddled (wsl)
server/storage/minio/create_bucket.go
Line 13 in 638c15a
var opts minio.MakeBucketOptions |
🚫 [golangci] reported by reviewdog 🐶
assignments should only be cuddled with other assignments (wsl)
server/storage/minio/create_bucket.go
Line 16 in 638c15a
opts = minio.MakeBucketOptions{} |
🚫 [golangci] reported by reviewdog 🐶
ranges should only be cuddled with assignments used in the iteration (wsl)
server/storage/minio/list_objects.go
Line 15 in 638c15a
for object := range objectCh { |
🚫 [golangci] reported by reviewdog 🐶
append only allowed to cuddle with appended value (wsl)
server/storage/minio/list_objects.go
Line 19 in 638c15a
objects = append(objects, object.Key) |
🚫 [golangci] reported by reviewdog 🐶
block should not end with a whitespace (or comment) (wsl)
Line 88 in 638c15a
} |
🚫 [golangci] reported by reviewdog 🐶
expressions should not be cuddled with blocks (wsl)
server/storage/minio/upload.go
Line 34 in 638c15a
c.Logger.Infof("uploaded object %v with size %d", info, info.Size) |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1271 +/- ##
==========================================
- Coverage 56.55% 56.27% -0.28%
==========================================
Files 630 650 +20
Lines 35709 36329 +620
==========================================
+ Hits 20194 20445 +251
- Misses 14828 15188 +360
- Partials 687 696 +9
🚀 New features to boost your workflow:
|
… in path expression Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
golangci
🚫 [golangci] reported by reviewdog 🐶
only one cuddle assignment allowed before if statement (wsl)
Line 132 in e6ce703
if err != nil { |
🚫 [golangci] reported by reviewdog 🐶
expressions should not be cuddled with blocks (wsl)
Line 40 in e6ce703
logrus.Debug("creating storage client from setup") |
🚫 [golangci] reported by reviewdog 🐶
declarations should never be cuddled (wsl)
server/storage/minio/create_bucket.go
Line 13 in e6ce703
var opts minio.MakeBucketOptions |
🚫 [golangci] reported by reviewdog 🐶
assignments should only be cuddled with other assignments (wsl)
server/storage/minio/create_bucket.go
Line 16 in e6ce703
opts = minio.MakeBucketOptions{} |
🚫 [golangci] reported by reviewdog 🐶
block should not end with a whitespace (or comment) (wsl)
Line 88 in e6ce703
} |
🚫 [golangci] reported by reviewdog 🐶
expressions should not be cuddled with blocks (wsl)
server/storage/minio/upload.go
Line 34 in e6ce703
c.Logger.Infof("uploaded object %v with size %d", info, info.Size) |
🚫 [golangci] reported by reviewdog 🐶
directive //nolint:revive // ignore returning unexported client
is unused for linter "revive" (nolintlint)
Line 95 in e6ce703
//nolint:revive // ignore returning unexported client |
No description provided.