mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
build: switch to Go 1.25
But Go 1.24 is still supported.
This commit is contained in:
2
.github/actions/setup/action.yml
vendored
2
.github/actions/setup/action.yml
vendored
@@ -17,7 +17,7 @@ inputs:
|
|||||||
go-version:
|
go-version:
|
||||||
description: Go version to install
|
description: Go version to install
|
||||||
required: false
|
required: false
|
||||||
default: "1.24"
|
default: "1.25"
|
||||||
outputs:
|
outputs:
|
||||||
iana-cache-hit:
|
iana-cache-hit:
|
||||||
description: Was cache hit for IANA files?
|
description: Was cache hit for IANA files?
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ stages:
|
|||||||
|
|
||||||
run tests:
|
run tests:
|
||||||
stage: tests
|
stage: tests
|
||||||
image: golang:1.24-alpine
|
image: golang:1.25-alpine
|
||||||
cache:
|
cache:
|
||||||
- key:
|
- key:
|
||||||
files:
|
files:
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ identified with a specific icon:
|
|||||||
- 🌱 *docker*: update Prometheus to 3.5.0
|
- 🌱 *docker*: update Prometheus to 3.5.0
|
||||||
- 🌱 *docker*: update node-exporter to 1.9.1
|
- 🌱 *docker*: update node-exporter to 1.9.1
|
||||||
- 🌱 *docker*: stop spawning demo exporters by default
|
- 🌱 *docker*: stop spawning demo exporters by default
|
||||||
|
- 🌱 *build*: build with Go 1.25
|
||||||
|
|
||||||
## 2.0.0-beta.4 - 2025-08-18
|
## 2.0.0-beta.4 - 2025-08-18
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ COPY console/frontend console/frontend
|
|||||||
COPY Makefile .
|
COPY Makefile .
|
||||||
RUN make console/data/frontend
|
RUN make console/data/frontend
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM golang:1.24-alpine AS build-go
|
FROM --platform=$BUILDPLATFORM golang:1.25-alpine AS build-go
|
||||||
RUN apk add --no-cache make mailcap curl
|
RUN apk add --no-cache make mailcap curl
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
# Cache for modules
|
# Cache for modules
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
};
|
};
|
||||||
l = builtins // pkgs.lib;
|
l = builtins // pkgs.lib;
|
||||||
nodejs = pkgs.nodejs_20;
|
nodejs = pkgs.nodejs_20;
|
||||||
go = pkgs.go_1_24;
|
go = pkgs.go_1_25;
|
||||||
frontend = pkgs.buildNpmPackage.override { inherit nodejs; } {
|
frontend = pkgs.buildNpmPackage.override { inherit nodejs; } {
|
||||||
name = "akvorado-frontend";
|
name = "akvorado-frontend";
|
||||||
src = ./console/frontend;
|
src = ./console/frontend;
|
||||||
|
|||||||
Reference in New Issue
Block a user