Skip to content

Commit

Permalink
chore(makefile): use version tag for pipeline and model backend
Browse files Browse the repository at this point in the history
  • Loading branch information
donch1989 committed Apr 18, 2024
1 parent e002430 commit e6da461
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/helm-integration-test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ jobs:
--set apiGateway.image.tag=latest \
--set mgmtBackend.image.tag=latest \
--set mgmtBackend.instillCoreHost=http://${INSTILL_CORE_HOST}:${API_GATEWAY_PORT} \
--set pipelineBackend.image.tag=latest \
--set pipelineBackend.image.tag=${PIPELINE_BACKEND_VERSION} \
--set pipelineBackend.excludelocalconnector=false \
--set modelBackend.image.tag=latest \
--set modelBackend.image.tag=${MODEL_BACKEND_VERSION} \
--set console.image.tag=latest \
--set rayService.image.tag=${RAY_SERVER_VERSION} \
--set rayService.headGroupSpec.resources.limits.cpu=0 \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/helm-integration-test-console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
--set apiGateway.image.tag=latest \
--set mgmtBackend.image.tag=latest \
--set mgmtBackend.instillCoreHost=http://${INSTILL_CORE_HOST}:${API_GATEWAY_PORT} \
--set pipelineBackend.image.tag=latest \
--set pipelineBackend.image.tag=${PIPELINE_BACKEND_VERSION} \
--set pipelineBackend.excludelocalconnector=false \
--set modelBackend.image.tag=latest \
--set modelBackend.image.tag=${MODEL_BACKEND_VERSION} \
--set console.image.tag=latest \
--set rayService.image.tag=${RAY_SERVER_VERSION} \
--set rayService.headGroupSpec.resources.limits.cpu=0 \
Expand Down
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ build-latest: ## Build latest images for all Instill Core components
${INSTILL_CORE_IMAGE_NAME}:latest /bin/sh -c " \
API_GATEWAY_VERSION=latest \
MGMT_BACKEND_VERSION=latest \
PIPELINE_BACKEND_VERSION=latest \
MODEL_BACKEND_VERSION=latest \
PIPELINE_BACKEND_VERSION=${PIPELINE_BACKEND_VERSION} \
MODEL_BACKEND_VERSION=${MODEL_BACKEND_VERSION} \
ARTIFACT_BACKEND_VERSION=latest \
CONSOLE_VERSION=latest \
COMPOSE_PROFILES=${PROFILE} docker compose -f docker-compose-build.yml build --progress plain \
Expand Down Expand Up @@ -214,9 +214,9 @@ helm-integration-test-latest: ## Run integration test on t
--set mgmtBackend.image.tag=latest \
--set mgmtBackend.instillCoreHost=http://${INSTILL_CORE_HOST}:${API_GATEWAY_PORT} \
--set artifactBackend.image.tag=latest \
--set pipelineBackend.image.tag=latest \
--set pipelineBackend.image.tag=${PIPELINE_BACKEND_VERSION} \
--set pipelineBackend.excludelocalconnector=false \
--set modelBackend.image.tag=latest \
--set modelBackend.image.tag=${MODEL_BACKEND_VERSION} \
--set console.image.tag=latest \
--set rayService.image.tag=${RAY_LATEST_TAG} \
--set tags.observability=false \
Expand Down Expand Up @@ -332,9 +332,9 @@ ifeq ($(UNAME_S),Darwin)
--set mgmtBackend.image.tag=latest \
--set mgmtBackend.instillCoreHost=http://${INSTILL_CORE_HOST}:${API_GATEWAY_PORT} \
--set artifactBackend.image.tag=latest \
--set pipelineBackend.image.tag=latest \
--set pipelineBackend.image.tag=${PIPELINE_BACKEND_VERSION} \
--set pipelineBackend.excludelocalconnector=false \
--set modelBackend.image.tag=latest \
--set modelBackend.image.tag=${MODEL_BACKEND_VERSION} \
--set console.image.tag=latest \
--set rayService.image.tag=${RAY_LATEST_TAG} \
--set apiGatewayURL=http://host.docker.internal:${API_GATEWAY_PORT} \
Expand All @@ -350,9 +350,9 @@ else ifeq ($(UNAME_S),Linux)
--set mgmtBackend.image.tag=latest \
--set mgmtBackend.instillCoreHost=http://${INSTILL_CORE_HOST}:${API_GATEWAY_PORT} \
--set artifactBackend.image.tag=latest \
--set pipelineBackend.image.tag=latest \
--set pipelineBackend.image.tag=${PIPELINE_BACKEND_VERSION} \
--set pipelineBackend.excludelocalconnector=false \
--set modelBackend.image.tag=latest \
--set modelBackend.image.tag=${MODEL_BACKEND_VERSION} \
--set console.image.tag=latest \
--set rayService.image.tag=${RAY_LATEST_TAG} \
--set apiGatewayURL=http://localhost:${API_GATEWAY_PORT} \
Expand Down

0 comments on commit e6da461

Please sign in to comment.