fix: fix start scripts (#501)

* fix: fix start scripts

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>

* feat: add openim ci

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>

* feat: add bash scripts

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>

---------

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong
2023-07-12 15:44:06 +08:00
committed by GitHub
parent 454bf97e3f
commit b865fb1264
6 changed files with 12 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
name: Execute Scripts
name: OpenIM Start Execute Scripts
on:
push:
@@ -30,17 +30,20 @@ jobs:
run: |
docker-compose stop
docker-compose up -d
sleep 60
- name: Stop all services
run: |
chmod +x ./scripts/stop_all.sh
./scripts/stop_all.sh
shell: bash
- name: Build all services
run: |
chmod +x ./scripts/build_all_service.sh
./scripts/build_all_service.sh
cat logs/openIM.log
shell: bash
- name: Start all services
run: |
@@ -48,16 +51,19 @@ jobs:
./scripts/start_all.sh
cat logs/openIM.log
continue-on-error: true
shell: bash
- name: Check all services
run: |
chmod +x ./scripts/check_all.sh
./scripts/check_all.sh
cat logs/openIM.log
shell: bash
continue-on-error: true
- name: Print openIM.log
run: |
cat -n logs/openIM.log
cat logs/openIM.log
cat logs/openIM.log >> "$GITHUB_OUTPUT"
shell: bash
continue-on-error: true

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long