Skip to content

Commit

Permalink
set version of oceanbase-dashboard to 0.2.0 and build oceanbase-dashb…
Browse files Browse the repository at this point in the history
…oard image using make command (#261)
  • Loading branch information
chris-sun-star authored Mar 26, 2024
1 parent 0cd0680 commit 9366966
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/oceanbase-dashboard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.2.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.1.0"
appVersion: "0.2.0"
11 changes: 10 additions & 1 deletion make/dashboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ PROJECT=oceanbase-dashboard
PROCESSOR=4
PWD ?= $(shell pwd)

DASHBOARD_VERSION ?= 1.0.0
DASHBOARD_VERSION ?= 0.2.0
DASHBOARD_IMG ?= oceanbase/oceanbase-dashboard:${DASHBOARD_VERSION}
COMMIT_HASH ?= $(shell git rev-parse --short HEAD)
BUILD_TIMESTAMP ?= $(shell date '+%Y%m%d%H%M%S')
INJECT_PACKAGE=github.com/oceanbase/ob-operator/internal/dashboard/handler
Expand Down Expand Up @@ -45,3 +46,11 @@ dep-install: ## Install dependencies for oceanbase-dashboard
.PHONY: dev-dashboard
dev-dashboard: ## Run oceanbase-dashboard in dev mode
go run $(BUILD_FLAG) ./cmd/dashboard/main.go

.PHONY: dashboard-docker-build
dashboard-docker-build: ## build oceanbase-dashboard image
docker build -t ${DASHBOARD_IMG} -f build/Dockerfile.dashboard .

.PHONY: dashboard-docker-push
dashboard-docker-push: ## push oceanbase-dashboard image
docker push ${DASHBOARD_IMG}

0 comments on commit 9366966

Please sign in to comment.