Skip to content

Commit

Permalink
ci(Makefile): remove integration test targets in help
Browse files Browse the repository at this point in the history
  • Loading branch information
pinglin committed Sep 4, 2024
1 parent e86c045 commit afae1ce
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ else
endif

.PHONY: build-latest
build-latest: ## Build latest images for all Instill Core components
build-latest: ## Build latest images for all services
@if [ "${BUILD}" = "true" ]; then \
docker build --progress plain \
--build-arg ALPINE_VERSION=${ALPINE_VERSION} \
Expand All @@ -102,7 +102,7 @@ build-latest: ## Build latest images for all Instill Core components
fi

.PHONY: build-release
build-release: ## Build release images for all Instill Core components
build-release: ## Build release images for all services
@if [ "${BUILD}" = "true" ]; then \
docker build --progress plain \
--build-arg ALPINE_VERSION=${ALPINE_VERSION} \
Expand Down Expand Up @@ -177,7 +177,7 @@ doc: ## Run Redoc for OpenAPI spec at http://localhost:3001
@EDITION= DEFAULT_USER_UID= docker compose up -d redoc_openapi

.PHONY: integration-test-latest
integration-test-latest: ## Run integration test on the latest VDP
integration-test-latest: # Run integration test on the latest VDP
@make latest BUILD=true EDITION=local-ce:test
@docker run --rm \
--network instill-network \
Expand All @@ -190,7 +190,7 @@ integration-test-latest: ## Run integration test on the latest VDP
@make down

.PHONY: integration-test-release
integration-test-release: ## Run integration test on the release VDP
integration-test-release: # Run integration test on the release VDP
@make all BUILD=true EDITION=local-ce:test
@docker run --rm \
--network instill-network \
Expand All @@ -203,7 +203,7 @@ integration-test-release: ## Run integration test on the release VDP
@make down

.PHONY: helm-integration-test-latest
helm-integration-test-latest: ## Run integration test on the Helm latest for VDP
helm-integration-test-latest: # Run integration test on the Helm latest for VDP
@make build-latest BUILD=true
@helm install ${HELM_RELEASE_NAME} charts/core \
--namespace ${HELM_NAMESPACE} --create-namespace \
Expand Down Expand Up @@ -243,7 +243,7 @@ endif
@make down

.PHONY: helm-integration-test-release
helm-integration-test-release: ## Run integration test on the Helm release for VDP
helm-integration-test-release: # Run integration test on the Helm release for VDP
@make build-release BUILD=true
@helm install ${HELM_RELEASE_NAME} charts/core \
--namespace ${HELM_NAMESPACE} --create-namespace \
Expand Down Expand Up @@ -283,7 +283,7 @@ endif
@make down

.PHONY: console-integration-test-latest
console-integration-test-latest: ## Run console integration test on the latest Instill Core
console-integration-test-latest: # Run console integration test on the latest Instill Core
@make latest BUILD=true EDITION=local-ce:test INSTILL_CORE_HOST=${API_GATEWAY_HOST}
@docker run --rm \
-e NEXT_PUBLIC_GENERAL_API_VERSION=v1beta \
Expand All @@ -301,7 +301,7 @@ console-integration-test-latest: ## Run console integration test on the latest
@make down

.PHONY: console-integration-test-release
console-integration-test-release: ## Run console integration test on the release Instill Core
console-integration-test-release: # Run console integration test on the release Instill Core
@make all BUILD=true EDITION=local-ce:test INSTILL_CORE_HOST=${API_GATEWAY_HOST}
@docker run --rm \
-e NEXT_PUBLIC_GENERAL_API_VERSION=v1beta \
Expand All @@ -319,7 +319,7 @@ console-integration-test-release: ## Run console integration test on the relea
@make down

.PHONY: console-helm-integration-test-latest
console-helm-integration-test-latest: ## Run console integration test on the Helm latest for Instill Core
console-helm-integration-test-latest: # Run console integration test on the Helm latest for Instill Core
@make build-latest BUILD=true
ifeq ($(UNAME_S),Darwin)
@helm install ${HELM_RELEASE_NAME} charts/core --namespace ${HELM_NAMESPACE} --create-namespace \
Expand Down Expand Up @@ -399,7 +399,7 @@ endif
@make down

.PHONY: console-helm-integration-test-release
console-helm-integration-test-release: ## Run console integration test on the Helm release for Instill Core
console-helm-integration-test-release: # Run console integration test on the Helm release for Instill Core
@make build-release BUILD=true
ifeq ($(UNAME_S),Darwin)
@helm install ${HELM_RELEASE_NAME} charts/core --namespace ${HELM_NAMESPACE} --create-namespace \
Expand Down Expand Up @@ -480,5 +480,5 @@ endif

.PHONY: help
help: ## Show this help
@echo "\nMake Application with Docker Compose"
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m (default: help)\n\nTargets:\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-30s\033[0m %s\n", $$1, $$2 }' $(MAKEFILE_LIST)
@echo "\nMake Application with Instill Core"
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m (default: help)\n\nTargets:\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 }' $(MAKEFILE_LIST)

0 comments on commit afae1ce

Please sign in to comment.