|
|
|
@ -30,26 +30,31 @@ jobs:
|
|
|
|
|
run: |
|
|
|
|
|
docker-compose stop
|
|
|
|
|
docker-compose up -d
|
|
|
|
|
cat logs/openIM.log >> "$GITHUB_OUTPUT"
|
|
|
|
|
|
|
|
|
|
- name: Stop all services
|
|
|
|
|
run: |
|
|
|
|
|
chmod +x ./scripts/stop_all.sh
|
|
|
|
|
./scripts/stop_all.sh
|
|
|
|
|
cat logs/openIM.log >> "$GITHUB_OUTPUT"
|
|
|
|
|
|
|
|
|
|
- name: Build all services
|
|
|
|
|
run: |
|
|
|
|
|
chmod +x ./scripts/build_all_service.sh
|
|
|
|
|
./scripts/build_all_service.sh
|
|
|
|
|
cat logs/openIM.log >> "$GITHUB_OUTPUT"
|
|
|
|
|
|
|
|
|
|
- name: Start all services
|
|
|
|
|
run: |
|
|
|
|
|
chmod +x ./scripts/start_all.sh
|
|
|
|
|
./scripts/start_all.sh
|
|
|
|
|
cat logs/openIM.log >> "$GITHUB_OUTPUT"
|
|
|
|
|
|
|
|
|
|
- name: Check all services
|
|
|
|
|
run: |
|
|
|
|
|
chmod +x ./scripts/check_all.sh
|
|
|
|
|
./scripts/check_all.sh
|
|
|
|
|
cat logs/openIM.log >> "$GITHUB_OUTPUT"
|
|
|
|
|
- name: Print openIM.log
|
|
|
|
|
run: |
|
|
|
|
|
cat -n logs/openIM.log
|
|
|
|
|