Skip to content

Commit bf7d81d

Browse files
authored
Serialize result generation and publishing (#499)
1 parent 1e0cbf3 commit bf7d81d

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎bench_runner/templates/_generate.src.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ name: _generate
2525
jobs:
2626
generate-results:
2727
runs-on: ubuntu-latest
28+
concurrency:
29+
group: generate-results
30+
cancel-in-progress: false
31+
queue: max
2832
steps:
2933
- name: Checkout benchmarking
3034
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -49,6 +53,7 @@ jobs:
4953
uses: EndBug/add-and-commit@cc9c08ba6c8df3b93a8f2db63e89b98368ae2ae8 #v11.1.1
5054
if: ${{ !inputs.dry_run }}
5155
with:
56+
pull: --rebase --autostash origin main
5257
add: "['results', 'README.md', 'RESULTS.md', 'longitudinal.svg', 'longitudinal.json', 'configs.svg', 'configs.json', 'memory_long.svg', 'memory_long.json', 'memory_configs.svg', 'memory_configs.json']"
5358
message: Benchmarking results for @${{ github.actor }}
5459
pull: --rebase --autostash origin main

‎bench_runner/templates/_publish.src.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ name: _publish
1818
jobs:
1919
mirror:
2020
runs-on: ubuntu-latest
21+
concurrency:
22+
group: publish-mirror
23+
cancel-in-progress: false
24+
queue: max
2125
steps:
2226
- name: Checkout benchmarking
2327
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

0 commit comments

Comments
 (0)