From 66b36cb34cd1bfb0e4132633315e6d6c23c78671 Mon Sep 17 00:00:00 2001 From: Karsten Jeschkies Date: Wed, 1 Nov 2023 19:13:30 +0100 Subject: [PATCH] Update golangci-lint to 1.55.1. (#11114) **What this PR does / why we need it**: This updates golangci-lint in our build image so that we can use `gochecksumtype`. **Checklist** - [ ] Reviewed the [`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md) guide (**required**) - [ ] Documentation added - [ ] Tests updated - [ ] `CHANGELOG.md` updated - [ ] If the change is worth mentioning in the release notes, add `add-to-release-notes` label - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/setup/upgrade/_index.md` - [ ] For Helm chart changes bump the Helm chart version in `production/helm/loki/Chart.yaml` and update `production/helm/loki/CHANGELOG.md` and `production/helm/loki/README.md`. [Example PR](https://github.com/grafana/loki/commit/d10549e3ece02120974929894ee333d07755d213) - [ ] If the change is deprecating or removing a configuration option, update the `deprecated-config.yaml` and `deleted-config.yaml` files respectively in the `tools/deprecated-config-checker` directory. [Example PR](https://github.com/grafana/loki/pull/10840/commits/0d4416a4b03739583349934b96f272fb4f685d15) --- .drone/drone.jsonnet | 2 +- .drone/drone.yml | 6 +++--- loki-build-image/Dockerfile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone/drone.jsonnet b/.drone/drone.jsonnet index 1a0bc4d2bf53c..f76e756f58626 100644 --- a/.drone/drone.jsonnet +++ b/.drone/drone.jsonnet @@ -498,7 +498,7 @@ local manifest_ecr(apps, archs) = pipeline('manifest-ecr') { [ pipeline('loki-build-image') { - local build_image_tag = '0.31.1', + local build_image_tag = '0.31.2', workspace: { base: '/src', path: 'loki', diff --git a/.drone/drone.yml b/.drone/drone.yml index 125f713856220..5c526995328b0 100644 --- a/.drone/drone.yml +++ b/.drone/drone.yml @@ -10,7 +10,7 @@ steps: dry_run: true repo: grafana/loki-build-image tags: - - 0.31.1 + - 0.31.2 when: event: - pull_request @@ -26,7 +26,7 @@ steps: from_secret: docker_password repo: grafana/loki-build-image tags: - - 0.31.1 + - 0.31.2 username: from_secret: docker_username when: @@ -2017,6 +2017,6 @@ kind: secret name: gpg_private_key --- kind: signature -hmac: 7c5fb8417ab5efd5a15164aa57eef618e3cf79d2578078ce29c888b3eb01e7ff +hmac: 27257b795645c64fe82deb850f6efdf73fec2e0e2217e86ac52ae6bf434a92b5 ... diff --git a/loki-build-image/Dockerfile b/loki-build-image/Dockerfile index 8dd8488e94ceb..5743af072f632 100644 --- a/loki-build-image/Dockerfile +++ b/loki-build-image/Dockerfile @@ -25,7 +25,7 @@ RUN apk add --no-cache curl && \ FROM alpine:3.18.4 as golangci RUN apk add --no-cache curl && \ cd / && \ - curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.51.2 + curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.55.1 FROM alpine:3.18.4 as buf