Skip to content

Commit

Permalink
Merge pull request #569 from catatsuy/feature-refactor-ci-yml-docker-…
Browse files Browse the repository at this point in the history
…command

Refactor docker run command for better readability in CI workflow.
  • Loading branch information
catatsuy authored Dec 29, 2024
2 parents 02f89c2 + 1e74bf7 commit c40855d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,14 @@ jobs:
continue-on-error: true
run: |
cd benchmarker
docker run --network host --add-host host.docker.internal:host-gateway -i private-isu-benchmarker /bin/benchmarker -t http://host.docker.internal -u /opt/userdata | tee benchmark_output.json || echo "BENCHMARK_FAILED=true" >> $GITHUB_ENV
docker run \
--network host \
--add-host host.docker.internal:host-gateway \
-i private-isu-benchmarker \
/bin/benchmarker \
-t http://host.docker.internal \
-u /opt/userdata \
| tee benchmark_output.json || echo "BENCHMARK_FAILED=true" >> $GITHUB_ENV
- name: Show logs
run: |
Expand Down

0 comments on commit c40855d

Please sign in to comment.