Skip to content

Commit

Permalink
run-vmtest: consider all deployments rc unless it is kernel-patches/bpf
Browse files Browse the repository at this point in the history
I can't think of a good way to make this work. But currently, it would make tests fail
when running the action on libbpf/ci.
We need to rethink how we deal with "deployment", but for now, this is essentially considering
all deployments rc (and denylisitng more tests, including for kernel-patches/vmtest), but at least
we can have some coverage of libbpf/ci itself.

Signed-off-by: Manu Bretelle <[email protected]>
  • Loading branch information
chantra committed Sep 11, 2024
1 parent a63a6ab commit f1bc702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/vmtest/vmtest_selftests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set -euo pipefail
source "$(cd "$(dirname "$0")" && pwd)/helpers.sh"

ARCH=$(uname -m)
DEPLOYMENT=$(if [[ "$GITHUB_REPOSITORY" == *"-rc" ]]; then echo "rc"; else echo "prod"; fi)
DEPLOYMENT=$(if [[ "$GITHUB_REPOSITORY" == "kernel-patches/bpf" ]]; then echo "prod"; else echo "rc"; fi)

STATUS_FILE=/mnt/vmtest/exitstatus
OUTPUT_DIR=/mnt/vmtest
Expand Down

0 comments on commit f1bc702

Please sign in to comment.