diff --git a/src/cloud-api-adaptor/test/e2e/README.md b/src/cloud-api-adaptor/test/e2e/README.md index 919f6e5d0..d5d4c45fe 100644 --- a/src/cloud-api-adaptor/test/e2e/README.md +++ b/src/cloud-api-adaptor/test/e2e/README.md @@ -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 diff --git a/src/cloud-api-adaptor/test/provisioner/provision.go b/src/cloud-api-adaptor/test/provisioner/provision.go index 1fd970fac..be5dcd06f 100644 --- a/src/cloud-api-adaptor/test/provisioner/provision.go +++ b/src/cloud-api-adaptor/test/provisioner/provision.go @@ -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