Skip to content

Commit

Permalink
update to go 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandro-sorint committed Apr 14, 2022
1 parent 7b39dc8 commit e88d70b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .agola/config.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ local task_build_push_images(name, target, push) =
[
task_build_go(version, arch),
]
for version in ['1.15', '1.16']
for version in ['1.16', '1.17']
for arch in ['amd64' /*, 'arm64' */]
]) + [
{
Expand All @@ -118,7 +118,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 1 -test.v' },
],
depends: [
'build go 1.16 amd64',
'build go 1.17 amd64',
],
},
{
Expand All @@ -140,7 +140,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 1 -test.v' },
],
depends: [
'build go 1.16 amd64',
'build go 1.17 amd64',
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FROM $AGOLAWEB_IMAGE as agola-web
#######

# base build image
FROM golang:1.16-buster AS build_base
FROM golang:1.17-buster AS build_base

WORKDIR /agola

Expand Down

0 comments on commit e88d70b

Please sign in to comment.