From 0c588b68ea0efab304492da0a36089aea22e46bb Mon Sep 17 00:00:00 2001 From: Brian Ferris Date: Tue, 31 Jan 2023 10:53:21 -0800 Subject: [PATCH] fix: Bump validation workflows to use large machine instances (#1320) * Bump validation workflows to use large machine instances to avoid running out of heap memory when processing large feeds. Closes #1304. * Try using a label instead. * label => labels * Try yet another runner syntax. --- .github/workflows/acceptance_test.yml | 4 +++- .github/workflows/end_to_end.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/acceptance_test.yml b/.github/workflows/acceptance_test.yml index a49f312e8f..2f760f8136 100644 --- a/.github/workflows/acceptance_test.yml +++ b/.github/workflows/acceptance_test.yml @@ -127,7 +127,9 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} get-reports: needs: [ fetch-urls, pack-master, pack-snapshot ] - runs-on: ubuntu-latest + # We use machines with more memory to run validation, as large feeds + # can consume too much heap for default machine instances (see #1304). + runs-on: ubuntu-latest-4-cores strategy: matrix: ${{ fromJson(needs.fetch-urls.outputs.matrix) }} steps: diff --git a/.github/workflows/end_to_end.yml b/.github/workflows/end_to_end.yml index a8b25e1ef6..17e8a8b091 100644 --- a/.github/workflows/end_to_end.yml +++ b/.github/workflows/end_to_end.yml @@ -82,7 +82,9 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} run-on-data: needs: [ fetch-urls, pack-snapshot ] - runs-on: ubuntu-latest + # We use machines with more memory to run validation, as large feeds + # can consume too much heap for default machine instances (see #1304). + runs-on: ubuntu-latest-4-cores strategy: matrix: ${{ fromJson(needs.fetch-urls.outputs.matrix) }} steps: