Skip to content

Commit da6c82d

Browse files
authored
Merge pull request #258 from vbedida79/patch-100624-3
tests_l2: Update readme formatting
2 parents 07a7563 + 2e60268 commit da6c82d

File tree

1 file changed

+32
-12
lines changed

1 file changed

+32
-12
lines changed

tests/l2/README.md

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,19 @@ After provisioning Intel hardware features on RHOCP, the respective hardware res
1010
### Verify Intel® Software Guard Extensions (Intel® SGX) Provisioning
1111
This [SampleEnclave](https://github.com/intel/linux-sgx/tree/master/SampleCode/SampleEnclave) application workload from the Intel SGX SDK runs an Intel SGX enclave utilizing the EPC resource from the Intel SGX provisioning.
1212
* Build the container image.
13-
14-
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/sgx/sgx_build.yaml```
13+
```
14+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/sgx/sgx_build.yaml
15+
```
1516

1617
* Deploy and run the workload.
1718

18-
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/sgx/sgx_job.yaml```
19+
```
20+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/sgx/sgx_job.yaml
21+
```
1922

2023
* Check the results.
21-
```$ oc get pods
24+
```
25+
$ oc get pods
2226
intel-sgx-job-4tnh5 0/1 Completed 0 2m10s
2327
intel-sgx-workload-1-build 0/1 Completed 0 30s
2428
```
@@ -36,11 +40,15 @@ This workload runs [clinfo](https://github.com/Oblomov/clinfo) utilizing the i91
3640

3741
* Build the workload container image.
3842

39-
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/clinfo_build.yaml ```
43+
```
44+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/clinfo_build.yaml
45+
```
4046

4147
* Deploy and execute the workload.
4248

43-
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/clinfo_job.yaml```
49+
```
50+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/clinfo_job.yaml
51+
```
4452

4553
* Check the results.
4654
```
@@ -73,11 +81,15 @@ This workload runs ```hwinfo``` utilizing the i915 resource from GPU provisionin
7381

7482
* Build the workload container image.
7583

76-
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/hwinfo_build.yaml ```
84+
```
85+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/hwinfo_build.yaml
86+
```
7787

7888
* Deploy and execute the workload.
7989

80-
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/hwinfo_job.yaml```
90+
```
91+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/hwinfo_job.yaml
92+
```
8193

8294
* Check the results
8395
```
@@ -117,19 +129,27 @@ This workload runs [qatlib](https://github.com/intel/qatlib) sample tests using
117129

118130
Please replace the credentials in buildconfig yaml with your RedHat account login credentials.
119131

120-
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/qat/qatlib_build.yaml ```
132+
```
133+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/qat/qatlib_build.yaml
134+
```
121135

122136
* Create SCC intel-qat-scc for Intel QAT based workload, if this SCC is not created
123137

124-
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/qatlib_scc.yaml```
138+
```
139+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/qatlib_scc.yaml
140+
```
125141
126142
* Create the intel-qat service account to use intel-qat-scc
127143

128-
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/qatlib_rbac.yaml```
144+
```
145+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/qatlib_rbac.yaml
146+
```
129147

130148
* Deploy the qatlib workload job with intel-qat service account
131149

132-
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/qat/qatlib_job.yaml```
150+
```
151+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/qat/qatlib_job.yaml
152+
```
133153

134154
* Check the results.
135155
```

0 commit comments

Comments
 (0)