Adjust the benchmark message argument.
This commit is contained in:
6
.github/workflows/rapier-ci-bench.yml
vendored
6
.github/workflows/rapier-ci-bench.yml
vendored
@@ -18,17 +18,17 @@ jobs:
|
|||||||
BENCHBOT_TARGET_COMMIT: ${{ github.event.pull_request.head.sha }}
|
BENCHBOT_TARGET_COMMIT: ${{ github.event.pull_request.head.sha }}
|
||||||
BENCHBOT_SHA: ${{ github.sha }}
|
BENCHBOT_SHA: ${{ github.sha }}
|
||||||
BENCHBOT_HEAD_REF: ${{github.head_ref}}
|
BENCHBOT_HEAD_REF: ${{github.head_ref}}
|
||||||
BENCHBOT_OTHER_BACKENDS: 'true'
|
BENCHBOT_OTHER_BACKENDS: 0
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Find commit SHA
|
- name: Find commit SHA
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
run: |
|
run: |
|
||||||
echo "::set-env name=BENCHBOT_TARGET_COMMIT::$BENCHBOT_SHA"
|
echo "::set-env name=BENCHBOT_TARGET_COMMIT::$BENCHBOT_SHA"
|
||||||
echo "::set-env name=BENCHBOT_OTHER_BACKENDS::false"
|
echo "::set-env name=BENCHBOT_OTHER_BACKENDS::1"
|
||||||
- name: Send 3D bench message
|
- name: Send 3D bench message
|
||||||
shell: bash
|
shell: bash
|
||||||
run: curl -u $BENCHBOT_AMQP_USER:$BENCHBOT_AMQP_PASS
|
run: curl -u $BENCHBOT_AMQP_USER:$BENCHBOT_AMQP_PASS
|
||||||
-i -H "content-type:application/json" -X POST
|
-i -H "content-type:application/json" -X POST
|
||||||
https://$BENCHBOT_AMQP_HOST/api/exchanges/$BENCHBOT_AMQP_VHOST//publish
|
https://$BENCHBOT_AMQP_HOST/api/exchanges/$BENCHBOT_AMQP_VHOST//publish
|
||||||
-d'{"properties":{},"routing_key":"benchmark","payload":"{ \"repository\":\"https://github.com/'$BENCHBOT_TARGET_REPO'\", \"branch\":\"'$GITHUB_REF'\", \"commit\":\"'$BENCHBOT_TARGET_COMMIT'\", \"other_backends\":\"'$BENCHBOT_OTHER_BACKENDS'\" }","payload_encoding":"string"}'
|
-d'{"properties":{},"routing_key":"benchmark","payload":"{ \"repository\":\"https://github.com/'$BENCHBOT_TARGET_REPO'\", \"branch\":\"'$GITHUB_REF'\", \"commit\":\"'$BENCHBOT_TARGET_COMMIT'\", \"other_backends\":'$BENCHBOT_OTHER_BACKENDS' }","payload_encoding":"string"}'
|
||||||
Reference in New Issue
Block a user