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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//go:build libvirt
|
||||
// +build libvirt
|
||||
//go:build fipscapable
|
||||
// +build fipscapable
|
||||
|
||||
package hostcrypt
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//go:build !libvirt
|
||||
// +build !libvirt
|
||||
//go:build !fipscapable
|
||||
// +build !fipscapable
|
||||
|
||||
package hostcrypt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user