mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-05 20:11:14 +08:00
feat: add more feature in scripts
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
parent
ada9acf218
commit
12695337e9
7
.github/weekly-digest.yml
vendored
Normal file
7
.github/weekly-digest.yml
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
# https://github.com/apps/weekly-digest/installations/new
|
||||
publishDay: sun
|
||||
canPublishIssues: true
|
||||
canPublishPullRequests: true
|
||||
canPublishContributors: true
|
||||
canPublishStargazers: true
|
||||
canPublishCommits: true
|
4
.github/workflows/openim-ci.yml
vendored
4
.github/workflows/openim-ci.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: OpenIMCI
|
||||
name: OpenIM CI
|
||||
|
||||
on:
|
||||
# main branch
|
||||
@ -64,7 +64,7 @@ jobs:
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
username: ${{ env.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build docker images for host arch and push images to registry
|
||||
|
@ -27,8 +27,8 @@ readonly BUCKET="openim-1306374445"
|
||||
readonly REGION="ap-beijing"
|
||||
readonly COS_RELEASE_DIR="openim-release"
|
||||
|
||||
# default cos command tool
|
||||
readonly COSTOOL="coscmd"
|
||||
# default cos command tool coscli or coscmd
|
||||
readonly COSTOOL="coscli"
|
||||
|
||||
# This is where the final release artifacts are created locally
|
||||
readonly RELEASE_STAGE="${LOCAL_OUTPUT_ROOT}/release-stage"
|
||||
@ -37,7 +37,7 @@ readonly RELEASE_IMAGES="${LOCAL_OUTPUT_ROOT}/release-images"
|
||||
|
||||
# OpenIM github account info
|
||||
readonly OPENIM_GITHUB_ORG=OpenIMSDK
|
||||
readonly OPENIM_GITHUB_REPO=openim
|
||||
readonly OPENIM_GITHUB_REPO=Open-IM-Server
|
||||
|
||||
readonly ARTIFACT=openim.tar.gz
|
||||
readonly CHECKSUM=${ARTIFACT}.sha1sum
|
||||
|
@ -24,7 +24,7 @@ release.run: release.verify release.ensure-tag
|
||||
|
||||
## release.verify: Check if a tool is installed and install it
|
||||
.PHONY: release.verify
|
||||
release.verify: tools.verify.git-chglog tools.verify.github-release tools.verify.coscmd
|
||||
release.verify: tools.verify.git-chglog tools.verify.github-release tools.verify.coscmd tools.verify.coscli
|
||||
|
||||
## release.tag: release the project
|
||||
.PHONY: release.tag
|
||||
|
@ -133,6 +133,7 @@ install.github-release:
|
||||
## install.coscli: Install coscli, used to upload files to cos
|
||||
# example: ./coscli cp/sync -r /home/off-line/docker-off-line/ cos://openim-1306374445/openim/image/amd/off-line/off-line/ -e cos.ap-guangzhou.myqcloud.com
|
||||
# https://cloud.tencent.com/document/product/436/71763
|
||||
# amd64
|
||||
.PHONY: install.coscli
|
||||
install.coscli:
|
||||
@wget -q https://ghproxy.com/https://github.com/tencentyun/coscli/releases/download/v0.13.0-beta/coscli-linux -O ${TOOLS_DIR}/coscli
|
||||
|
Loading…
x
Reference in New Issue
Block a user