Commit 6cf8da48 authored by Jérome Perrin's avatar Jérome Perrin

component/golang: add 1.19.1 remove 1.16.13

parent 50bed6f5
...@@ -31,13 +31,15 @@ environment = ...@@ -31,13 +31,15 @@ environment =
GOROOT_FINAL=${:location} GOROOT_FINAL=${:location}
${:environment-extra} ${:environment-extra}
# TestChown and TestSCMCredentials currently fail in a user-namespace # TestChown currently fail in a user-namespace, this is the case for
# all go version >= 1.12
# https://github.com/golang/go/issues/42525 # https://github.com/golang/go/issues/42525
# the patches apply to go >= 1.12
patch-options = -p1 patch-options = -p1
patches = patches =
${:_profile_base_location_}/skip-chown-tests.patch#d4e3c8ef83788fb2a5d80dd75034786f ${:_profile_base_location_}/skip-chown-tests.patch#d4e3c8ef83788fb2a5d80dd75034786f
${:_profile_base_location_}/fix-TestSCMCredentials.patch#1d8dbc97cd579e03fafd8627d48f1c59 # For go <= 1.19 ( until https://github.com/golang/go/commit/f839aaa2 )
# we also have a patch for TestSCMCredentials failing in user-namespace
patch-TestSCMCredentials = ${:_profile_base_location_}/fix-TestSCMCredentials.patch#1d8dbc97cd579e03fafd8627d48f1c59
[golang14] [golang14]
...@@ -72,14 +74,8 @@ md5sum = 6b607fc795391dc609ffd79ebf41f080 ...@@ -72,14 +74,8 @@ md5sum = 6b607fc795391dc609ffd79ebf41f080
environment-extra = environment-extra =
GOROOT_BOOTSTRAP=${golang14:location} GOROOT_BOOTSTRAP=${golang14:location}
[golang1.16] patches += ${:patch-TestSCMCredentials}
<= golang-common
url = https://golang.org/dl/go1.16.13.src.tar.gz
md5sum = 1c076f952d9af57590a36fa7d36f695a
# go1.16 needs go1.4 to bootstrap
environment-extra =
GOROOT_BOOTSTRAP=${golang14:location}
[golang1.17] [golang1.17]
<= golang-common <= golang-common
...@@ -90,6 +86,9 @@ md5sum = 4476707f05cf6915ec1173038dc357a9 ...@@ -90,6 +86,9 @@ md5sum = 4476707f05cf6915ec1173038dc357a9
environment-extra = environment-extra =
GOROOT_BOOTSTRAP=${golang14:location} GOROOT_BOOTSTRAP=${golang14:location}
patches += ${:patch-TestSCMCredentials}
[golang1.18] [golang1.18]
<= golang-common <= golang-common
url = https://golang.org/dl/go1.18.9.src.tar.gz url = https://golang.org/dl/go1.18.9.src.tar.gz
...@@ -102,6 +101,18 @@ md5sum = e2caa7c4de49aa77a14c694bfc9a5cd1 ...@@ -102,6 +101,18 @@ md5sum = e2caa7c4de49aa77a14c694bfc9a5cd1
environment-extra = environment-extra =
GOROOT_BOOTSTRAP=${golang14:location} GOROOT_BOOTSTRAP=${golang14:location}
patches += ${:patch-TestSCMCredentials}
[golang1.19]
<= golang-common
url = https://golang.org/dl/go1.19.1.src.tar.gz
md5sum = 81aac4b1835d4aec78273e8e635e1c28
# go1.19 needs go1.4 or go1.17 to bootstrap.
environment-extra =
GOROOT_BOOTSTRAP=${golang14:location}
# ---- infrastructure to build Go workspaces / projects ---- # ---- infrastructure to build Go workspaces / projects ----
# gowork is the top-level section that defines Go workspace. # gowork is the top-level section that defines Go workspace.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment