@@ -338,7 +338,7 @@ apidiff: $(GO_APIDIFF) ## Check for API differences
338
338
ALL_VERIFY_CHECKS = boilerplate modules gen conversions
339
339
340
340
.PHONY : verify
341
- verify : $(addprefix verify-,$(ALL_VERIFY_CHECKS ) ) # # Run all verify-* targets
341
+ verify : $(addprefix verify-,$(ALL_VERIFY_CHECKS ) ) lint-markdown lint-shell # # Run all verify-* targets
342
342
343
343
.PHONY : verify-modules
344
344
verify-modules : generate-modules # # Verify go modules are up to date
@@ -529,7 +529,7 @@ dev-manifests: ## Builds dev manifests based on $(REGISTRY) and $(TAG) into the
529
529
$(MAKE ) release-manifests STAGE=dev MANIFEST_DIR=$(OVERRIDES_DIR )
530
530
531
531
.PHONY : manifest-modification
532
- manifest-modification : # Set the manifest images to $(REGISTRY)/$(IMAGE_NAME):$(RELEASE_TAG) and pull policy to $(PULL_POLICY)
532
+ manifest-modification : $( BUILD_DIR ) # Set the manifest images to $(REGISTRY)/$(IMAGE_NAME):$(RELEASE_TAG) and pull policy to $(PULL_POLICY)
533
533
rm -rf $(BUILD_DIR ) /config
534
534
cp -R config $(BUILD_DIR )
535
535
$(MAKE ) set-manifest-image \
@@ -538,19 +538,19 @@ manifest-modification: # Set the manifest images to $(REGISTRY)/$(IMAGE_NAME):$(
538
538
$(MAKE ) set-manifest-pull-policy PULL_POLICY=$(PULL_POLICY ) TARGET_RESOURCE=" $( BUILD_DIR) /config/base/manager_pull_policy.yaml"
539
539
540
540
.PHONY : release-manifests
541
- release-manifests : $(RELEASE_DIR ) $(KUSTOMIZE ) $(STAGE ) -flavors $(MANIFEST_DIR ) # # Build the manifests to publish with a release
541
+ release-manifests : $(BUILD_DIR ) $(MANIFEST_DIR ) $(KUSTOMIZE ) $(STAGE ) -flavors # # Build the manifests to publish with a release
542
542
$(KUSTOMIZE ) build $(BUILD_DIR ) /config/default > $(MANIFEST_DIR ) /infrastructure-components.yaml
543
543
$(KUSTOMIZE ) build $(BUILD_DIR ) /config/supervisor > $(MANIFEST_DIR ) /infrastructure-components-supervisor.yaml
544
544
545
545
# Add metadata to the release artifacts
546
546
cp metadata.yaml $(MANIFEST_DIR)/metadata.yaml
547
547
548
548
.PHONY : release-flavors # # Create release flavor manifests
549
- release-flavors :
549
+ release-flavors : $( RELEASE_DIR )
550
550
$(MAKE ) generate-flavors FLAVOR_DIR=$(RELEASE_DIR )
551
551
552
552
.PHONY : dev-flavors # # Create release flavor manifests
553
- dev-flavors :
553
+ dev-flavors : $( OVERRIDES_DIR )
554
554
$(MAKE ) generate-flavors FLAVOR_DIR=$(OVERRIDES_DIR )
555
555
556
556
.PHONY : generate-flavors
@@ -571,7 +571,7 @@ release-alias-tag: ## Add the release alias tag to the last build tag
571
571
gcloud container images add-tag $(CONTROLLER_IMG ) :$(TAG ) $(CONTROLLER_IMG ) :$(RELEASE_ALIAS_TAG )
572
572
573
573
.PHONY : generate-release-notes
574
- generate-release-notes : $(RELEASE_NOTES_DIR )
574
+ generate-release-notes : $(RELEASE_NOTES_DIR ) $( RELEASE_NOTES )
575
575
if [ -n " ${PRE_RELEASE} " ]; then \
576
576
echo " :rotating_light: This is a RELEASE CANDIDATE. Use it only for testing purposes. If you find any bugs, file an [issue](https://github.com/kubernetes-sigs/cluster-api/issues/new)." > $(RELEASE_NOTES_DIR ) /$(RELEASE_TAG ) .md; \
577
577
else \
@@ -580,7 +580,7 @@ generate-release-notes: $(RELEASE_NOTES_DIR)
580
580
581
581
.PHONY : promote-images
582
582
promote-images : $(KPROMO )
583
- $(KPROMO ) pr --project cluster-api-provider- vsphere --tag $(RELEASE_TAG ) --reviewers " $( IMAGE_REVIEWERS) " --fork $(USER_FORK ) --image cluster-api-provider- vsphere
583
+ $(KPROMO ) pr --project capi- vsphere --tag $(RELEASE_TAG ) --reviewers " $( IMAGE_REVIEWERS) " --fork $(USER_FORK ) --image cluster-api-vsphere-controller
584
584
585
585
# # --------------------------------------
586
586
# # Docker
0 commit comments