Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/pr-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Free disk space
# The micro-VM guest image/kernel + cloud-hypervisor + kind node image +
# control-plane images + snapshots are tight on the ~14GB runner disk.
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
df -h /
- name: Check disk space
# Current runners have enough space; deleting preinstalled SDKs costs ~22s.
run: df -h /
- name: Cache micro-VM assets
id: microvm-assets
uses: actions/cache@v4
Expand Down
5 changes: 5 additions & 0 deletions hack/run-e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ set -o errexit -o nounset -o pipefail
ROOT="$(git rev-parse --show-toplevel)"
cd "${ROOT}"

# Build only for the Kind node's host architecture, not every .ko.yaml platform.
# shellcheck disable=SC2155 # safe initialization

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I don't think you need this line anymore, since we're capturing goarch seperately. it doesn't fail in shellcheck.net without it.

goarch=$(go env GOARCH)
export KO_DEFAULTPLATFORMS="linux/${goarch}"

# Runs the E2E tests against a local Kind cluster.
#
# This wraps hack/run-e2e.sh with the same Kind-specific environment that
Expand Down
Loading