Skip to content

Commit

Permalink
Make sure crossplane is installed in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kidswiss committed Jul 18, 2024
1 parent ec981d8 commit 699a6aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ package-provider-local: $(crossplane_bin) generate-go ## Build Crossplane packag

.PHONY: package-provider
package-provider: export CONTROLLER_IMG = $(CONTAINER_IMG)
package-provider: generate-go build-docker ## Build Crossplane package for Upbound Marketplace
package-provider: $(crossplane_bin) generate-go build-docker ## Build Crossplane package for Upbound Marketplace
@rm -rf package/*.xpkg
@yq e 'del(.spec)' $(package_dir)/crossplane.yaml.template > $(package_dir)/crossplane.yaml
$(crossplane_bin) xpkg build -f $(package_dir) -o $(package_dir)/provider-cloudscale.xpkg --controller=$(CONTROLLER_IMG)
Expand All @@ -41,7 +41,7 @@ package-provider: generate-go build-docker ## Build Crossplane package for Upbou

.PHONY: .upbound-package-push
.upbound-package-push: pkg_file = $(package_dir)/provider-cloudscale.xpkg
.upbound-package-push: package-provider
.upbound-package-push: $(crossplane_bin) package-provider
$(crossplane_bin) xpkg push -f $(pkg_file) $(UPBOUND_PACKAGE_IMG)

.PHONY: package-push
Expand Down

0 comments on commit 699a6aa

Please sign in to comment.