-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add alias for commands refactor: refactor create generic feat: tenant delete feat: parameter config for obcluster feat: tenant list chore: add ci and dockerfile for cli fix: check when creating tenant fix: bug in creating tenant and cluster feat: changepwd of obtenant feat: tenant upgrade, changepwd, switchover, show ,list, etc. feat: tenant management finish chore: make lint refactor: add status error handler chore: add alias for cmds feat: add more cmd for tenant management refactor: scale and show in cluster refactor: check if flags changed
- Loading branch information
1 parent
0c2fb7e
commit e621b00
Showing
45 changed files
with
2,332 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Build the manager binary | ||
FROM golang:1.22 as builder | ||
|
||
ARG GOPROXY=https://goproxy.io,direct | ||
ARG GOSUMDB=sum.golang.org | ||
|
||
WORKDIR /workspace | ||
# copy everything | ||
COPY . . | ||
RUN make cli-dep-install cli-build | ||
|
||
# start build docker image | ||
FROM openanolis/anolisos:8.8 | ||
WORKDIR / | ||
COPY --from=builder /workspace/bin/obocli . | ||
RUN yum update -y && yum clean all | ||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime | ||
|
||
ENTRYPOINT ["/obocli"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.