only publish deployment for caph pipeline (#89)
This commit is contained in:
Родитель
ce868727d0
Коммит
c88322da7d
5
Makefile
5
Makefile
|
@ -302,6 +302,11 @@ release-binary: $(RELEASE_DIR)
|
|||
release-staging: ## Builds and push container images to the staging bucket.
|
||||
REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-build-all docker-push-all release-alias-tag
|
||||
|
||||
.PHONY: release-pipelines
|
||||
release-pipelines: $(RELEASE_DIR) ## Builds the manifests to publish with a release
|
||||
$(MAKE) set-manifest-image MANIFEST_IMG=$(PROD_REGISTRY)/$(IMAGE_NAME) MANIFEST_TAG=$(RELEASE_TAG)
|
||||
kustomize build config/manager > $(RELEASE_DIR)/deployment.yaml
|
||||
|
||||
RELEASE_ALIAS_TAG=$(PULL_BASE_REF)
|
||||
|
||||
.PHONY: release-alias-tag
|
||||
|
|
|
@ -45,6 +45,7 @@ steps:
|
|||
make REGISTRY=mocimages.azurecr.io IMAGE_NAME=caphcontroller-staging PATCH_VER=$TagNum docker-build docker-push
|
||||
make REGISTRY=mocimages.azurecr.io IMAGE_NAME=caphcontroller-staging PATCH_VER=$TagNum release
|
||||
make REGISTRY=mocimages.azurecr.io IMAGE_NAME=caphcontroller-staging PATCH_VER=$TagNum generate-flavors
|
||||
make REGISTRY=mocimages.azurecr.io IMAGE_NAME=caphcontroller-staging PATCH_VER=$TagNum release-pipelines
|
||||
workingDirectory: '$(System.DefaultWorkingDirectory)'
|
||||
displayName: 'Build CAPH'
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче