-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #904 from RockChinQ/version/3.4.0
Version/3.4.0
- Loading branch information
Showing
157 changed files
with
13,293 additions
and
2,074 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
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 |
---|---|---|
|
@@ -10,5 +10,4 @@ updates: | |
schedule: | ||
interval: "weekly" | ||
allow: | ||
- dependency-name: "yiri-mirai-rc" | ||
- dependency-name: "openai" |
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,24 @@ | ||
name: Build Dev Image | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-dev-image: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Generate Tag | ||
id: generate_tag | ||
run: | | ||
# 获取分支名称,把/替换为- | ||
echo ${{ github.ref }} | sed 's/refs\/heads\///g' | sed 's/\//-/g' | ||
echo ::set-output name=tag::$(echo ${{ github.ref }} | sed 's/refs\/heads\///g' | sed 's/\//-/g') | ||
- name: Login to Registry | ||
run: docker login --username=${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Build Docker Image | ||
run: | | ||
docker buildx create --name mybuilder --use | ||
docker build -t rockchin/langbot:${{ steps.generate_tag.outputs.tag }} . --push |
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,52 @@ | ||
name: Build Release Artifacts | ||
|
||
on: | ||
workflow_dispatch: | ||
## 发布release的时候会自动构建 | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build-artifacts: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Check version | ||
id: check_version | ||
run: | | ||
echo $GITHUB_REF | ||
# 如果是tag,则去掉refs/tags/前缀 | ||
if [[ $GITHUB_REF == refs/tags/* ]]; then | ||
echo "It's a tag" | ||
echo $GITHUB_REF | ||
echo $GITHUB_REF | awk -F '/' '{print $3}' | ||
echo ::set-output name=version::$(echo $GITHUB_REF | awk -F '/' '{print $3}') | ||
else | ||
echo "It's not a tag" | ||
echo $GITHUB_REF | ||
echo ::set-output name=version::${GITHUB_REF} | ||
fi | ||
- name: Make Temp Directory | ||
run: | | ||
mkdir -p /tmp/langbot_build_web | ||
cp -r . /tmp/langbot_build_web | ||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '22' | ||
- name: Build Web | ||
run: | | ||
cd /tmp/langbot_build_web/web | ||
npm install | ||
npm run build | ||
- name: Package Output | ||
run: | | ||
cp -r /tmp/langbot_build_web/web/dist ./web | ||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: langbot-${{ steps.check_version.outputs.version }}-all | ||
path: . |
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
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 |
---|---|---|
@@ -1,10 +1,13 @@ | ||
version: "3" | ||
|
||
services: | ||
qchatgpt: | ||
image: rockchin/qchatgpt:latest | ||
langbot: | ||
image: rockchin/langbot:latest | ||
volumes: | ||
- ./data:/app/data | ||
- ./plugins:/app/plugins | ||
restart: on-failure | ||
# 根据具体环境配置网络 | ||
ports: | ||
- 5300:5300 # 供 WebUI 使用 | ||
- 2280-2290:2280-2290 # 供消息平台适配器方向连接 | ||
# 根据具体环境配置网络 |
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
File renamed without changes.
Empty file.
Empty file.
Oops, something went wrong.