Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5761 from ryansavino/sev-ci-fixes
Browse files Browse the repository at this point in the history
Sev ci fixes for `k8s_delete_all` and updating the simple-kbs
  • Loading branch information
jepio authored Sep 1, 2023
2 parents 7f5a015 + b4d365d commit 021bf58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions integration/kubernetes/confidential/sev.bats
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ load "${TESTS_REPO_DIR}/integration/kubernetes/confidential/lib.sh"

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

Expand Down
2 changes: 1 addition & 1 deletion versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ externals:
simple-kbs:
description: "Simple KBS that hosts key storage with release policies"
url: "https://github.com/confidential-containers/simple-kbs.git"
tag: "0.1.1"
tag: "v0.1.3"

sonobuoy:
description: "Tool to run kubernetes e2e conformance tests"
Expand Down

0 comments on commit 021bf58

Please sign in to comment.