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

46 Commits

Author SHA1 Message Date
AOS Automation Release Team
4ad78897ec Updating ose-installer-artifacts-container image to be consistent with ART for 4.22
Reconciling with 087d1930e3/images/ose-installer-artifacts.yml
2025-12-20 08:56:14 +00:00
AOS Automation Release Team
c915476f11 Updating ose-installer-artifacts-container image to be consistent with ART for 4.21
Reconciling with 4fbe3fab45/images/ose-installer-artifacts.yml
2025-09-30 20:43:46 +00:00
AOS Automation Release Team
9af05e390a Updating ose-installer-artifacts-container image to be consistent with ART for 4.20
Reconciling with 8f77fc475c/images/ose-installer-artifacts.yml
2025-06-20 09:02:50 +00:00
Patrick Dillon
fad636f564 images: decouple terraform image
Removes all dependencies for the Terraform providers image from the
Dockerfiles. We want to do this separately from removing all the
build artifacts, so that the image can stop being built by ART
without breaking anything, then remove the build artifacts.
2025-04-17 14:17:30 -04:00
AOS Automation Release Team
a213aaf032 Updating ose-installer-artifacts-container image to be consistent with ART for 4.19
Reconciling with a39508c864/images/ose-installer-artifacts.yml
2024-12-05 22:38:18 +00:00
AOS Automation Release Team
8e58010dde Updating ose-installer-artifacts-container image to be consistent with ART for 4.18
Reconciling with 827ab4ccce/images/ose-installer-artifacts.yml
2024-09-05 18:36:46 +00:00
openshift-merge-bot[bot]
c35559a137 Merge pull request #8471 from r4f4/capi-bump-envtest-tools
OCPBUGS-34456: bump envtest binaries version
2024-06-08 13:18:13 +00: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
2ea580e030 images: bump builder to golang-1.22-openshift-1.17 2024-05-25 15:26:50 +02:00
AOS Automation Release Team
94bcabc8c1 Updating ose-installer-artifacts-container image to be consistent with ART for 4.17
Reconciling with 0a1310d4df/images/ose-installer-artifacts.yml
2024-05-23 13:43:26 +00:00
Rafael Fonseca
d8a5cddb4e CORS-3250: images: use pre-built KAS/etcd binaries
We copy pre-built binaries from the `-artifacts` images when we want
statically linked binaries and from the regular etcd/hyperkube images
for dynamically linked binaries.

This is necessary to have capi and capi providers included in the
installer images both for CI and for the release payload.
2024-05-03 11:44:05 +02:00
Rafael Fonseca
f3d3cd11de CORS-2797: images: move container images to RHEL 9
Use RHEL 9 as a base for all our container images.
2024-04-29 20:49:35 +02:00
Rafael Fonseca
5f871210f5 CORS-3418: images: move installer images to static builds
The baremetal-installer/libvirt-installer images continue being dynamically
built for FIPS support. For that reason it cannot reuse the existing
`terraform-providers` image. All other images will be statically built.
2024-04-03 12:19:32 +02:00
Rafael Fonseca
52529326bf images: bump golang to 1.21 2024-01-27 10:10:06 +01:00
AOS Automation Release Team
d61a570803 Updating ose-installer-artifacts-container image to be consistent with ART
Reconciling with 87c1a03157/images/ose-installer-artifacts.yml
2023-12-17 17:02:30 +00:00
Rafael Fonseca
86ad16877f images: use pre-built terraform providers
Since https://github.com/openshift/release/pull/39563 there should be
now an `installer-terraform-providers` image in the CI namespace with
pre-built terraform provider binaries. If no changes are detected from
the last time the providers were built, we skip building the providers
which can save us around 1h in the CI tests.
2023-12-06 09:36:02 +01:00
Rafael Fonseca
f5c4035dd7 images: installer-artifacts: add generated manifests yaml
This is the last missing piece to decouple installer-artifacts from
installer
2023-11-30 17:20:51 +01:00
Patrick Dillon
bb30e339f6 CORS-2785: images: decouple installer and installer-artifacts
The installer-artifacts image depends on the installer image,
which means they cannot be built in parallel. The effect of this
dependency is that the installer-artifacts image contains the linux
amd64 builds in addition to the mac/linux amd64/arm64 builds present
in the installer-artifacts image.

Breaking the dependency results in a more efficient build process
because they can be built in parallel as well as no duplication of
the linux amd64 binary in the release image (before this change the
binary would be present in both images within the release image).

The risk, though, is that clients are inconsistently grabbing the linux
amd64 binary from either image, rather than only the installer image,
in which case we would break any client trying to get that binary from
the installer-artifacts image.
2023-11-29 11:17:00 +01:00
AOS Automation Release Team
2058db02c9 Updating ose-installer-artifacts images to be consistent with ART
Reconciling with da6a5af1fa/images/ose-installer-artifacts.yml
2023-09-18 02:28:04 +00:00
AOS Automation Release Team
41b9d413db Updating ose-installer-artifacts images to be consistent with ART
Reconciling with 7575d251c2/images/ose-installer-artifacts.yml
2023-04-23 09:23:00 +00:00
AOS Automation Release Team
709c1af308 Updating ose-installer-artifacts images to be consistent with ART
Reconciling with 7ce51feaf6/images/ose-installer-artifacts.yml
2023-03-13 15:59:20 +00:00
AOS Automation Release Team
98dd1d71bd Updating ose-installer-artifacts images to be consistent with ART
Reconciling with ce24146294/images/ose-installer-artifacts.yml
2022-12-12 22:06:26 +00:00
Rafael Fonseca
c1df1ebdaf images: updating images to be consistent with ART 2022-11-30 15:10:28 +01:00
Yaakov Selkowitz
7fba314a84 Add linux/arm64 binary to installer-artifacts 2022-10-24 11:24:28 -04:00
AOS Automation Release Team
929d08ac2e Updating ose-installer-artifacts images to be consistent with ART
Reconciling with 2e5eba0108/images/ose-installer-artifacts.yml
2022-07-07 14:52:02 +00:00
Yaakov Selkowitz
540ec958a1 Always run go generate natively
go generate always needs to be run natively, even when cross-compiling.
Handling that in build.sh simplifies cross-compiling both manually and
in installer-artifacts.
2022-05-12 18:16:06 -04:00
John Fortin
5352943afa [OKD] Add 'ARG TAGS=""' line for each build step
For OKD builds TAGS are not propagated to all three builds.  Adding
'ARG TAGS=""' to each build stanza fixes this
2022-04-11 12:32:45 -04:00
AOS Automation Release Team
19295890a1 Updating ose-installer-artifacts images to be consistent with ART
Reconciling with 0059e470a6/images/ose-installer-artifacts.yml
2022-01-30 22:26:04 +00:00
Yaakov Selkowitz
622a57841d installer-artifacts: add darwin/arm64 binary 2021-11-24 16:05:58 -05:00
Yaakov Selkowitz
b214886cb7 Update CI to golang-1.17 2021-11-18 01:37:29 -05:00
AOS Automation Release Team
113f466af2 Updating ose-installer-artifacts images to be consistent with ART
Reconciling with 3dea842648/images/ose-installer-artifacts.yml
2021-09-16 13:26:20 +00:00
Vadim Rutkovsky
09664bf44f images: pass TAGS as build arg for the images
This would enable OKD CI to pass "okd" tag if necessary and reuse OCP images
2021-07-03 09:45:29 +02:00
AOS Automation Release Team
56f12e4196 Updating ose-installer-artifacts images to be consistent with ART
Reconciling with ba3364dfe8/images/ose-installer-artifacts.yml
2021-06-21 07:37:21 +00:00
Yaakov Selkowitz
729882a8a2 Set default cluster architecture based on build host
All installer binaries extracted from a payload, regardless of their
runtime OS or architecture, are built on the payload architecture.
Therefore, GOHOSTARCH can be used to assume the cluster architecture for
which its payload was built.  This is set through the Dockerfiles so that
manual builds of installer will continue to default to amd64.
2021-06-20 00:58:44 -04:00
Yaakov Selkowitz
9631e4a6f2 Build linux-amd64 binary in installer-artifacts
This will be used by oc in the next release to allow extracting an
x86_64 installer from another architecture's payload.

Due to the size of the installer binary, building each in a separate
stage minimizes resource requirements when using imagebuilder.  This
does require a matching change to ocp-build-data to add a second builder
stage.
2021-05-13 19:52:12 -04:00
AOS Automation Release Team
7a49052d94 Updating ose-installer-artifacts builder & base images to be consistent with ART
Reconciling with 5a1293dd0f/images/ose-installer-artifacts.yml
2021-02-06 05:57:53 +00:00
AOS Automation Release Team
a40c3aea1d Updating ose-installer-artifacts builder & base images to be consistent with ART
Reconciling with f01352e006/images/ose-installer-artifacts.yml
2021-01-14 03:11:19 +00:00
Justin Pierce
d9225ecea9 Updating ose-installer-artifacts builder & base images to be consistent with ART
Reconciling with ac81dd4ff0/images/ose-installer-artifacts.yml
2020-10-07 12:03:53 -04:00
openshift-bot
7824b0b139 Updating images/installer-artifacts/Dockerfile.rhel baseimages to mach ocp-build-data config
This PR is autogenerated by the [ocp-build-data-enforcer][1].
It updates the base images in the Dockerfile used for promotion in order to ensure it
matches the configuration in the [ocp-build-data repository][2] used
for producing release artifacts.

Instead of merging this PR you can also create an alternate PR that includes the changes found here.

If you believe the content of this PR is incorrect, please contact the dptp team in
#aos-art.

[1]: https://github.com/openshift/ci-tools/tree/master/cmd/ocp-build-data-enforcer
[2]: https://github.com/openshift/ocp-build-data/tree/openshift-4.6/images
2020-09-16 20:09:42 -04:00
openshift-bot
79a30c0bfc Updating images/installer-artifacts/Dockerfile.rhel baseimages to mach ocp-build-data config
This PR is autogenerated by the [ocp-build-data-enforcer][1].
It updates the baseimages in the Dockerfile used for promotion in order to ensure it
matches the configuration in the [ocp-build-data repository][2] used
for producing release artifacts.

If you believe the content of this PR is incorrect, please contact the dptp team in
#forum-testplatform.

[1]: https://github.com/openshift/ci-tools/tree/master/cmd/ocp-build-data-enforcer
[2]: https://github.com/openshift/ocp-build-data/tree/openshift-4.6-rhel-8/images
2020-08-24 18:50:51 +00: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
Christian Glombek
8218eed083 Prepare migration to Go Modules and 1.13 2020-02-14 00:07:48 +01:00
Mike Fedosin
1282443188 Bump golang version to 1.12
This PR updated the current building system and ci images from
golang 1.10 to 1.12.
2019-10-22 22:48:24 +02:00
Clayton Coleman
77ef472453 images: Clean up image FROM to be consistent
The images in use should be consistent across all components, and
pointing to the right versions. Doing this will allow the installer
CI repo to benefit from binary build reuse in ci-operator.
2019-04-26 23:47:25 -04:00
Clayton Coleman
b6eb37cc16 image: Asset generation is required
Assets are required to build, but hack/build-go.sh cannot handle
cross architecture asset generation. Explicitly generate before
invoking the script.

Failed when CI tried to build:

+ go build ... ./cmd/openshift-install
data/unpack.go:12:15: undefined: Assets
2019-04-01 16:47:18 -04:00
Clayton Coleman
3a626cd7cf image: Add a production "installer-artifacts" image for Mac binary
To ensure the payload is reproducible, we will include images for
both cli and installer commands for non linux platforms that allow
users to get the correct tools to install the release image. Since
the installer binary is not small and we don't want to take the cost
to pull it on each node when in use from hive, create a new image
installer-artifacts that layers on top of installer (inheriting the
default installer Linux binary) and places the darwin binary into
/usr/share/openshift/mac/openshift-install. This directory structure
is kept deliberately simple for end users - if we do in the future
need to deal with multi-arch concerns we'll do that at a higher level
and in practice neither 32bit nor arm will be "supported" as part
of the core distro yet.

The dockerfile matches the desired final form from the release team
(Dockerfile.rhel) and will be used in both CI and publishing.
2019-03-31 13:41:52 -04:00