Skip to content

Commit

Permalink
chore: Update Golang in CI and build env to 1.23.6 (backport k239) (#…
Browse files Browse the repository at this point in the history
…16101)

Co-authored-by: Christian Haudum <[email protected]>
  • Loading branch information
loki-gh-app[bot] and chaudum authored Feb 5, 2025
1 parent 5dd2277 commit 6098466
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"check":
"uses": "grafana/loki-release/.github/workflows/check.yml@main"
"with":
"build_image": "grafana/loki-build-image:0.34.4"
"build_image": "grafana/loki-build-image:0.34.5"
"golang_ci_lint_version": "v1.60.3"
"release_lib_ref": "main"
"skip_validation": false
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"check":
"uses": "grafana/loki-release/.github/workflows/check.yml@main"
"with":
"build_image": "grafana/loki-build-image:0.34.4"
"build_image": "grafana/loki-build-image:0.34.5"
"golang_ci_lint_version": "v1.60.3"
"release_lib_ref": "main"
"skip_validation": false
"use_github_app_token": true
"loki-canary-boringcrypto-image":
"env":
"BUILD_TIMEOUT": 60
"GO_VERSION": "1.23.5"
"GO_VERSION": "1.23.6"
"IMAGE_PREFIX": "grafana"
"RELEASE_LIB_REF": "main"
"RELEASE_REPO": "grafana/loki"
Expand Down Expand Up @@ -118,7 +118,7 @@
"loki-canary-image":
"env":
"BUILD_TIMEOUT": 60
"GO_VERSION": "1.23.5"
"GO_VERSION": "1.23.6"
"IMAGE_PREFIX": "grafana"
"RELEASE_LIB_REF": "main"
"RELEASE_REPO": "grafana/loki"
Expand Down Expand Up @@ -226,7 +226,7 @@
"loki-image":
"env":
"BUILD_TIMEOUT": 60
"GO_VERSION": "1.23.5"
"GO_VERSION": "1.23.6"
"IMAGE_PREFIX": "grafana"
"RELEASE_LIB_REF": "main"
"RELEASE_REPO": "grafana/loki"
Expand Down Expand Up @@ -334,7 +334,7 @@
"promtail-image":
"env":
"BUILD_TIMEOUT": 60
"GO_VERSION": "1.23.5"
"GO_VERSION": "1.23.6"
"IMAGE_PREFIX": "grafana"
"RELEASE_LIB_REF": "main"
"RELEASE_REPO": "grafana/loki"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/minor-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
check:
uses: "grafana/loki-release/.github/workflows/check.yml@main"
with:
build_image: "grafana/loki-build-image:0.34.4"
build_image: "grafana/loki-build-image:0.34.5"
golang_ci_lint_version: "v1.60.3"
release_lib_ref: "main"
skip_validation: false
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
--env SKIP_ARM \
--volume .:/src/loki \
--workdir /src/loki \
--entrypoint /bin/sh "grafana/loki-build-image:0.34.4"
--entrypoint /bin/sh "grafana/loki-build-image:0.34.5"
git config --global --add safe.directory /src/loki
echo "${NFPM_SIGNING_KEY}" > $NFPM_SIGNING_KEY_FILE
make dist packages
Expand Down Expand Up @@ -666,7 +666,7 @@ jobs:
build-args: |
IMAGE_TAG=${{ needs.version.outputs.version }}
GOARCH=${{ steps.platform.outputs.platform_short }}
BUILD_IMAGE=grafana/loki-build-image:0.34.4
BUILD_IMAGE=grafana/loki-build-image:0.34.5
context: "release"
file: "release/clients/cmd/docker-driver/Dockerfile"
outputs: "type=local,dest=release/plugins/loki-docker-driver-${{ needs.version.outputs.version}}-${{ steps.platform.outputs.platform }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/patch-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
check:
uses: "grafana/loki-release/.github/workflows/check.yml@main"
with:
build_image: "grafana/loki-build-image:0.34.4"
build_image: "grafana/loki-build-image:0.34.5"
golang_ci_lint_version: "v1.60.3"
release_lib_ref: "main"
skip_validation: false
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
--env SKIP_ARM \
--volume .:/src/loki \
--workdir /src/loki \
--entrypoint /bin/sh "grafana/loki-build-image:0.34.4"
--entrypoint /bin/sh "grafana/loki-build-image:0.34.5"
git config --global --add safe.directory /src/loki
echo "${NFPM_SIGNING_KEY}" > $NFPM_SIGNING_KEY_FILE
make dist packages
Expand Down Expand Up @@ -666,7 +666,7 @@ jobs:
build-args: |
IMAGE_TAG=${{ needs.version.outputs.version }}
GOARCH=${{ steps.platform.outputs.platform_short }}
BUILD_IMAGE=grafana/loki-build-image:0.34.4
BUILD_IMAGE=grafana/loki-build-image:0.34.5
context: "release"
file: "release/clients/cmd/docker-driver/Dockerfile"
outputs: "type=local,dest=release/plugins/loki-docker-driver-${{ needs.version.outputs.version}}-${{ steps.platform.outputs.platform }}"
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ BUILD_IN_CONTAINER ?= true
CI ?= false

# Ensure you run `make release-workflows` after changing this
GO_VERSION := 1.23.5
BUILD_IMAGE_TAG := 0.34.4
GO_VERSION := 1.23.6
# Ensure you run `make IMAGE_TAG=<updated-tag> build-image-push` after changing this
BUILD_IMAGE_TAG := 0.34.5

IMAGE_TAG ?= $(shell ./tools/image-tag)
GIT_REVISION := $(shell git rev-parse --short HEAD)
Expand Down
4 changes: 4 additions & 0 deletions loki-build-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Versions

### 0.34.5

- Update to Go 1.23.6

### 0.34.4

- Update to Go 1.23.5
Expand Down
2 changes: 1 addition & 1 deletion tools/lambda-promtail/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22-alpine AS build-image
FROM golang:1.23-alpine AS build-image

COPY tools/lambda-promtail /src/lambda-promtail
WORKDIR /src/lambda-promtail
Expand Down

0 comments on commit 6098466

Please sign in to comment.