mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 10:52:33 +08:00
update openim environment and status
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
parent
3d3721fee7
commit
b2d684df6b
21
.github/workflows/openimci.yml
vendored
21
.github/workflows/openimci.yml
vendored
@ -36,13 +36,13 @@ env:
|
|||||||
GO_VERSION: "1.19"
|
GO_VERSION: "1.19"
|
||||||
GOLANGCI_VERSION: "v1.50.1"
|
GOLANGCI_VERSION: "v1.50.1"
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
openim:
|
openim:
|
||||||
name: Test with go ${{ matrix.go_version }} on ${{ matrix.os }}
|
name: Test with go ${{ matrix.go_version }} on ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
environment:
|
environment:
|
||||||
name: openim
|
name: openim
|
||||||
strategy:
|
strategy:
|
||||||
@ -109,6 +109,9 @@ jobs:
|
|||||||
openim-start:
|
openim-start:
|
||||||
name: Test OpenIM install/start on ${{ matrix.os }}
|
name: Test OpenIM install/start on ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
environment:
|
environment:
|
||||||
name: openim
|
name: openim
|
||||||
strategy:
|
strategy:
|
||||||
@ -126,6 +129,7 @@ jobs:
|
|||||||
- name: Run OpenIM make install start
|
- name: Run OpenIM make install start
|
||||||
run: |
|
run: |
|
||||||
sudo make install
|
sudo make install
|
||||||
|
sleep 30
|
||||||
|
|
||||||
# - name: Check the OpenIM environment and status
|
# - name: Check the OpenIM environment and status
|
||||||
# run: |
|
# run: |
|
||||||
@ -146,6 +150,9 @@ jobs:
|
|||||||
uses: thollander/actions-comment-pull-request@v2
|
uses: thollander/actions-comment-pull-request@v2
|
||||||
with:
|
with:
|
||||||
message: |
|
message: |
|
||||||
|
> [!TIP]
|
||||||
|
> Run make install to check the status
|
||||||
|
|
||||||
### Docker Images:
|
### Docker Images:
|
||||||
```
|
```
|
||||||
${{ env.images }}
|
${{ env.images }}
|
||||||
@ -159,6 +166,9 @@ jobs:
|
|||||||
execute-scripts:
|
execute-scripts:
|
||||||
name: Execute OpenIM Script On ${{ matrix.os }}
|
name: Execute OpenIM Script On ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
environment:
|
environment:
|
||||||
name: openim
|
name: openim
|
||||||
strategy:
|
strategy:
|
||||||
@ -246,6 +256,9 @@ jobs:
|
|||||||
openim-test-build-image:
|
openim-test-build-image:
|
||||||
name: Build OpenIM Docker Image
|
name: Build OpenIM Docker Image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
environment:
|
environment:
|
||||||
name: openim
|
name: openim
|
||||||
steps:
|
steps:
|
||||||
@ -267,7 +280,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo make init
|
sudo make init
|
||||||
sudo make image
|
sudo make image
|
||||||
|
|
||||||
- name: Check the OpenIM environment and status
|
- name: Check the OpenIM environment and status
|
||||||
run: |
|
run: |
|
||||||
sudo echo "### Docker Images:" >> /tmp/out.txt
|
sudo echo "### Docker Images:" >> /tmp/out.txt
|
||||||
@ -280,5 +293,7 @@ jobs:
|
|||||||
uses: juliangruber/read-file-action@v1
|
uses: juliangruber/read-file-action@v1
|
||||||
with:
|
with:
|
||||||
path: /tmp/out.txt
|
path: /tmp/out.txt
|
||||||
|
|
||||||
- name: Echo /tmp/out.txt
|
- name: Echo /tmp/out.txt
|
||||||
run: echo "${{ steps.out.outputs.content }}"
|
run: |
|
||||||
|
echo "${{ steps.out.outputs.content }}"
|
||||||
Loading…
x
Reference in New Issue
Block a user