Skip to content

Commit 6dfae7c

Browse files
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]>
1 parent b78ed9d commit 6dfae7c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.drone/drone.jsonnet

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ local manifest_ecr(apps, archs) = pipeline('manifest-ecr') {
446446

447447
[
448448
pipeline('loki-build-image') {
449-
local build_image_tag = '0.28.0',
449+
local build_image_tag = '0.28.1',
450450
workspace: {
451451
base: '/src',
452452
path: 'loki',

.drone/drone.yml

+3-3
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:
@@ -1675,6 +1675,6 @@ kind: secret
16751675
name: gpg_private_key
16761676
---
16771677
kind: signature
1678-
hmac: de9f4851c4bfd1324e22a0cb983432801b59240128c1b162ea67c5cd814606c9
1678+
hmac: e5f127d71d3dcb4ae93d348ff2641c9639bf0372640fd398328cff25eda62a9d
16791679

16801680
...

loki-build-image/Dockerfile

+1-1
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)