Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
test: Fix provisioning tests by ignoring maybe-missing google-cloud-sdk
Browse files Browse the repository at this point in the history
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 it's gone, so I'm
adding a wildcard. (It is also unlikely that there are any packages that we
*do* want that have that prefix.)
  • Loading branch information
timmc-edx committed Sep 28, 2023
1 parent d776687 commit c4b81c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/provisioning-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ 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*
# google-cloud-sdk has an asterisk because as of 2023-09-27 it
# is sometimes not appearing in the Ubuntu package lists,
# causing this removal to fail. Using a wildcard allows the
# missing package to be ignored because it expands to nothing.
run: sudo apt remove --purge -y ghc-* azure-cli google-cloud-sdk* hhvm llvm-* dotnet-* powershell mono-* php* ruby*

- name: set up requirements
run: make requirements
Expand Down

0 comments on commit c4b81c9

Please sign in to comment.