Skip to content

Commit 742be21

Browse files
authored
Merge branch 'main' into kleimkuhler/secretfilter-gitleaks-implementation
2 parents 5625eeb + aa01e45 commit 742be21

35 files changed

Lines changed: 510 additions & 164 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
build_linux:
1616
name: Build on Linux
1717
runs-on: github-hosted-ubuntu-x64-large
18-
container: grafana/alloy-build-image:v0.1.26@sha256:54ef2371fc6b049d932c58d4622c88b573b45c393b7622fe6cca492ac4525dbe
18+
container: grafana/alloy-build-image:v0.1.27@sha256:1c3b0de3d5cdd1d2e8b7fab4da70e1bda6629eede4cfaee846d04c4e80f14708
1919
strategy:
2020
matrix:
2121
os: [linux]
@@ -41,7 +41,7 @@ jobs:
4141
build_linux_boringcrypto:
4242
name: Build on Linux (boringcrypto)
4343
runs-on: github-hosted-ubuntu-x64-large
44-
container: grafana/alloy-build-image:v0.1.26-boringcrypto@sha256:1727887982c65a40e489b41ec1c793e97bdf04f5774dba329cd8ee54bd7cae86
44+
container: grafana/alloy-build-image:v0.1.27-boringcrypto@sha256:5fe91132f0ede383a9603a981835cdd0e206e814899755a6167ae5d5a8d3b040
4545
strategy:
4646
matrix:
4747
os: [linux]
@@ -118,7 +118,7 @@ jobs:
118118
build_freebsd:
119119
name: Build on FreeBSD (AMD64)
120120
runs-on: github-hosted-ubuntu-x64-large
121-
container: grafana/alloy-build-image:v0.1.26@sha256:54ef2371fc6b049d932c58d4622c88b573b45c393b7622fe6cca492ac4525dbe
121+
container: grafana/alloy-build-image:v0.1.27@sha256:1c3b0de3d5cdd1d2e8b7fab4da70e1bda6629eede4cfaee846d04c4e80f14708
122122
steps:
123123
- name: Checkout code
124124
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

.github/workflows/check-linux-build-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
strategy:
1515
matrix:
1616
build:
17-
- runtime: golang:1.25.6-alpine3.23
18-
- runtime: mcr.microsoft.com/oss/go/microsoft/golang:1.25.6-bookworm
17+
- runtime: golang:1.25.7-alpine3.23
18+
- runtime: mcr.microsoft.com/oss/go/microsoft/golang:1.25.7-bookworm
1919
runs-on: ubuntu-latest-8-cores
2020
steps:
2121
- name: Checkout

.github/workflows/create_build_image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
strategy:
1515
matrix:
1616
build:
17-
- runtime: golang:1.25.6-alpine3.23
18-
- runtime: mcr.microsoft.com/oss/go/microsoft/golang:1.25.6-bookworm
17+
- runtime: golang:1.25.7-alpine3.23
18+
- runtime: mcr.microsoft.com/oss/go/microsoft/golang:1.25.7-bookworm
1919
suffix: "-boringcrypto"
2020
runs-on: ubuntu-latest-8-cores
2121
steps:

.github/workflows/publish-alloy-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ permissions:
2626
jobs:
2727
publish_linux_container:
2828
name: Publish Alloy Linux container
29-
container: grafana/alloy-build-image:v0.1.26@sha256:54ef2371fc6b049d932c58d4622c88b573b45c393b7622fe6cca492ac4525dbe
29+
container: grafana/alloy-build-image:v0.1.27@sha256:1c3b0de3d5cdd1d2e8b7fab4da70e1bda6629eede4cfaee846d04c4e80f14708
3030
runs-on:
3131
labels: github-hosted-ubuntu-x64-large
3232
permissions:

.github/workflows/release-publish-alloy-artifacts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
build_alloy:
3535
name: Build Alloy
36-
container: grafana/alloy-build-image:v0.1.26@sha256:54ef2371fc6b049d932c58d4622c88b573b45c393b7622fe6cca492ac4525dbe
36+
container: grafana/alloy-build-image:v0.1.27@sha256:1c3b0de3d5cdd1d2e8b7fab4da70e1bda6629eede4cfaee846d04c4e80f14708
3737
runs-on:
3838
labels: github-hosted-ubuntu-x64-large
3939
needs:
@@ -115,7 +115,7 @@ jobs:
115115

116116
build_alloy_windows_installer:
117117
name: Build Alloy Windows installer with signed executables
118-
container: grafana/alloy-build-image:v0.1.25@sha256:306ef67a1593ebdcdc3de9e7360001183830f45b05f213cd2c6f47114196c9a6
118+
container: grafana/alloy-build-image:v0.1.27@sha256:1c3b0de3d5cdd1d2e8b7fab4da70e1bda6629eede4cfaee846d04c4e80f14708
119119
runs-on:
120120
labels: github-hosted-ubuntu-x64-large
121121
needs:
@@ -193,7 +193,7 @@ jobs:
193193

194194
upload_release_artifacts:
195195
name: Upload release artifacts
196-
container: grafana/alloy-build-image:v0.1.25@sha256:306ef67a1593ebdcdc3de9e7360001183830f45b05f213cd2c6f47114196c9a6
196+
container: grafana/alloy-build-image:v0.1.27@sha256:1c3b0de3d5cdd1d2e8b7fab4da70e1bda6629eede4cfaee846d04c4e80f14708
197197
runs-on:
198198
labels: github-hosted-ubuntu-x64-large
199199
needs:

.github/workflows/test_full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Test (Full)
1616
runs-on: ubuntu-latest-8-cores
1717
container:
18-
image: grafana/alloy-build-image:v0.1.25@sha256:306ef67a1593ebdcdc3de9e7360001183830f45b05f213cd2c6f47114196c9a6
18+
image: grafana/alloy-build-image:v0.1.27@sha256:1c3b0de3d5cdd1d2e8b7fab4da70e1bda6629eede4cfaee846d04c4e80f14708
1919
volumes:
2020
- /var/run/docker.sock
2121
steps:

.github/workflows/test_linux_system_packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Test Linux system packages
1818
runs-on: ubuntu-latest
1919
container:
20-
image: grafana/alloy-build-image:v0.1.26@sha256:54ef2371fc6b049d932c58d4622c88b573b45c393b7622fe6cca492ac4525dbe
20+
image: grafana/alloy-build-image:v0.1.27@sha256:1c3b0de3d5cdd1d2e8b7fab4da70e1bda6629eede4cfaee846d04c4e80f14708
2121
volumes:
2222
- /var/run/docker.sock
2323
steps:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
# default when running `docker buildx build` or when DOCKER_BUILDKIT=1 is set
55
# in environment variables.
66

7-
FROM --platform=$BUILDPLATFORM grafana/alloy-build-image:v0.1.26 AS ui-build
7+
FROM --platform=$BUILDPLATFORM grafana/alloy-build-image:v0.1.27 AS ui-build
88
ARG BUILDPLATFORM
99
COPY ./internal/web/ui /ui
1010
WORKDIR /ui
1111
RUN --mount=type=cache,target=/ui/node_modules,sharing=locked \
1212
npm install \
1313
&& npm run build
1414

15-
FROM --platform=$BUILDPLATFORM grafana/alloy-build-image:v0.1.26 AS build
15+
FROM --platform=$BUILDPLATFORM grafana/alloy-build-image:v0.1.27 AS build
1616

1717
ARG BUILDPLATFORM
1818
ARG TARGETPLATFORM

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
## clean Clean caches and built binaries
5959
## help Displays this message
6060
## info Print Makefile-specific environment variables
61+
## update-go-version-pr-1 Update Go version in build images (use VERSION=1.25.8)
62+
## update-go-version-pr-2 Update Go version in go.mod and Dockerfiles (use VERSION=1.25.8)
6163
##
6264
## Environment variables:
6365
##
@@ -364,6 +366,16 @@ endif
364366
# build-container-cache and clean-build-container-cache are defined in
365367
# Makefile.build-container.
366368

369+
.PHONY: update-go-version-pr-1
370+
update-go-version-pr-1:
371+
@if [ -z "$(VERSION)" ]; then echo "VERSION is required (e.g. make update-build-image VERSION=1.25.8)"; exit 1; fi
372+
cd ./tools && go run ./go-version pr-1 $(VERSION)
373+
374+
.PHONY: update-go-version-pr-2
375+
update-go-version-pr-2:
376+
@if [ -z "$(VERSION)" ]; then echo "VERSION is required (e.g. make update-go-mod VERSION=1.25.8)"; exit 1; fi
377+
cd ./tools && go run ./go-version pr-2 $(VERSION)
378+
367379
.PHONY: clean
368380
clean: clean-dist clean-build-container-cache
369381
rm -rf ./build/*

collector/builder-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ replaces:
122122
- github.com/thanos-io/objstore => github.com/grafana/objstore v0.0.0-20250210100727-533688b5600d
123123
# TODO - remove forks when changes are merged upstream — non-singleton cadvisor
124124
- github.com/google/cadvisor => github.com/grafana/cadvisor grafana-v0.54.1-noglobals
125-
# TODO - track exporter-package-v0.18.1 branch of grafana fork; remove once merged upstream
126-
- github.com/prometheus-community/postgres_exporter => github.com/grafana/postgres_exporter v0.0.0-20250930111128-c8f6a9f4d363
125+
# TODO - this tracks exporter-package-v0.19.0 branch of grafana fork; remove once all patches are merged upstream
126+
- github.com/prometheus-community/postgres_exporter => github.com/grafana/postgres_exporter v0.0.0-20260212092411-d256e52d0faf
127127
# TODO - remove once PR is merged upstream - https://github.com/prometheus/mysqld_exporter/pull/774
128128
- github.com/prometheus/mysqld_exporter => github.com/grafana/mysqld_exporter v0.17.2-0.20250226152553-be612e3fdedd
129129
# TODO: replace node_exporter with custom fork for multi usage. https://github.com/prometheus/node_exporter/pull/2812
@@ -144,4 +144,4 @@ replaces:
144144
- sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.20.4
145145
# Fork to grafana repo to address issue with freebsd build tags. This can be removed once https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/42645 is fixed
146146
- github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filestatsreceiver => github.com/grafana/opentelemetry-collector-contrib/receiver/filestatsreceiver v0.0.0-20260126095124-0af81a9e8966
147-
# END GENERATED REPLACES
147+
# END GENERATED REPLACES

0 commit comments

Comments
 (0)