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

70 Commits

Author SHA1 Message Date
Patrick Dillon
35931d17a3 images: bump images to go 4.20
openshift-bot created PRs to bump several images:

https://github.com/openshift/installer/pull/9801
https://github.com/openshift/installer/pull/9800
https://github.com/openshift/installer/pull/9799

But those didn't get all images. Bumping the rest here.
2025-07-28 13:21:18 -04: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
openshift-merge-bot[bot]
7eea2063f5 Merge pull request #9491 from joepvd/path-munging
OCPBUGS-50920: Rely on path declaration of base image
2025-02-19 14:59:51 +00:00
Joep van Delft
4a369c77f7 Rely on path declaration of base image
Starting with 4.19, the PATH environment variable is actively used
in CI to manage idempotent repositories that work both in CI as locally.
By overriding the PATH environment variable, machine-os-images gets
unfortunate repositories as a result. I suspect this path override can
just disappear.
2025-02-17 13:01:56 +01:00
Thuan Vo
3420ee9122 build: bump builder images to go 1.23 2025-01-24 13:31:46 -08:00
Martin André
3c380ad398 Drop old link 2024-09-03 10:32:18 +02:00
Martin André
e16528494b Drop ansible-utils
Ansible utils we get from the openstack-17-for-rhel-9-rpms is too old
(version 2.3.0-2.el9ost) and doesn't have any of the needed filters
added in v2.5.
2024-09-03 10:27:07 +02:00
Martin André
5643e1c188 OCPBUGS-30811: OpenStack: Install CI dependencies from rpm
Prefer RPM over dependencies coming from pip or ansible galaxy.
2024-09-03 10:27:07 +02: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
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
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
openshift-ci[bot]
d7138a1f32 Merge pull request #7507 from LorbusChris/upi-cleanup
images: Cleanup CI Dockerfiles
2023-10-13 11:03:38 +00:00
Brent Barbachem
0426d51cf7 ** Ansible-Core was only available as version 2.12.2 through yum (even with updates). The version was causing issues when
attempting to install the required collections. The ansible-core version is installed via pip to 2.15.x and all collections
can be installed.
2023-10-03 16:51:30 -04:00
Christian Glombek
5450c70e5e images: Cleanup CI Dockerfiles
- remove unused Dockerfile.ci.rhel7
- replace Dockerfile.upi.ci with Dockerfile.upi.ci.rhel8
- replace Dockerfile.upi.ci.rhel8 with symlink to Dockerfile.upi.ci
- update to FROM directives to pull from registry.ci.openshift.org/ocp/4.15
2023-09-22 17:49:29 +02:00
Emilien Macchi
8bb0980297 openstack/upi: doc updates 2023-07-29 08:51:05 -04:00
Emilien Macchi
64ac03fa72 images/openstack/Dockerfile.ci: remove unused collections 2023-07-28 13:10:08 -04:00
Emilien Macchi
c27de8e766 Update openstack/Dockerfile.ci for ansible-core
Ansible 2.9 is going EOL later this year, we need to use ansible-core
and until we get RPMs for openstack collections, we'll install them from
source.
2023-07-21 16:12:16 -04:00
Patrick Dillon
33109b7034 Bump to Go 1.20
Bumps core Installer to Go v1.20. Terraform and providers will be
updated separately.
2023-06-01 11:44:20 -04:00
Pierre Prinetti
a69a27fbce openstack: Add netcat to the Installer image
ncat is needed for setting up load balancer and proxy environments in
the CI.
2023-04-28 12:12:24 +02:00
Pierre Prinetti
638c964794 openstack: Bump CI base image to v4.14 2023-03-30 12:16:48 +02:00
Pierre Prinetti
925aaa903a openstack: Use OpenStack from the base image 2022-07-07 07:37:28 +02:00
Pierre Prinetti
9ca177b6b1 openstack: Update base images to 4.12 2022-07-07 07:37:27 +02:00
Pierre Prinetti
0a63c1d356 openstack: Prepare for a UPI CI job
With this patch, the documentation for installing on OpenStack with UPI
is made machine-readable.

Additionally, UPI resources are added to the CI container image.
2022-06-29 10:16:59 +02:00
Emilien Macchi
ac726c20b6 openstack/Dockerfile: add make and gettext
These rpms would be helpful for some of our CI jobs that we run for
OpenStack; where we'll need to use `envsubst` and `make` commands.
2022-01-18 21:08:00 -05:00
Yaakov Selkowitz
b214886cb7 Update CI to golang-1.17 2021-11-18 01:37:29 -05:00
Jeremiah Stuever
ff7f3a7d4b update registry.ci.openshift.org/ocp and origin images to 4.10 2021-11-16 09:42:46 -08: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
OpenShift Merge Robot
fe9336bd63 Merge pull request #4453 from vrutkovs/fcos-4.7-devel
Add OKD installer images
2021-07-18 03:52:51 -04:00
Martin André
ce36f1ce3b Bug 1980029: Pin openstacksdk
Openstacksdk 0.53 introduced an error with older version of Neutron,
where it fails with:

   400: Client Error for url: <cloud>/v2.0/security-group-rules, Unrecognized attribute(s) 'remote_address_group_id'

This was fixed in openstacksdk 0.56 which we do not yet have in the
repositories. Until then, pin to the known working 0.36 version.

Upstream issue: https://storyboard.openstack.org/#!/story/2008577
2021-07-09 10:01:04 +02: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
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
staebler
812dcbd1bd update registry.ci.openshift.org/ocp and origin images to 4.8
Update all references to registry.ci.openshift.org/ocp and
registry.ci.openshift.org/origin images to their 4.8 versions.
2021-02-16 16:12:58 -05:00
staebler
55238b4d27 update golang-1.14 image references to golang1.15
Update references to registry.ci.openshift.org/ocp/builder:golang-1.14
with registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.15-openshift-4.8.

The exception is for images targeting rhel7, where the replacement is
registry.ci.openshift.org/ocp/builder:rhel-7-golang-1.15-openshift-4.8 instead.
2021-02-16 11:33:25 -05:00
staebler
4f4faead3d remove uses of registry.svc.ci.openshift.org
Replace references to registry.svc.ci.openshift.org with references
to registry.ci.openshift.org instead.
2021-02-16 11:30:49 -05:00
Pierre Prinetti
67ce28e898 Revert "openstack UPI: Use ansible-galaxy"
This reverts commit 0388ceaa95.

Fixes Bug 1910049
2020-12-22 14:19:13 +01:00
Pierre Prinetti
feebe4c70c openstack: Test Nova AZ manifest generation
* instrument the manifest-generation test-framework to execute Python
testfiles
* test machinesets with availability zones
2020-12-07 14:32:58 +01:00
Pierre Prinetti
b85276295a openstack: Test manifest creation
Add a script for testing OpenStack manifest generation.

Co-Authored-By: Matthew Booth <mbooth@redhat.com>
2020-12-02 11:23:33 +01:00
Pierre Prinetti
0388ceaa95 openstack UPI: Use ansible-galaxy
Document the use of ansible-galaxy as a dependency manager for the
Ansible playbooks in UPI.

Implements OSASINFRA-2169
2020-11-13 21:17:54 +01:00
Pierre Prinetti
b4e42c8f5c openstack: Update CI base image 2020-10-22 14:16:07 +02:00
Pierre Prinetti
03a38a99c2 openstack: Bump Ansible to 2.9 in UPI 2020-10-13 10:58:09 +02:00
Martin André
0bad6dd6f4 OpenStack: Update packages list after switch to RHEL8
The `localedef` command requires the `glibc-locale-source` package.
Some python packages are now prefixed with `python3`.
`jq` is now in the main repo.
2020-09-15 17:43:56 +02:00
Martin André
6059f3e012 OpenStack: Switch to train/centos8 repos
This will be necessary after changing the base image to rhel8:
https://github.com/openshift/release/pull/11839
2020-09-15 10:58:37 +02:00
Pierre Prinetti
6ea08e73c2 openstack: Upgrade the CI build image 2020-09-11 19:16:07 +02: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
Pierre Prinetti
b284bf60de Add reviewers to the OpenStack directories
Ref.: https://github.com/openshift/installer/pull/3640
2020-06-02 12:21:04 +02:00