mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 14:29:19 +08:00
feat: save all images file
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
+4
-4
@@ -30,7 +30,7 @@ scripts/
|
||||
│ └── LICENSE_TEMPLATES # Template for license file
|
||||
├── README.md # Readme file for scripts directory
|
||||
├── advertise.sh # Script for advertisement services
|
||||
├── batch_start_all.sh # Script to start all services in batch
|
||||
├── batch_start-all.sh # Script to start all services in batch
|
||||
├── build.cmd # Windows build command script
|
||||
├── build_all_service.sh # Script to build all services
|
||||
├── build_push_k8s_images.sh # Script to build and push images for Kubernetes
|
||||
@@ -39,7 +39,7 @@ scripts/
|
||||
├── coverage.awk # AWK script for coverage report generation
|
||||
├── coverage.sh # Script for generating coverage reports
|
||||
├── docker_check_service.sh # Docker specific service check script
|
||||
├── docker_start_all.sh # Script to start all services in a docker environment
|
||||
├── docker-start-all-all.sh # Script to start all services in a docker environment
|
||||
├── ensure_tag.sh # Script to ensure proper tagging of docker images
|
||||
├── enterprise # Scripts specific to enterprise version
|
||||
│ ├── check_all.sh # Check status of all enterprise services
|
||||
@@ -78,10 +78,10 @@ scripts/
|
||||
├── path_info.sh # Script containing path information
|
||||
├── openim-push.sh # Script to start push service
|
||||
├── release.sh # Script to perform release process
|
||||
├── start_all.sh # Script to start all services
|
||||
├── start-all.sh # Script to start all services
|
||||
├── openim-crontask.sh # Script to start cron jobs
|
||||
├── openim-rpc.sh # Script to start RPC service
|
||||
├── stop_all.sh # Script to stop all services
|
||||
├── stop-all.sh # Script to stop all services
|
||||
└── style_info.sh # Script containing style related information
|
||||
```
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ else
|
||||
fi
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
openim::log::success "all service build success, run 'make start' or './scripts/start_all.sh'"
|
||||
openim::log::success "all service build success, run 'make start' or './scripts/start-all.sh'"
|
||||
else
|
||||
openim::log::error "make build Error, script exits"
|
||||
fi
|
||||
|
||||
@@ -29,8 +29,8 @@ readonly ENV_FILE=${ENV_FILE:-${OPENIM_ROOT}/scripts/install/environment.sh}
|
||||
|
||||
# 定义关联数组,其中键是模板文件,值是对应的输出文件 (en: Defines an associative array where the keys are the template files and the values are the corresponding output files.)
|
||||
declare -A TEMPLATES=(
|
||||
["${OPENIM_ROOT}/deployments/templates/env_template.yaml"]="${OPENIM_OUTPUT_SUBPATH}/bin/.env"
|
||||
["${OPENIM_ROOT}/deployments/templates/openim.yaml"]="${OPENIM_OUTPUT_SUBPATH}/bin/openim_config.yaml"
|
||||
["${OPENIM_ROOT}/deployments/templates/env_template.yaml"]="${OPENIM_ROOT}/.env"
|
||||
["${OPENIM_ROOT}/deployments/templates/openim.yaml"]="${OPENIM_ROOT}/openim_config.yaml"
|
||||
)
|
||||
|
||||
for template in "${!TEMPLATES[@]}"; do
|
||||
|
||||
@@ -105,13 +105,13 @@ go.build: go.build.verify $(addprefix go.build., $(addprefix $(PLATFORM)., $(BIN
|
||||
.PHONY: go.start
|
||||
go.start:
|
||||
@echo "===========> Starting openim"
|
||||
@$(ROOT_DIR)/scripts/start_all.sh
|
||||
@$(ROOT_DIR)/scripts/start-all.sh
|
||||
|
||||
## go.stop: Stop openim
|
||||
.PHONY: go.stop
|
||||
go.stop:
|
||||
@echo "===========> Stopping openim"
|
||||
@$(ROOT_DIR)/scripts/stop_all.sh
|
||||
@$(ROOT_DIR)/scripts/stop-all.sh
|
||||
|
||||
## go.check: Check openim
|
||||
.PHONY: go.check
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright © 2023 OpenIM. All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Don't put the space between "="
|
||||
openim_msggateway="openim-msggateway"
|
||||
msg_gateway_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
||||
|
||||
msg_name="openim-rpc-msg"
|
||||
msg_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
||||
|
||||
push_name="openim-push"
|
||||
push_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
||||
push_source_root="$OPENIM_ROOT/cmd/openim-push/"
|
||||
|
||||
openim_msgtransfer="openim-msgtransfer"
|
||||
msg_transfer_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
||||
msg_transfer_service_num=4
|
||||
|
||||
cron_task_name="openim-crontask"
|
||||
cron_task_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
||||
|
||||
cmd_utils_name="openim-cmdutils"
|
||||
cmd_utils_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
||||
|
||||
# Global configuration file default dir
|
||||
config_path="$OPENIM_ROOT/config/config.yaml"
|
||||
configfile_path="$OPENIM_ROOT/config"
|
||||
|
||||
# service filename
|
||||
service_names=(
|
||||
# api service filename
|
||||
"openim-api"
|
||||
# rpc service filename
|
||||
"openim-rpc-user"
|
||||
"openim-rpc-friend"
|
||||
"openim-rpc-group"
|
||||
"openim-rpc-auth"
|
||||
"openim-rpc-conversation"
|
||||
"openim-rpc-third"
|
||||
"openim-crontask"
|
||||
"${openim_msggateway}"
|
||||
"${openim_msgtransfer}"
|
||||
"${msg_name}"
|
||||
"${push_name}"
|
||||
# "${sdk_server_name}"
|
||||
)
|
||||
Regular → Executable
Reference in New Issue
Block a user