mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
CI: Add commit hash to HOS bencher reports (#37757)
Since we don't checkout servo in this job, bencher can't infer the
commit hash and we need to pass it manually.
Bencher documentation for --hash:
02034b83de/services/console/src/chunks/docs-explanation/branch-selection/en/hash.mdx
Testing: No testing. This could cause the HOS CI to fail, but wouldn't
block the MQ. This kind of CI change is quite difficult to test without
a lot of setup overhead. The change itself is trivial though, and the
expected damage would also be low (merge queue would still work).
Issue with the missing commit was:
Reported by @webbeef
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
parent
821e8a0d7a
commit
12faf09331
1 changed files with 6 additions and 1 deletions
7
.github/workflows/ohos.yml
vendored
7
.github/workflows/ohos.yml
vendored
|
@ -260,4 +260,9 @@ jobs:
|
||||||
echo "MODEL_NAME=$(hdc bugreport | head -n 20 | grep MarketName | awk '{for (i=2; i<NF; i++) printf $i " "; print $NF}' -)" >> $GITHUB_ENV
|
echo "MODEL_NAME=$(hdc bugreport | head -n 20 | grep MarketName | awk '{for (i=2; i<NF; i++) printf $i " "; print $NF}' -)" >> $GITHUB_ENV
|
||||||
- name: Uploading to bencher.dev
|
- name: Uploading to bencher.dev
|
||||||
run: |
|
run: |
|
||||||
bencher run --adapter json --file bench.json --project '${{ env.BENCHER_PROJECT }}' --token '${{ secrets.BENCHER_API_TOKEN }}' --github-actions '${{ secrets.GITHUB_TOKEN }}' --testbed="$MODEL_NAME"
|
bencher run --adapter json --file bench.json \
|
||||||
|
--hash '${{ github.sha }}' \
|
||||||
|
--project '${{ env.BENCHER_PROJECT }}' \
|
||||||
|
--token '${{ secrets.BENCHER_API_TOKEN }}' \
|
||||||
|
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
|
||||||
|
--testbed="$MODEL_NAME"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue