mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
update openim environment and status
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
parent
624392ca59
commit
0c17eb6033
45
.github/workflows/openimci.yml
vendored
45
.github/workflows/openimci.yml
vendored
@ -135,12 +135,12 @@ jobs:
|
|||||||
- name: Check the OpenIM environment and status
|
- name: Check the OpenIM environment and status
|
||||||
id: docker_info
|
id: docker_info
|
||||||
run: |
|
run: |
|
||||||
sudo docker images | base64 > docker_images.txt
|
echo "images<<EOF" >> $GITHUB_ENV
|
||||||
sudo docker ps | base64 > docker_containers.txt
|
sudo docker images >> $GITHUB_ENV
|
||||||
IMAGES=$(cat docker_images.txt)
|
echo "EOF" >> $GITHUB_ENV
|
||||||
CONTAINERS=$(cat docker_containers.txt)
|
echo "containers<<EOF" >> $GITHUB_ENV
|
||||||
echo "::set-output name=images::$IMAGES"
|
sudo docker ps >> $GITHUB_ENV
|
||||||
echo "::set-output name=containers::$CONTAINERS"
|
echo "EOF" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Comment PR with message
|
- name: Comment PR with message
|
||||||
uses: ./
|
uses: ./
|
||||||
@ -158,7 +158,14 @@ jobs:
|
|||||||
uses: thollander/actions-comment-pull-request@v2
|
uses: thollander/actions-comment-pull-request@v2
|
||||||
with:
|
with:
|
||||||
message: |
|
message: |
|
||||||
|
### Docker Images:
|
||||||
|
```
|
||||||
|
${{ env.images }}
|
||||||
|
```
|
||||||
|
### Docker Processes:
|
||||||
|
```
|
||||||
|
${{ env.containers }}
|
||||||
|
```
|
||||||
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||||
|
|
||||||
execute-scripts:
|
execute-scripts:
|
||||||
@ -283,16 +290,16 @@ jobs:
|
|||||||
uses: thollander/actions-comment-pull-request@v2
|
uses: thollander/actions-comment-pull-request@v2
|
||||||
with:
|
with:
|
||||||
message: |
|
message: |
|
||||||
### Docker Build Images:
|
# ### Docker Build Images:
|
||||||
```
|
# ```
|
||||||
${{ readFile('docker_build_images.txt') }}
|
# ${{ readFile('docker_build_images.txt') }}
|
||||||
```
|
# ```
|
||||||
### Docker Images:
|
# ### Docker Images:
|
||||||
```
|
# ```
|
||||||
${{ readFile('docker_images.txt') }}
|
# ${{ readFile('docker_images.txt') }}
|
||||||
```
|
# ```
|
||||||
### Docker Processes:
|
# ### Docker Processes:
|
||||||
```
|
# ```
|
||||||
${{ readFile('docker_containers.txt') }}
|
# ${{ readFile('docker_containers.txt') }}
|
||||||
```
|
# ```
|
||||||
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user