From b2d684df6ba079d89ef11d1178a9bd90aa47fe8d Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong (cubxxw)" <3293172751nss@gmail.com> Date: Sat, 6 Jan 2024 10:41:29 +0800 Subject: [PATCH] update openim environment and status Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com> --- .github/workflows/openimci.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/openimci.yml b/.github/workflows/openimci.yml index 9b45c8c7c..be17490e0 100644 --- a/.github/workflows/openimci.yml +++ b/.github/workflows/openimci.yml @@ -36,13 +36,13 @@ env: GO_VERSION: "1.19" GOLANGCI_VERSION: "v1.50.1" - jobs: openim: name: Test with go ${{ matrix.go_version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} permissions: contents: write + pull-requests: write environment: name: openim strategy: @@ -109,6 +109,9 @@ jobs: openim-start: name: Test OpenIM install/start on ${{ matrix.os }} runs-on: ${{ matrix.os }} + permissions: + contents: write + pull-requests: write environment: name: openim strategy: @@ -126,6 +129,7 @@ jobs: - name: Run OpenIM make install start run: | sudo make install + sleep 30 # - name: Check the OpenIM environment and status # run: | @@ -146,6 +150,9 @@ jobs: uses: thollander/actions-comment-pull-request@v2 with: message: | + > [!TIP] + > Run make install to check the status + ### Docker Images: ``` ${{ env.images }} @@ -159,6 +166,9 @@ jobs: execute-scripts: name: Execute OpenIM Script On ${{ matrix.os }} runs-on: ${{ matrix.os }} + permissions: + contents: write + pull-requests: write environment: name: openim strategy: @@ -246,6 +256,9 @@ jobs: openim-test-build-image: name: Build OpenIM Docker Image runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write environment: name: openim steps: @@ -267,7 +280,7 @@ jobs: run: | sudo make init sudo make image - + - name: Check the OpenIM environment and status run: | sudo echo "### Docker Images:" >> /tmp/out.txt @@ -280,5 +293,7 @@ jobs: uses: juliangruber/read-file-action@v1 with: path: /tmp/out.txt + - name: Echo /tmp/out.txt - run: echo "${{ steps.out.outputs.content }}" \ No newline at end of file + run: | + echo "${{ steps.out.outputs.content }}" \ No newline at end of file