Skip to content

Commit cec7c94

Browse files
authored
Merge pull request #84 from sergenyalcin/bump-deps
Bump dependencies
2 parents 62ec99e + d2709f7 commit cec7c94

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

Makefile

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,15 @@ export SUBPACKAGES := $(SUBPACKAGES)
6767
# ====================================================================================
6868
# Setup Kubernetes tools
6969

70-
KIND_VERSION = v0.29.0
71-
# dependency for up
72-
UP_VERSION = v0.40.0-0.rc.4
73-
UP_CHANNEL = alpha
74-
UPTEST_VERSION = v2.0.1
70+
KIND_VERSION = v0.30.0
71+
UPTEST_VERSION = v2.2.0
7572
KUSTOMIZE_VERSION = v5.3.0
7673
YQ_VERSION = v4.40.5
77-
CROSSPLANE_VERSION = 1.20.0
74+
CROSSPLANE_VERSION = 2.0.2
75+
CROSSPLANE_CLI_VERSION = v2.0.2
7876
CRDDIFF_VERSION = v0.12.1
7977

80-
export UP_VERSION := $(UP_VERSION)
81-
export UP_CHANNEL := $(UP_CHANNEL)
78+
export CROSSPLANE_CLI_VERSION := $(CROSSPLANE_CLI_VERSION)
8279

8380
-include build/makelib/k8s_tools.mk
8481

@@ -151,7 +148,7 @@ run: go.build
151148

152149
# NOTE(hasheddan): we ensure up is installed prior to running platform-specific
153150
# build steps in parallel to avoid encountering an installation race condition.
154-
build.init: $(UP)
151+
build.init: $(CROSSPLANE_CLI)
155152

156153
# ====================================================================================
157154
# Setup Terraform for fetching provider schema
@@ -340,12 +337,12 @@ endif
340337
SUBPACKAGES := $(if $(PROVIDERS),$(PROVIDERS),$(SUBPACKAGES))
341338
# use REPO in place of XPKG_REG_ORGS if set
342339
XPKG_REG_ORGS := $(if $(REPO),$(REPO),$(XPKG_REG_ORGS))
343-
load-pkg: $(UP) build.all
340+
load-pkg: $(CROSSPLANE_CLI) build.all
344341
@$(INFO) Loading the family providers into the Docker daemon: $(SUBPACKAGES)
345342
@for p in $(PLATFORMS); do \
346343
mkdir -p "$(XPKG_OUTPUT_DIR)/$$p"; \
347344
done
348-
@$(UP) xpkg batch --smaller-providers $$(echo -n "$(SUBPACKAGES) config" | tr ' ' ',') \
345+
@$(CROSSPLANE_CLI) xpkg batch --smaller-providers $$(echo -n "$(SUBPACKAGES) config" | tr ' ' ',') \
349346
--family-base-image $(BUILD_REGISTRY)/$(PROJECT_NAME) \
350347
--platform $(BATCH_PLATFORMS) \
351348
--provider-name $(PROJECT_NAME) \
@@ -357,7 +354,6 @@ load-pkg: $(UP) build.all
357354
--build-only=true \
358355
--examples-root $(ROOT_DIR)/examples \
359356
--examples-group-override monolith=* --examples-group-override config=providerconfig \
360-
--auth-ext $(ROOT_DIR)/package/auth.yaml \
361357
--crd-root $(ROOT_DIR)/package/crds \
362358
--crd-group-override monolith=* --crd-group-override config=$(PROVIDER_NAME) \
363359
--package-metadata-template $(ROOT_DIR)/package/crossplane.yaml.tmpl \

cluster/images/provider-gcp-beta/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ ifeq (-,$(findstring -,$(VERSION)))
5656
endif
5757
BUILD_ONLY ?= false
5858
STORE_PACKAGES ?= ""
59-
batch-process: $(UP)
59+
batch-process: $(CROSSPLANE_CLI)
6060
@$(INFO) Batch processing smaller provider packages for: "$(SUBPACKAGES)"
6161
@mkdir -p "$(XPKG_OUTPUT_DIR)/$(PLATFORM)" && \
62-
$(UP) xpkg batch --smaller-providers "$$(tr ' ' ',' <<< "$(SUBPACKAGES)")" \
62+
$(CROSSPLANE_CLI) xpkg batch --smaller-providers "$$(tr ' ' ',' <<< "$(SUBPACKAGES)")" \
6363
--family-base-image $(BUILD_REGISTRY)/$(PROJECT_NAME) \
6464
--platform $(BATCH_PLATFORMS) \
6565
--provider-name $(PROJECT_NAME) \
@@ -71,7 +71,6 @@ batch-process: $(UP)
7171
--build-only=$(BUILD_ONLY) \
7272
--examples-root $(ROOT_DIR)/examples \
7373
--examples-group-override monolith=* --examples-group-override config=providerconfig \
74-
--auth-ext $(XPKG_DIR)/auth.yaml \
7574
--crd-root $(XPKG_DIR)/crds \
7675
--ignore $(XPKG_IGNORE) \
7776
--crd-group-override monolith=* --crd-group-override config=$(CONFIG_CRD_GROUP) \

0 commit comments

Comments
 (0)