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>
pull/507/head
Xinwei Xiong 12 months ago committed by GitHub
parent 454bf97e3f
commit b865fb1264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
name: Execute Scripts
name: OpenIM Start Execute Scripts
on:
push:
@ -27,20 +27,23 @@ jobs:
uses: actions/checkout@v2
- name: Start Docker Compose
run: |
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.

Before

Width:  |  Height:  |  Size: 420 KiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 58 KiB

Loading…
Cancel
Save