mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 00:35:25 +03:00
fix perf_speedy report (escaping ") (#8655)
The report currently chokes on quotes in the commit message (see
550aa48fc5
). Rather than trying to
correctly excape things in Bash, this PR delegates the quote handling to
jq, because having to deal with Bash embedded in YAML is hard enough.
CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
parent
fa475a1359
commit
29c2577fa2
@ -116,7 +116,7 @@ jobs:
|
|||||||
GCRED: $(GOOGLE_APPLICATION_CREDENTIALS_CONTENT)
|
GCRED: $(GOOGLE_APPLICATION_CREDENTIALS_CONTENT)
|
||||||
- template: ../daily_tell_slack.yml
|
- template: ../daily_tell_slack.yml
|
||||||
parameters:
|
parameters:
|
||||||
success-message: '$(cat $(Build.StagingDirectory)/perf-results.json | jq . | jq -sR ''"perf for ''"$COMMIT_LINK"'':```\(.)```"'')'
|
success-message: $(jq --arg stats "$(cat $(Build.StagingDirectory)/perf-results.json)" --arg link "$COMMIT_LINK" -n '"perf for " + $link + ":```" + $stats + "```"')
|
||||||
|
|
||||||
- job: perf_http_json
|
- job: perf_http_json
|
||||||
timeoutInMinutes: 120
|
timeoutInMinutes: 120
|
||||||
|
Loading…
Reference in New Issue
Block a user