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

Merge pull request #8244 from zaneb/remove-libvirt-ipi

CORS-3420: Remove libvirt platform from openshift-baremetal-install
This commit is contained in:
openshift-merge-bot[bot]
2024-04-15 14:42:30 +00:00
committed by GitHub
5 changed files with 7 additions and 7 deletions

View File

@@ -113,7 +113,7 @@ then
GOOS='' GOARCH='' go generate ./data
fi
if (echo "${TAGS}" | grep -q 'libvirt')
if (echo "${TAGS}" | grep -q '\bfipscapable\b')
then
export CGO_ENABLED=1
fi

View File

@@ -2,7 +2,7 @@
# It builds an image containing openshift-install.
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS builder
ARG TAGS="libvirt baremetal"
ARG TAGS="baremetal fipscapable"
WORKDIR /go/src/github.com/openshift/installer
COPY . .
RUN DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh

View File

@@ -3,7 +3,7 @@
# oc for getting assets from an existing cluster to spin up multi-architecture compute clusters on libvirt.
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS builder
ARG TAGS="libvirt"
ARG TAGS="libvirt fipscapable"
WORKDIR /go/src/github.com/openshift/installer
COPY . .
RUN DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh

View File

@@ -1,5 +1,5 @@
//go:build libvirt
// +build libvirt
//go:build fipscapable
// +build fipscapable
package hostcrypt

View File

@@ -1,5 +1,5 @@
//go:build !libvirt
// +build !libvirt
//go:build !fipscapable
// +build !fipscapable
package hostcrypt