From 53a63c2c042445c87cb8aca653efc11cc1ae51c3 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Tue, 30 Jul 2024 11:35:10 +0000 Subject: [PATCH] Switches amd64 runner with a self-hosted one There are some issues when trying to use the github runners for building the envoy rock, specifically when it comes to building and linking the envoy binary. The Runner can lose communication with the server due to CPU / Memory starvation, causing the runner to be terminated. The self-hosted runners are bigger, so the compilation time should be significantly smaller, and it shouldn't end up in resource starvation. --- .github/workflows/pull_request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index b33dd52..e0f9222 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -17,7 +17,7 @@ jobs: # pinning to use rockcraft 1.3.0 feature `entrypoint-service` rockcraft-revisions: '{"amd64": "1783", "arm64": "1784"}' arch-skipping-maximize-build-space: '["arm64"]' - platform-labels: '{"arm64": ["self-hosted", "Linux", "ARM64", "jammy"]}' + platform-labels: '{"amd64": ["self-hosted", "Linux", "AMD64", "jammy", "xlarge"], "arm64": ["self-hosted", "Linux", "ARM64", "jammy", "xlarge"]}' run-tests: uses: canonical/k8s-workflows/.github/workflows/run_tests.yaml@main needs: [build-and-push-arch-specifics]