Skip to content

Commit d713c6d

Browse files
MichelHollandschaudum
authored andcommitted
Use golangci-lint v1.51.2 in build image (#8587)
**What this PR does / why we need it**: Golangci-lint [1.50.0 OOMs](golangci/golangci-lint#3538 (comment)) when used with go 1.20.1. This also updates the build image. **Checklist** - [ ] Reviewed the [`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md) guide (**required**) - [ ] Documentation added - [ ] Tests updated - [ ] `CHANGELOG.md` updated - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/upgrading/_index.md` --------- Signed-off-by: Michel Hollands <[email protected]> Signed-off-by: Christian Haudum <[email protected]> Co-authored-by: Christian Haudum <[email protected]> (cherry picked from commit 6dfae7c)
1 parent afedb0a commit d713c6d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.drone/drone.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ local manifest_ecr(apps, archs) = pipeline('manifest-ecr') {
453453

454454
[
455455
pipeline('loki-build-image') {
456-
local build_image_tag = '0.28.0',
456+
local build_image_tag = '0.28.1',
457457
workspace: {
458458
base: '/src',
459459
path: 'loki',

.drone/drone.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ steps:
1010
dry_run: true
1111
repo: grafana/loki-build-image
1212
tags:
13-
- 0.28.0
13+
- 0.28.1
1414
when:
1515
event:
1616
- pull_request
@@ -26,7 +26,7 @@ steps:
2626
from_secret: docker_password
2727
repo: grafana/loki-build-image
2828
tags:
29-
- 0.28.0
29+
- 0.28.1
3030
username:
3131
from_secret: docker_username
3232
when:
@@ -1648,6 +1648,6 @@ kind: secret
16481648
name: gpg_private_key
16491649
---
16501650
kind: signature
1651-
hmac: cce255c21677255be67371598ea23efb2459101124708f825d8228fd23fdcff4
1651+
hmac: e5f127d71d3dcb4ae93d348ff2641c9639bf0372640fd398328cff25eda62a9d
16521652

16531653
...

loki-build-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN apk add --no-cache curl && \
2424
FROM alpine:3.16.4 as golangci
2525
RUN apk add --no-cache curl && \
2626
cd / && \
27-
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.0
27+
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.51.2
2828

2929
FROM alpine:3.16.4 as buf
3030

0 commit comments

Comments
 (0)