File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 6868 run : docker pull "${{ steps.docker_vars.outputs.image_tag }}"
6969
7070 - name : <Setup> Run ENGINE application docker container
71- run : docker run -d -p 50021:50021 "${{ steps.docker_vars.outputs.image_tag }}"
71+ id : run_container
72+ run : |
73+ CONTAINER_ID=$(docker run -d -p 50021:50021 "${{ steps.docker_vars.outputs.image_tag }}")
74+ echo "container_id=$CONTAINER_ID" >> "$GITHUB_OUTPUT"
7275
7376 # Docker コンテナが起動してから、レスポンスが返ってくるまで待機する
7477 # リトライは10回まで `/version` にアクセスしてレスポンスのステータスコードをチェック
9497 done
9598 exit 1
9699
100+ - name : <Test> Verify README display in container logs
101+ run : |
102+ LOGS=$(docker logs "${{ steps.run_container.outputs.container_id }}" 2>&1)
103+ if echo "$LOGS" | grep -q "利用規約"; then
104+ echo "README display check: PASSED"
105+ else
106+ echo "README display check: FAILED"
107+ echo "$LOGS" | head -n 10
108+ exit 1
109+ fi
110+
97111 - name : <Test> Test ENGINE application docker container
98112 run : uv run tools/check_release_build.py --skip_run_process --skip_check_manifest --dist_dir dist/
You can’t perform that action at this time.
0 commit comments