Skip to content

Commit

Permalink
libvirt: enable e2e test and rollback TRUSTEE_REPO_PATH
Browse files Browse the repository at this point in the history
Fixes: #1825

Signed-off-by: Qi Feng Huo <[email protected]>
  • Loading branch information
Qi Feng Huo committed May 14, 2024
1 parent a5aee7a commit 6e467c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/cloud-api-adaptor/test/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ To use existing cluster which have already installed Cloud API Adaptor, you shou
We need artificats from trustee when do attestation test, to prepare trustee, do as following.

```
pushd ${cloud-api-adaptor-repo-dir}/src/cloud-api-adaptor/test/e2e
pushd ${cloud-api-adaptor-repo-dir}/src/cloud-api-adaptor/test
git clone https://github.com/confidential-containers/trustee.git
pushd trustee
git checkout $(../../../hack/yq-shim.sh '.git.kbs.reference' ../../../versions.yaml)
git checkout $(../../hack/yq-shim.sh '.git.kbs.reference' ../../versions.yaml)
pushd kbs
make CLI_FEATURES=sample_only cli
popd
Expand Down
2 changes: 1 addition & 1 deletion src/cloud-api-adaptor/test/provisioner/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type InstallOverlay interface {
const PodWaitTimeout = time.Second * 30

// trustee repo related base path
const TRUSTEE_REPO_PATH = "trustee"
const TRUSTEE_REPO_PATH = "../trustee"

func saveToFile(filename string, content []byte) error {
// Save contents to file
Expand Down

0 comments on commit 6e467c5

Please sign in to comment.