Merge pull request #544 from sgotti/update_go_1.24

*: update to go 1.24
This commit is contained in:
Simone Gotti 2025-05-13 10:56:25 +02:00 committed by GitHub
commit 5b5e8d77a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -128,7 +128,7 @@ local task_build_push_images(name, target, push) =
[
task_build_go(version, arch),
]
for version in ['1.22', '1.23']
for version in ['1.23', '1.24']
for arch in ['amd64' /*, 'arm64' */]
]) + [
{
@ -139,7 +139,7 @@ local task_build_push_images(name, target, push) =
{ type: 'run', command: 'SKIP_K8S_TESTS=1 AGOLA_TOOLBOX_PATH="./bin" ./bin/docker-tests -test.parallel 5 -test.v' },
],
depends: [
'build go 1.23 amd64',
'build go 1.24 amd64',
],
},
{
@ -162,7 +162,7 @@ local task_build_push_images(name, target, push) =
{ type: 'run', name: 'integration tests', command: 'AGOLA_BIN_DIR="./bin" GITEA_PATH=${PWD}/bin/gitea DOCKER_BRIDGE_ADDRESS="172.18.0.1" ./bin/integration-tests -test.parallel 3 -test.v' },
],
depends: [
'build go 1.23 amd64',
'build go 1.24 amd64',
],
},
{

View File

@ -7,7 +7,7 @@ FROM $AGOLAWEB_IMAGE as agola-web
#######
# base build image
FROM golang:1.23-bookworm AS build_base
FROM golang:1.24-bookworm AS build_base
WORKDIR /agola

2
go.mod
View File

@ -1,6 +1,6 @@
module agola.io/agola
go 1.22.0
go 1.23.0
require (
ariga.io/atlas v0.12.0