Skip to content

Commit 021bf58

Browse files
authored
Merge pull request kata-containers#5761 from ryansavino/sev-ci-fixes
Sev ci fixes for `k8s_delete_all` and updating the simple-kbs
2 parents 7f5a015 + b4d365d commit 021bf58

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: integration/kubernetes/confidential/sev.bats

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ load "${TESTS_REPO_DIR}/integration/kubernetes/confidential/lib.sh"
2828

2929
# Delete all test services
3030
k8s_delete_all() {
31-
for file in $(ls "${TEST_DIR}/*.yaml") ; do
32-
# Removing extension to get the pod name
33-
local pod_name="${file%.*}"
34-
kubernetes_delete_by_yaml "${pod_name}" "${TEST_DIR}/${file}"
31+
for file in $(find "${TEST_DIR}" -name "*.yaml"); do
32+
# Removing prefix path and file extension to get the pod partial name
33+
local pod_partial_name=$(basename "${file%.*}")
34+
kubernetes_delete_by_yaml "${pod_partial_name}" "${file}"
3535
done
3636
}
3737

Diff for: versions.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ externals:
7272
simple-kbs:
7373
description: "Simple KBS that hosts key storage with release policies"
7474
url: "https://github.com/confidential-containers/simple-kbs.git"
75-
tag: "0.1.1"
75+
tag: "v0.1.3"
7676

7777
sonobuoy:
7878
description: "Tool to run kubernetes e2e conformance tests"

0 commit comments

Comments
 (0)