fix(ci): add temp container for git commit SHA in build#728
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #728 +/- ##
=========================================
- Coverage 10.99% 7.44% -3.55%
=========================================
Files 173 261 +88
Lines 8671 12945 +4274
=========================================
+ Hits 953 964 +11
- Misses 7612 11872 +4260
- Partials 106 109 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@bupd The lint is failing because of the new release of the golangci-lint |
|
Fix the lint then. |
|
Looks like there is two gosec issues. Please find the root cause and fix it in a separate PR. Also we need to find why golangci-lint being latest fails the pipeline - we also need to find the cause for this thing |
|
golangci-lint uses securego/gosec as one of its bundled linters. When gosec releases a new version with new rules, golangci-lint bumps its gosec dependency, which causes new lint failures on previously clean code. Wouldn't it be better to pin the golangci-lint version? |
|
@Sypher845 |
|
i agree we should fix the issues. I was suggesting instead of using the |
bupd
left a comment
There was a problem hiding this comment.
@Sypher845 - i believe we should also add this to the builddev too. Please update Thanks.
@Sypher845 - we had like this earlier - and no one is willing to update the golangci-lint to the newest version thats why we now have it as latest - I think if you find any lint issues that is unrelated to the Change Request you are working on. Please feel free to create a new issue / PR fixing that specific lint issue. |
|
Appreciate the PR #730 |
@bupd |
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
51335ed to
5510347
Compare
Fixes #726
Buildfunction uses the Alpine version of the Go container, which does not have git installed.