1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00

11 Commits

Author SHA1 Message Date
Thuan Vo
20d304f7dc build: bump go version to 1.23 2025-01-24 13:31:46 -08:00
Joseph Callen
c646b3e597 sync cluster-api version 2024-10-03 10:43:40 -04:00
Rafael Fonseca
6899613aed hack: update URL of envtest binaries download
To align with https://github.com/kubernetes-sigs/controller-runtime/pull/2811
2024-06-06 15:48:51 +02:00
Rafael Fonseca
93fa8b1351 hack/images: skip envtest download in CI/release
Because of the way in which we rebase and build our kube fork, the
binary doesn't have minor versions set correctly. For example, version
1.29.5 appears as `v1.29.0-rc.1.3970+87992f48b0ead9-dirty` and that
breaks the version detection in our scripts.

Since we already have pre-built binaries in CI/release, there is no
reason for downloading those binaries. The only case in which it's
needed is for local dev. So we introduce an env var `SKIP_ENVTEST` to
skip the download when building images.
2024-05-25 16:39:01 +02:00
Rafael Fonseca
36f4a6b63a OCPBUGS-34456: bump envtest binaries version
We are using 1.30 in CI/release [1], so let's try to match that for
local dev.

[1] https://github.com/openshift/kubernetes/pull/1942
2024-05-25 12:17:55 +02:00
Rafael Fonseca
02a3183cf4 hack: fix envtest version detection fallback 2024-05-11 16:41:17 +02:00
Rafael Fonseca
dbfec7eda8 CORS-3516: hack: do not execute cross-compiled binaries
We cannot execute cross-compiled binaries, otherwise we get an error saying:
```
hack/build-cluster-api.sh: line 26: /go/src/github.com/openshift/installer/cluster-api/bin/darwin_amd64/kube-apiserver: cannot execute binary file: Exec format error
```
The check should be skipped in those cases.
2024-05-11 16:17:25 +02:00
Rafael Fonseca
c66138e27f CORS-3477: hack: build capi + providers by default.
Always build capi providers in the Installer so we can deprecate/remove
the terraform providers.
2024-05-07 00:28:56 +02:00
Rafael Fonseca
2a373d10cc hack: use >= for capi binaries version comparison
Only download the binaries if the existing binaries' version is lower
than the minimum version (currently 1.28.0). This change will be needed
when we copy etcd/kas binaries from existing container images which
build them from source.
2024-04-24 18:05:11 +02:00
Vince Prignano
17a7a4c2ea CORS-2852: Introduce pkg/clusterapi, system, and local control plane
Signed-off-by: Vince Prignano <vincepri@redhat.com>
2023-11-01 11:43:46 -07:00
Vince Prignano
f25b4cf1dd hack/build: build cluster api when OPENSHIFT_INSTALL_CLUSTER_API is set
Signed-off-by: Vince Prignano <vincepri@redhat.com>
2023-10-23 11:31:46 -07:00