From 68cf0ba4399a2b027a331b74142108b41d5fc0d0 Mon Sep 17 00:00:00 2001 From: Fedor Dikarev Date: Tue, 28 Jan 2025 22:26:38 +0100 Subject: [PATCH] run benchmark tests on small-metal runners (#10549) ## Problem Ref: https://github.com/neondatabase/cloud/issues/23314 We suspect some inconsistency in Benchmark tests runs could be due to different type of runners they are landed in. To have that aligned in both terms: failure rates and benchmark results, lets run them for now on `small-metal` servers and see the progress for the tests stability. ## Summary of changes --- .github/actionlint.yml | 1 + .github/workflows/build_and_test.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actionlint.yml b/.github/actionlint.yml index aec5b4ee75..ecff0cc70b 100644 --- a/.github/actionlint.yml +++ b/.github/actionlint.yml @@ -4,6 +4,7 @@ self-hosted-runner: - large - large-arm64 - small + - small-metal - small-arm64 - us-east-2 config-variables: diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index b23e3612d6..99658187a8 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -242,7 +242,7 @@ jobs: statuses: write contents: write pull-requests: write - runs-on: [ self-hosted, small ] + runs-on: [ self-hosted, small-metal ] container: image: ${{ needs.build-build-tools-image.outputs.image }}-bookworm credentials: @@ -1101,7 +1101,7 @@ jobs: state: 'closed', base: branch, }); - + const pr = pullRequests.data.find(pr => pr.merge_commit_sha === context.sha); const prNumber = pr ? pr.number : null;