From e2210cbef85a48ff4288d7e487510c59b3bcd413 Mon Sep 17 00:00:00 2001 From: Tim McCormack Date: Thu, 28 Sep 2023 12:54:32 -0400 Subject: [PATCH] test: Fix provisioning tests by not trying to remove google-cloud-sdk (#1190) We're seeing intermittent provisioning failures with this message: ``` No apt package "google-cloud-sdk", but there is a snap with that name. Try "snap install google-cloud-sdk" E: Unable to locate package google-cloud-sdk Error: Process completed with exit code 100. ``` I couldn't figure out why, but all we care about is that there's enough disk space, so it's probably fine to just not bother with trying to remove it. --- .github/workflows/provisioning-tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/provisioning-tests.yml b/.github/workflows/provisioning-tests.yml index 586817d3ca..2b4b482c91 100644 --- a/.github/workflows/provisioning-tests.yml +++ b/.github/workflows/provisioning-tests.yml @@ -51,7 +51,10 @@ jobs: docker compose --version - name: free up disk space - run: sudo apt remove --purge -y ghc-* azure-cli google-cloud-sdk hhvm llvm-* dotnet-* powershell mono-* php* ruby* + # 2023-09-28: google-cloud-sdk removed from this list because it was intermittently + # unavailable as an apt package to remove, and might be migrating to snap. If more + # disk space is needed, see if the snap is installed, and remove that. + run: sudo apt remove --purge -y ghc-* azure-cli hhvm llvm-* dotnet-* powershell mono-* php* ruby* - name: set up requirements run: make requirements