Merge pull request #11026 from ldoktor/e2e-resources

ci.ocp: Override default runtimeclass CPU resources
This commit is contained in:
Wainer Moschetta 2025-04-15 10:33:35 -03:00 committed by GitHub
commit ff9fb19f11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,6 +26,9 @@ info "Install and configure kata into the test cluster"
export SELINUX_PERMISSIVE="no"
"${script_dir}/cluster/install_kata.sh" || die "Failed to install kata-containers"
info "Overriding KATA_RUNTIME cpu resources"
oc patch "runtimeclass/${KATA_RUNTIME}" -p '{"overhead": {"podFixed": {"cpu": "50m"}}}'
info "Run test suite: ${suite}"
test_status='PASS'
"${script_dir}/run_${suite}_test.sh" || test_status='FAIL'