Skip to content

Commit

Permalink
Merge pull request #60 from dhellmann/divorce-fork
Browse files Browse the repository at this point in the history
complete forking of openshift version from metal3 verison
  • Loading branch information
openshift-merge-robot committed Mar 23, 2020
2 parents b57ffcc + 7d335b3 commit 91b5145
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.10 AS builder
WORKDIR /go/src/github.com/metal3-io/cluster-api-provider-baremetal
WORKDIR /go/src/github.com/openshift/cluster-api-provider-baremetal
COPY . .
RUN go build -o machine-controller-manager ./cmd/manager
RUN go build -o manager ./vendor/github.com/openshift/cluster-api/cmd/manager
Expand All @@ -11,5 +11,5 @@ FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
# yum install -y $INSTALL_PKGS && \
# rpm -V $INSTALL_PKGS && \
# yum clean all
COPY --from=builder /go/src/github.com/metal3-io/cluster-api-provider-baremetal/manager /
COPY --from=builder /go/src/github.com/metal3-io/cluster-api-provider-baremetal/machine-controller-manager /
COPY --from=builder /go/src/github.com/openshift/cluster-api-provider-baremetal/manager /
COPY --from=builder /go/src/github.com/openshift/cluster-api-provider-baremetal/machine-controller-manager /
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ unit: manifests

# Build manager binary
manager: generate fmt vet
go build -o bin/manager github.com/metal3-io/cluster-api-provider-baremetal/cmd/manager
go build -o bin/manager github.com/openshift/cluster-api-provider-baremetal/cmd/manager

# Run against the configured Kubernetes cluster in ~/.kube/config
run: generate fmt vet
Expand Down
2 changes: 1 addition & 1 deletion PROJECT
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version: "1"
domain: cluster.k8s.io
repo: github.com/metal3-io/cluster-api-provider-baremetal
repo: github.com/openshift/cluster-api-provider-baremetal
8 changes: 4 additions & 4 deletions cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (
"time"

bmoapis "github.com/metal3-io/baremetal-operator/pkg/apis"
"github.com/metal3-io/cluster-api-provider-baremetal/pkg/apis"
"github.com/metal3-io/cluster-api-provider-baremetal/pkg/cloud/baremetal/actuators/machine"
"github.com/metal3-io/cluster-api-provider-baremetal/pkg/controller"
"github.com/metal3-io/cluster-api-provider-baremetal/pkg/manager/wrapper"
"github.com/openshift/cluster-api-provider-baremetal/pkg/apis"
"github.com/openshift/cluster-api-provider-baremetal/pkg/cloud/baremetal/actuators/machine"
"github.com/openshift/cluster-api-provider-baremetal/pkg/controller"
"github.com/openshift/cluster-api-provider-baremetal/pkg/manager/wrapper"
clusterapis "github.com/openshift/cluster-api/pkg/apis"
capimachine "github.com/openshift/cluster-api/pkg/controller/machine"
"k8s.io/apimachinery/pkg/runtime/schema"
Expand Down
2 changes: 1 addition & 1 deletion config/default/manager_image_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ spec:
template:
spec:
containers:
- image: quay.io/metal3-io/cluster-api-provider-baremetal:master
- image: quay.io/openshift/cluster-api-provider-baremetal:master
name: manager
2 changes: 1 addition & 1 deletion pkg/apis/addtoscheme_baremetal_v1alpha1.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
package apis

import (
"github.com/metal3-io/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
"github.com/openshift/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/baremetal/v1alpha1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
// Package v1alpha1 contains API Schema definitions for the baremetal v1alpha1 API group
// +k8s:openapi-gen=true
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=github.com/metal3-io/cluster-api-provider-baremetal/pkg/apis/baremetal
// +k8s:conversion-gen=github.com/openshift/cluster-api-provider-baremetal/pkg/apis/baremetal
// +k8s:defaulter-gen=TypeMeta
// +groupName=baremetal.cluster.k8s.io
package v1alpha1
2 changes: 1 addition & 1 deletion pkg/apis/baremetal/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.
// Package v1alpha1 contains API Schema definitions for the baremetal v1alpha1 API group
// +k8s:openapi-gen=true
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=github.com/metal3-io/cluster-api-provider-baremetal/pkg/apis/baremetal
// +k8s:conversion-gen=github.com/openshift/cluster-api-provider-baremetal/pkg/apis/baremetal
// +k8s:defaulter-gen=TypeMeta
// +groupName=baremetal.cluster.k8s.io
package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/baremetal/actuators/machine/actuator.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

bmh "github.com/metal3-io/baremetal-operator/pkg/apis/metal3/v1alpha1"
"github.com/metal3-io/baremetal-operator/pkg/utils"
bmv1alpha1 "github.com/metal3-io/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
bmv1alpha1 "github.com/openshift/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
clusterv1 "github.com/openshift/cluster-api/pkg/apis/cluster/v1alpha1"
"github.com/openshift/cluster-api/pkg/apis/machine/common"
machinev1 "github.com/openshift/cluster-api/pkg/apis/machine/v1beta1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/baremetal/actuators/machine/actuator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

bmoapis "github.com/metal3-io/baremetal-operator/pkg/apis"
bmh "github.com/metal3-io/baremetal-operator/pkg/apis/metal3/v1alpha1"
bmv1alpha1 "github.com/metal3-io/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
bmv1alpha1 "github.com/openshift/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
clusterapis "github.com/openshift/cluster-api/pkg/apis"
machinev1 "github.com/openshift/cluster-api/pkg/apis/machine/v1beta1"
clustererror "github.com/openshift/cluster-api/pkg/controller/error"
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/add_machineset.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
package controller

import (
"github.com/metal3-io/cluster-api-provider-baremetal/pkg/controller/machineset"
"github.com/openshift/cluster-api-provider-baremetal/pkg/controller/machineset"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/machineset/machineset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"

bmh "github.com/metal3-io/baremetal-operator/pkg/apis/metal3/v1alpha1"
actuator "github.com/metal3-io/cluster-api-provider-baremetal/pkg/cloud/baremetal/actuators/machine"
actuator "github.com/openshift/cluster-api-provider-baremetal/pkg/cloud/baremetal/actuators/machine"
machinev1beta1 "github.com/openshift/cluster-api/pkg/apis/machine/v1beta1"
"k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/machineset/machineset_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

bmoapis "github.com/metal3-io/baremetal-operator/pkg/apis"
bmh "github.com/metal3-io/baremetal-operator/pkg/apis/metal3/v1alpha1"
bmv1alpha1 "github.com/metal3-io/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
bmv1alpha1 "github.com/openshift/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
machinev1beta1 "github.com/openshift/cluster-api/pkg/apis/machine/v1beta1"
"golang.org/x/net/context"
v1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/machineset/mapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"

bmh "github.com/metal3-io/baremetal-operator/pkg/apis/metal3/v1alpha1"
actuator "github.com/metal3-io/cluster-api-provider-baremetal/pkg/cloud/baremetal/actuators/machine"
actuator "github.com/openshift/cluster-api-provider-baremetal/pkg/cloud/baremetal/actuators/machine"
machinev1beta1 "github.com/openshift/cluster-api/pkg/apis/machine/v1beta1"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/types"
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/machineset/mapper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

bmoapis "github.com/metal3-io/baremetal-operator/pkg/apis"
bmh "github.com/metal3-io/baremetal-operator/pkg/apis/metal3/v1alpha1"
bmv1alpha1 "github.com/metal3-io/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
bmv1alpha1 "github.com/openshift/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
machinev1beta1 "github.com/openshift/cluster-api/pkg/apis/machine/v1beta1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
Expand Down

0 comments on commit 91b5145

Please sign in to comment.