From 1bec376eed7ac77dd796ae86e09c565f0cab8c83 Mon Sep 17 00:00:00 2001 From: Sambhav Jain Date: Mon, 12 Feb 2024 18:12:18 -0800 Subject: [PATCH] Disable third party builds (on push to main) until we migrate to self-hosted runners (#38) We're hitting `no space left on device` errors during llvm and stablehlo builds with the free GitHub hosted runners, which come with limited disk space allocations. Cleaning up the runners as recommended [here](https://github.com/orgs/community/discussions/25678), [here](https://github.com/orgs/community/discussions/26351) and https://github.com/actions/runner-images/issues/2875 have helped partially (increase root mount from 20G to 47G) but it still isn't enough for some builds. Temporarily disable the 3p builds on push to main (they will still run as non-merge gating on PRs), and re-enable once self-hosted runners are setup. --- .github/workflows/bazelBuildAndTestLlvm.yml | 13 +++++++------ .github/workflows/bazelBuildAndTestStablehlo.yml | 13 +++++++------ .github/workflows/bazelBuildAndTestTorchmlir.yml | 13 +++++++------ 3 files changed, 21 insertions(+), 18 deletions(-) diff --git a/.github/workflows/bazelBuildAndTestLlvm.yml b/.github/workflows/bazelBuildAndTestLlvm.yml index ec740831..18802a14 100644 --- a/.github/workflows/bazelBuildAndTestLlvm.yml +++ b/.github/workflows/bazelBuildAndTestLlvm.yml @@ -13,12 +13,13 @@ on: paths: - 'deps.bzl' - '.github/workflows/bazelBuildAndTestLlvm.yml' - push: - branches: - - main - paths: - - 'deps.bzl' - - '.github/workflows/bazelBuildAndTestLlvm.yml' + # TODO: Use self-hosted runners as we hit disk space issues with GitHub hosted runners + # push: + # branches: + # - main + # paths: + # - 'deps.bzl' + # - '.github/workflows/bazelBuildAndTestLlvm.yml' workflow_dispatch: # Ensure that only a single job or workflow using the same diff --git a/.github/workflows/bazelBuildAndTestStablehlo.yml b/.github/workflows/bazelBuildAndTestStablehlo.yml index ea215da5..9079e872 100644 --- a/.github/workflows/bazelBuildAndTestStablehlo.yml +++ b/.github/workflows/bazelBuildAndTestStablehlo.yml @@ -13,12 +13,13 @@ on: paths: - 'deps.bzl' - '.github/workflows/bazelBuildAndTestStablehlo.yml' - push: - branches: - - main - paths: - - 'deps.bzl' - - '.github/workflows/bazelBuildAndTestStablehlo.yml' + # TODO: Use self-hosted runners as we hit disk space issues with GitHub hosted runners + # push: + # branches: + # - main + # paths: + # - 'deps.bzl' + # - '.github/workflows/bazelBuildAndTestStablehlo.yml' workflow_dispatch: # Ensure that only a single job or workflow using the same diff --git a/.github/workflows/bazelBuildAndTestTorchmlir.yml b/.github/workflows/bazelBuildAndTestTorchmlir.yml index 90ead6b9..11ea520c 100644 --- a/.github/workflows/bazelBuildAndTestTorchmlir.yml +++ b/.github/workflows/bazelBuildAndTestTorchmlir.yml @@ -13,12 +13,13 @@ on: paths: - 'deps.bzl' - '.github/workflows/bazelBuildAndTestTorchmlir.yml' - push: - branches: - - main - paths: - - 'deps.bzl' - - '.github/workflows/bazelBuildAndTestTorchmlir.yml' + # TODO: Use self-hosted runners as we hit disk space issues with GitHub hosted runners + # push: + # branches: + # - main + # paths: + # - 'deps.bzl' + # - '.github/workflows/bazelBuildAndTestTorchmlir.yml' workflow_dispatch: # Ensure that only a single job or workflow using the same