feat: add test changelog file

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
pull/921/head
Xinwei Xiong(cubxxw-openim) 2 years ago
parent 1e5aec48ef
commit 957625ddb7
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE

@ -102,6 +102,11 @@ install:
check: check:
@$(MAKE) go.check @$(MAKE) go.check
## check-component
.PHONY: check-component
check-component:
@$(MAKE) go.check-component
## tidy: tidy go.mod ✨ ## tidy: tidy go.mod ✨
.PHONY: tidy .PHONY: tidy
tidy: tidy:

@ -99,19 +99,19 @@ services:
command: minio server /data --console-address ':9090' command: minio server /data --console-address ':9090'
openim-server: openim-server:
# image: ghcr.io/openimsdk/openim-server:release-v3.2 # image: ghcr.io/openimsdk/openim-server:main
image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:release-v3.2 image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:main
# image: openim/openim-server:release-v3.2 # image: openim/openim-server:main
container_name: openim-server container_name: openim-server
# healthcheck: healthcheck:
# test: ["CMD-SHELL", "./scripts/check-all.sh"] test: ["CMD-SHELL", "./scripts/check-all.sh"]
# interval: 30s interval: 30s
# timeout: 10s timeout: 10s
# retries: 5 retries: 5
volumes: volumes:
- ${DATA_DIR}/_output/openim/logs:/openim/openim-server/logs - ./logs:/openim/openim-server/logs
- ${DATA_DIR}/config:/openim/openim-server/config - ./config:/openim/openim-server/config
- ${DATA_DIR}/scripts:/openim/openim-server/scripts - ./scripts:/openim/openim-server/scripts
restart: always restart: always
depends_on: depends_on:
- zookeeper - zookeeper

@ -42,6 +42,6 @@ fi
pushd "${OPENIM_ROOT}" >/dev/null pushd "${OPENIM_ROOT}" >/dev/null
${DOCKER_COMPOSE_COMMAND} up -d ${DOCKER_COMPOSE_COMMAND} up -d
sleep 60 sleep 60
${DOCKER_COMPOSE_COMMAND} ps
${DOCKER_COMPOSE_COMMAND} logs ${DOCKER_COMPOSE_COMMAND} logs
${DOCKER_COMPOSE_COMMAND} ps
popd >/dev/null popd >/dev/null

@ -1212,9 +1212,7 @@ function openim::util::get_server_ip() {
} }
function openim::util::onCtrlC() { function openim::util::onCtrlC() {
kill -9 "${do_sth_pid}" "${progress_pid}" "${countdown_pid}" echo -e "\n${t_reset}Ctrl+C Press it. It's exiting openim make init..."
echo
echo 'Ctrl+C is captured'
exit 1 exit 1
} }

@ -119,6 +119,12 @@ go.check:
@echo "===========> Checking openim" @echo "===========> Checking openim"
@$(ROOT_DIR)/scripts/check-all.sh @$(ROOT_DIR)/scripts/check-all.sh
## go.check-component: Check openim component
.PHONY: go.check-component
go.check-component:
@echo "===========> Checking openim component"
@$(ROOT_DIR)/scripts/install/openim-tools.sh openim::tools::pre-start
## go.build.verify: Verify that a suitable version of Go exists ## go.build.verify: Verify that a suitable version of Go exists
.PHONY: go.build.verify .PHONY: go.build.verify
go.build.verify: go.build.verify:

Loading…
Cancel
Save