Skip to content

Commit bba2c57

Browse files
astefanuttiopenshift-merge-robot
authored andcommitted
Update Go modules target in Makefile
1 parent 2ae625d commit bba2c57

File tree

3 files changed

+16
-150
lines changed

3 files changed

+16
-150
lines changed

Makefile

+7-13
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ VERSION ?= v0.0.0-dev
1212
BUNDLE_VERSION ?= $(VERSION:v%=%)
1313

1414
# INSTASCALE_VERSION defines the default version of the InstaScale controller
15-
INSTASCALE_VERSION ?= v0.0.8
15+
INSTASCALE_VERSION ?= main
16+
INSTASCALE_REPO ?= github.com/project-codeflare/instascale
1617

1718
# MCAD_VERSION defines the default version of the MCAD controller
18-
MCAD_VERSION ?= v1.34.1
19-
# MCAD_REF, MCAD_REPO and MCAD_CRD define the reference to MCAD CRD resources
20-
MCAD_REF ?= release-${MCAD_VERSION}
19+
MCAD_VERSION ?= main
2120
MCAD_REPO ?= github.com/project-codeflare/multi-cluster-app-dispatcher
2221
# Upstream MCAD is currently only creating release tags of the form `vX.Y.Z` (i.e the version)
23-
# The image is still published using the MCAD_REF format (i.e release-vX.Y.Z)
2422
MCAD_CRD ?= ${MCAD_REPO}/config/crd?ref=${MCAD_VERSION}
2523

2624
# KUBERAY_VERSION defines the default version of the KubeRay operator (used for testing)
@@ -66,12 +64,6 @@ IMAGE_ORG_BASE ?= quay.io/project-codeflare
6664
# codeflare.dev/codeflare-operator-bundle:$VERSION and codeflare.dev/codeflare-operator-catalog:$VERSION.
6765
IMAGE_TAG_BASE ?= $(IMAGE_ORG_BASE)/codeflare-operator
6866

69-
# MCAD_IMAGE defines the default container image for the MCAD controller
70-
MCAD_IMAGE ?= $(IMAGE_ORG_BASE)/mcad-controller:$(MCAD_REF)
71-
72-
# INSTASCALE_IMAGE defines the default container image for the InstaScale controller
73-
INSTASCALE_IMAGE ?= $(IMAGE_ORG_BASE)/instascale-controller:$(INSTASCALE_VERSION)
74-
7567
# RAY_IMAGE defines the default container image for Ray (used for testing)
7668
RAY_IMAGE ?= rayproject/ray:$(RAY_VERSION)
7769

@@ -167,8 +159,10 @@ vet: ## Run go vet against code.
167159

168160
.PHONY: modules
169161
modules: ## Update Go dependencies.
170-
#go get $(MCAD_REPO)@$(MCAD_VERSION)
171-
#go get github.com/ray-project/kuberay/ray-operator
162+
go get $(MCAD_REPO)@$(MCAD_VERSION)
163+
go get $(INSTASCALE_REPO)@$(INSTASCALE_VERSION)
164+
go get github.com/ray-project/kuberay/ray-operator
165+
go mod tidy
172166

173167
.PHONY: build
174168
build: modules defaults fmt vet ## Build manager binary.

go.mod

+3-16
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ go 1.19
44

55
require (
66
github.com/onsi/gomega v1.27.10
7-
github.com/openshift-eng/openshift-goimports v0.0.0-20230304234052-c70783e636f2
87
github.com/openshift/api v0.0.0-20230213134911-7ba313770556
98
github.com/openshift/client-go v0.0.0-20221019143426-16aed247da5c
10-
github.com/project-codeflare/instascale v0.0.9-0.20230913044449-3db3f4b4e9b1
11-
github.com/project-codeflare/multi-cluster-app-dispatcher v1.34.2-0.20230913035103-6e7bbdc8fb1f
12-
github.com/ray-project/kuberay/ray-operator v0.0.0-20230908233208-a8f730e5a2b6
9+
github.com/project-codeflare/instascale v0.0.9-0.20230914113244-30c8b74bdb6b
10+
github.com/project-codeflare/multi-cluster-app-dispatcher v1.34.2-0.20230918125534-b445015360ab
11+
github.com/ray-project/kuberay/ray-operator v0.0.0-20230916205808-6d5020fba579
1312
go.uber.org/zap v1.24.0
1413
k8s.io/api v0.26.3
1514
k8s.io/apimachinery v0.26.3
@@ -60,35 +59,25 @@ require (
6059
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 // indirect
6160
github.com/hashicorp/errwrap v1.0.0 // indirect
6261
github.com/hashicorp/go-multierror v1.1.1 // indirect
63-
github.com/hashicorp/hcl v1.0.0 // indirect
6462
github.com/imdario/mergo v0.3.12 // indirect
6563
github.com/inconshreveable/mousetrap v1.1.0 // indirect
6664
github.com/josharian/intern v1.0.0 // indirect
6765
github.com/json-iterator/go v1.1.12 // indirect
68-
github.com/magiconair/properties v1.8.4 // indirect
6966
github.com/mailru/easyjson v0.7.7 // indirect
7067
github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect
7168
github.com/microcosm-cc/bluemonday v1.0.18 // indirect
72-
github.com/mitchellh/go-homedir v1.1.0 // indirect
73-
github.com/mitchellh/mapstructure v1.4.1 // indirect
7469
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
7570
github.com/modern-go/reflect2 v1.0.2 // indirect
7671
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
7772
github.com/openshift-online/ocm-sdk-go v0.1.327 // indirect
78-
github.com/pelletier/go-toml v1.8.1 // indirect
7973
github.com/pkg/errors v0.9.1 // indirect
8074
github.com/prometheus/client_golang v1.14.0 // indirect
8175
github.com/prometheus/client_model v0.3.0 // indirect
8276
github.com/prometheus/common v0.37.0 // indirect
8377
github.com/prometheus/procfs v0.8.0 // indirect
84-
github.com/spf13/afero v1.4.1 // indirect
85-
github.com/spf13/cast v1.3.1 // indirect
8678
github.com/spf13/cobra v1.7.0 // indirect
87-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
8879
github.com/spf13/pflag v1.0.5 // indirect
89-
github.com/spf13/viper v1.7.1 // indirect
9080
github.com/stoewer/go-strcase v1.2.0 // indirect
91-
github.com/subosito/gotenv v1.2.0 // indirect
9281
go.etcd.io/etcd/api/v3 v3.5.5 // indirect
9382
go.etcd.io/etcd/client/pkg/v3 v3.5.5 // indirect
9483
go.etcd.io/etcd/client/v3 v3.5.5 // indirect
@@ -105,7 +94,6 @@ require (
10594
go.uber.org/atomic v1.7.0 // indirect
10695
go.uber.org/multierr v1.6.0 // indirect
10796
golang.org/x/crypto v0.11.0 // indirect
108-
golang.org/x/mod v0.10.0 // indirect
10997
golang.org/x/net v0.12.0 // indirect
11098
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 // indirect
11199
golang.org/x/sync v0.2.0 // indirect
@@ -119,7 +107,6 @@ require (
119107
google.golang.org/grpc v1.49.0 // indirect
120108
google.golang.org/protobuf v1.28.1 // indirect
121109
gopkg.in/inf.v0 v0.9.1 // indirect
122-
gopkg.in/ini.v1 v1.62.0 // indirect
123110
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
124111
gopkg.in/yaml.v2 v2.4.0 // indirect
125112
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)