Skip to content

Commit 3cd1b1d

Browse files
committed
fix: helm/e2e/Makefile: Remove providers dependency and verify E2E only with operator chart
Signed-off-by: kahirokunn <[email protected]>
1 parent 9d87313 commit 3cd1b1d

File tree

4 files changed

+3
-804
lines changed

4 files changed

+3
-804
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ PROD_REGISTRY ?= registry.k8s.io/capi-operator
149149

150150
# Image name
151151
IMAGE_NAME ?= cluster-api-operator
152-
PACKAGE_NAME = cluster-api-operator-providers
152+
PACKAGE_NAME = cluster-api-operator
153153
CONTROLLER_IMG ?= $(REGISTRY)/$(IMAGE_NAME)
154154
CONTROLLER_IMG_TAG ?= $(CONTROLLER_IMG)-$(ARCH):$(TAG)
155155

@@ -497,7 +497,6 @@ release-chart: $(HELM) $(KUSTOMIZE) $(RELEASE_DIR) $(CHART_DIR) $(CHART_PROVIDER
497497

498498
# Processing the cluster-api-operator-providers chart
499499
cp -rf $(ROOT)/hack/charts/cluster-api-operator-providers/. $(CHART_PROVIDERS_DIR)
500-
$(HELM) dependency update $(CHART_PROVIDERS_DIR)
501500
$(HELM) package $(CHART_PROVIDERS_DIR) --app-version=$(HELM_CHART_TAG) --version=$(HELM_CHART_TAG) --destination=$(CHART_PACKAGE_DIR)
502501

503502
.PHONY: release-staging
@@ -571,7 +570,7 @@ test-e2e-run: $(GINKGO) $(ENVSUBST) $(HELM) ## Run e2e tests
571570
-e2e.artifacts-folder="$(ARTIFACTS)" \
572571
-e2e.config="$(E2E_CONF_FILE_ENVSUBST)" -e2e.components=$(RELEASE_DIR)/operator-components.yaml \
573572
-e2e.skip-resource-cleanup=$(SKIP_CLEANUP) -e2e.use-existing-cluster=$(SKIP_CREATE_MGMT_CLUSTER) \
574-
-e2e.helm-binary-path=$(HELM) -e2e.chart-path=$(CHART_PACKAGE_DIR)/cluster-api-operator-providers-$(HELM_CHART_TAG).tgz $(E2E_ARGS)
573+
-e2e.helm-binary-path=$(HELM) -e2e.chart-path=$(CHART_PACKAGE_DIR)/cluster-api-operator-$(HELM_CHART_TAG).tgz $(E2E_ARGS)
575574

576575
go-version: ## Print the go version we use to compile our binaries and images
577576
@echo $(GO_VERSION)

hack/charts/cluster-api-operator-providers/Chart.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,3 @@ description: Cluster API Provider Custom Resources
44
type: application
55
version: 0.0.0
66
appVersion: "0.0.0"
7-
dependencies:
8-
- name: cluster-api-operator
9-
repository: file://../cluster-api-operator
10-
version: 0.0.0
11-
condition: cluster-api-operator.install

0 commit comments

Comments
 (0)