Skip to content

Commit

Permalink
ci: filter both 14 and 64 disks in CI
Browse files Browse the repository at this point in the history
github ci runner is allocating both 14 and 64 Gb disks to the setup.
CI currently hard codes the lsblk with a 14G filter.
This PR updates the filter to use either 14G or 64G disks.

Signed-off-by: subhamkrai <[email protected]>
  • Loading branch information
subhamkrai committed Nov 16, 2023
1 parent 68ef7c8 commit 5d31c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/github-action-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -xeEo pipefail
# VARIABLES #
#############
: "${FUNCTION:=${1}}"
: "${BLOCK:=$(sudo lsblk --paths | awk '/14G/ {print $1}' | head -1)}"
: "${BLOCK:=$(sudo lsblk --paths | awk '/14G/ || /64G/ {print $1}' | head -1)}"

# source https://krew.sigs.k8s.io/docs/user-guide/setup/install/
install_krew() {
Expand Down

0 comments on commit 5d31c33

Please sign in to comment.