mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Remove unused versions of Golang
Versions 1.11 and older are effectively dead, given the Go project maintains the last two minor point releases which are currently 1.13, and 1.14. Gitaly for now still supports 1.12, but will move on to at least 1.13 soon. Which is why 1.12 is still supported by this script.
This commit is contained in:
parent
58bb4295ac
commit
6f5b66279d
2 changed files with 6 additions and 12 deletions
|
|
@ -8,18 +8,6 @@ source scripts/build-helpers.sh
|
|||
function print_golang_args() {
|
||||
|
||||
case "$1" in
|
||||
1.9)
|
||||
INSTALL_GOLANG_VERSION=1.9.4
|
||||
GOLANG_DOWNLOAD_SHA256=15b0937615809f87321a457bb1265f946f9f6e736c563d6c5e0bd2c22e44f779
|
||||
;;
|
||||
1.10|1.10.0)
|
||||
INSTALL_GOLANG_VERSION=1.10
|
||||
GOLANG_DOWNLOAD_SHA256=b5a64335f1490277b585832d1f6c7f8c6c11206cba5cd3f771dcb87b98ad1a33
|
||||
;;
|
||||
1.11)
|
||||
INSTALL_GOLANG_VERSION=1.11.10
|
||||
GOLANG_DOWNLOAD_SHA256=aefaa228b68641e266d1f23f1d95dba33f17552ba132878b65bb798ffa37e6d0
|
||||
;;
|
||||
1.12)
|
||||
INSTALL_GOLANG_VERSION=1.12.13
|
||||
GOLANG_DOWNLOAD_SHA256=da036454cb3353f9f507f0ceed4048feac611065e4e1818b434365eb32ac9bdc
|
||||
|
|
@ -28,6 +16,10 @@ function print_golang_args() {
|
|||
INSTALL_GOLANG_VERSION=1.13.4
|
||||
GOLANG_DOWNLOAD_SHA256=692d17071736f74be04a72a06dab9cac1cd759377bd85316e52b2227604c004c
|
||||
;;
|
||||
1.14)
|
||||
INSTALL_GOLANG_VERSION=1.14.1
|
||||
GOLANG_DOWNLOAD_SHA256=2f49eb17ce8b48c680cdb166ffd7389702c0dec6effa090c324804a5cac8a7f8
|
||||
;;
|
||||
*) echo "Unknown golang version $1"; exit 1;
|
||||
esac
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue