aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-10-26 16:13:43 +0100
committerCrozet Sébastien <developer@crozet.re>2020-10-26 16:13:43 +0100
commit6f3f84df622ea0b753e5529bc34c0759bbe1f4a1 (patch)
treecfe7c500acecd2f194128c996b818be693c64cc5 /.github
parent12e85e0dc26bc0c6ebc00c52549fdacd4752c9fd (diff)
downloadrapier-6f3f84df622ea0b753e5529bc34c0759bbe1f4a1.tar.gz
rapier-6f3f84df622ea0b753e5529bc34c0759bbe1f4a1.tar.bz2
rapier-6f3f84df622ea0b753e5529bc34c0759bbe1f4a1.zip
Adjust the benchmark message argument.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rapier-ci-bench.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/rapier-ci-bench.yml b/.github/workflows/rapier-ci-bench.yml
index 8a43818..ade6a67 100644
--- a/.github/workflows/rapier-ci-bench.yml
+++ b/.github/workflows/rapier-ci-bench.yml
@@ -18,17 +18,17 @@ jobs:
BENCHBOT_TARGET_COMMIT: ${{ github.event.pull_request.head.sha }}
BENCHBOT_SHA: ${{ github.sha }}
BENCHBOT_HEAD_REF: ${{github.head_ref}}
- BENCHBOT_OTHER_BACKENDS: 'true'
+ BENCHBOT_OTHER_BACKENDS: 0
runs-on: ubuntu-latest
steps:
- name: Find commit SHA
if: github.ref == 'refs/heads/master'
run: |
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
shell: bash
run: curl -u $BENCHBOT_AMQP_USER:$BENCHBOT_AMQP_PASS
-i -H "content-type:application/json" -X POST
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"}' \ No newline at end of file
+ -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"}' \ No newline at end of file