-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update docs gen Signed-off-by: ysicing <[email protected]>
- Loading branch information
Showing
193 changed files
with
371 additions
and
11,130 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,54 @@ | ||
name: Deploy | ||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [20] | ||
permissions: | ||
pages: write | ||
id-token: write | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: latest | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Setup Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
check-latest: true | ||
- name: install task | ||
run: | | ||
echo "install task" | ||
go install github.com/go-task/task/v3/cmd/task@latest | ||
- name: Build docs | ||
run: | | ||
task godoc | ||
- name: Install dependencies | ||
working-directory: docs | ||
run: pnpm install --frozen-lockfile=false | ||
- name: Build | ||
working-directory: docs | ||
run: pnpm run docs:build | ||
- uses: actions/configure-pages@v2 | ||
- uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: docs/.vitepress/dist | ||
- name: Deploy | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
--- | ||
sidebarTitle: qcadmin backup app | ||
sidebarOrder: 1 | ||
--- | ||
|
||
## 支持的环境 | ||
|
||
### Linux 发行版 | ||
|
||
* **Debian** *12(推荐), 11, 10* | ||
* **Ubuntu** *20.04, 18.04* | ||
* **CentOS** *7* | ||
* **Rocky** *9, 8* | ||
|
||
> 建议内核版本`5.14及之后版本` | ||
### 容器运行时 | ||
|
||
* 内置`containerd` | ||
* docker(本地已安装) | ||
|
||
> 多节点时不推荐混用 | ||
### k8s/k3s版本 | ||
|
||
* 对接已有k8s集群, 推荐1.21+版本 | ||
* 默认k3s版本为`1.24` | ||
|
||
## 要求和建议 | ||
|
||
* 最低资源要求: | ||
* 2 核虚拟 CPU | ||
* 4 GB 内存 | ||
* 40 GB 储存空间 | ||
|
||
* 操作系统要求: | ||
|
||
* 节点时间同步。 | ||
* `sudo`/`curl` 节点需已安装。 | ||
* 网络正常。 | ||
|
||
> * 建议您的操作系统环境足够干净 (不安装任何其他软件),否则可能会发生冲突。 | ||
## 使用 | ||
|
||
### 安装二进制 | ||
|
||
#### 1. 从源码安装 | ||
|
||
> 需要go环境,推荐使用`1.21` | ||
```bash | ||
# Clone the repo | ||
# Build and run the executable | ||
#make generate | ||
#make build | ||
task local | ||
task | ||
``` | ||
|
||
#### 2. 二进制安装 | ||
|
||
> 使用我们提供的编译二进制文件。可以从下面或者github获取 | ||
```bash | ||
# 稳定版本 / stable / tag (Recommended) | ||
curl -sfL https://pkg.qucheng.com/quickon/get.sh | sh - | ||
# 安装渠成平台 | ||
q init --provider quickon | ||
# 安装禅道DevOPS | ||
q init --provider devops | ||
# 一键安装 | ||
curl -sfL https://pkg.qucheng.com/quickon/install.sh | INSTALL_DOMAIN=example.com sh - | ||
``` | ||
|
||
#### 3. 包安装 | ||
|
||
> 目前仅提供deb或者rpm包方式安装。 | ||
```bash | ||
# debian | ||
echo "deb [trusted=yes] https://repo.qucheng.com/quickon/apt/ /" | tee /etc/apt/sources.list.d/quickon.list | ||
apt update | ||
apt search qcadmin | ||
apt install qcadmin | ||
# centos7 | ||
cat > /etc/yum.repos.d/quickon.repo << EOF | ||
[quickon] | ||
name=Quickon Repo | ||
baseurl=https://repo.qucheng.com/quickon/yum/ | ||
enabled=1 | ||
gpgcheck=0 | ||
EOF | ||
|
||
yum makecache | ||
yum install qcadmin | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.