Skip to content

Commit

Permalink
e2e-docs: Fix few typos and formatting errors
Browse files Browse the repository at this point in the history
Simple fixes for typos and formatting.
These were found when going through the README to understand KBS tests

Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
  • Loading branch information
bpradipt committed Jul 2, 2024
1 parent e6afc66 commit 31b347d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/cloud-api-adaptor/test/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ To use existing cluster which have already installed Cloud API Adaptor, you shou

## Attestation and KBS specific

We need artificats from trustee when do attestation test, to prepare trustee, do as following.
We need artifacts from the trustee repo when doing the attestation tests.
To prepare trustee, execute the following steps:

```
```sh
pushd ${cloud-api-adaptor-repo-dir}/src/cloud-api-adaptor/test
git clone https://github.com/confidential-containers/trustee.git
pushd trustee
Expand All @@ -65,23 +66,26 @@ popd
```

We need build and use the PodVM image:
```

```sh
pushd ${cloud-api-adaptor}
make podvm-builder podvm-binaries podvm-image
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, export following variables like:
```
To deploy the KBS service and test attestation related cases, export the following variables like:

```sh
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

As mentioned on the previous section, a properties file can be passed to the cloud provisioner that will be used to controll the provisioning operations. The properties are specific of each cloud provider though, see on the sections below.
As mentioned on the previous section, a properties file can be passed to the cloud provisioner that will be used to control the provisioning operations. The properties are specific of each cloud provider though, see on the sections below.

### AWS provision properties

Expand Down

0 comments on commit 31b347d

Please sign in to comment.