1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
ehila
0f7780173b upkeep: update hack scripts to use go 1.24
Signed-off-by: ehila <ehila@redhat.com>
2025-07-29 23:10:04 -04:00
Thuan Vo
20d304f7dc build: bump go version to 1.23 2025-01-24 13:31:46 -08:00
Rafael Fonseca
93541aa05b hack: bump golang to 1.22 2024-05-25 15:25:54 +02:00
Rafael Fonseca
b097966aac hack: bump golang to 1.21 2024-01-27 10:10:06 +01:00
Rafael Fonseca
8d6187cd7f Use golang 1.18 2022-08-02 15:25:31 +02:00
staebler
ce3169772c hack: use go 1.17 for verifying codegen
The hack/verify-codegen.sh script was using an image that included
go 1.16. However, the updated k8s.io/json module calls the
`(reflect.StructField) IsExported` function, which is new in go 1.17.
Consequently, the script needs to be updated to use an image that
include go 1.17 rather than 1.16.
2022-01-21 16:55:13 -05:00
staebler
abca904596 rhcos: ami regions from rhcos stream at runtime
Currently, the installer relies on a generated go file for determining
the AWS region in which the RHCOS image is published. The `go generate`
directive was inadvertently removed in https://github.com/openshift/installer/pull/4582.
Rather than resurrecting the directive, this commit removes the generated
code in favor of gathering the regions directly from the rhcos stream
data when needed.

https://issues.redhat.com/browse/CORS-1838
2021-12-09 15:19:54 -05:00
Christy Norman
421e1e20c6 close a verify-codegen ci failure loophole
if the go codegen commands failed, the the hack/verify-codegen.sh script
continued and the CI check passed. see #5406 for an example. the script
was not set to fail on a non-zero return code. this pr adds the bash e
option to the set builtin to catch errors and exit on failure.

Signed-off-by: Christy Norman <christy@linux.vnet.ibm.com>
2021-12-08 17:37:03 -06:00
Evgeny Slutsky
f821cbe00a Bump golang to version 1.16
Signed-off-by: Evgeny Slutsky <eslutsky@redhat.com>
2021-08-31 14:59:23 +03:00
Abhinav Dahiya
46a5f49709 bump the minimum version for building installer to go 1.14
With Go 1.14 the handling of modules has improved in the sense that all the subcommands `go {test, generate}` now use the vendor when available by default. This makes it easier for us to run generate using the vendored tools like controller-tools etc. as it now uses the checked in vendor.
2020-07-06 12:19:20 -07:00
Abhinav Dahiya
6f929ae507 hack: include verify-codegen script 2020-05-08 09:26:11 -07:00