Skip to content

Commit

Permalink
libvirt: update readme
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 0a103cc commit 42e5d7e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/cloud-api-adaptor/test/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ 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}/test/e2e
pushd ${cloud-api-adaptor-repo-dir}/src/cloud-api-adaptor/test/e2e
git clone https://github.com/confidential-containers/trustee.git
pushd trustee
git checkout $(../../../hack/yq-shim.sh '.git.kbs.reference' ../../../versions.yaml)
Expand All @@ -72,7 +72,12 @@ popd
```
Then extract the PodVM image and use it following [extracting-the-qcow2-image](../../podvm/README.md#extracting-the-qcow2-image)

To deploy the KBS service and test attestation related cases, set `export DEPLOY_KBS=yes`.
To deploy the KBS service and test attestation related cases, export following variables like:
```
export DEPLOY_KBS=yes
export KBS_IMAGE=$(./hack/yq-shim.sh '.oci.kbs.registry' ./versions.yaml)
export KBS_IMAGE_TAG=$(./hack/yq-shim.sh '.oci.kbs.tag' ./versions.yaml)
````
## Provision file specifics
Expand Down

0 comments on commit 42e5d7e

Please sign in to comment.