Skip to content

Commit 7598c0d

Browse files
authored
Merge pull request #953 from ttzeng/doc
doc: unify test images build with make
2 parents f935935 + bf94f56 commit 7598c0d

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

cmd/dlb_plugin/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,22 @@ master
232232

233233
We can test the plugin is working by deploying the provided example test images (dlb-libdlb-demo and dlb-dpdk-demo).
234234

235-
1. Create a pod running unit tests off the local Docker image:
235+
1. Build a Docker image and create a pod running unit tests off the local Docker image:
236236

237237
```bash
238+
$ make dlb-libdlb-demo
239+
...
240+
Successfully tagged intel/dlb-libdlb-demo:devel
241+
238242
$ kubectl apply -f ${INTEL_DEVICE_PLUGINS_SRC}/demo/dlb-libdlb-demo-pod.yaml
239243
pod/dlb-libdlb-demo-pod created
240244
```
241245

242246
```bash
247+
$ make dlb-dpdk-demo
248+
...
249+
Successfully tagged intel/dlb-dpdk-demo:devel
250+
243251
$ kubectl apply -f ${INTEL_DEVICE_PLUGINS_SRC}/demo/dlb-dpdk-demo-pod.yaml
244252
pod/dlb-dpdk-demo-pod created
245253
```

cmd/qat_plugin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,9 @@ To build the DPDK demo image:
263263

264264
```bash
265265
$ cd ${INTEL_DEVICE_PLUGINS_SRC}
266-
$ ./build-image.sh crypto-perf
266+
$ make crypto-perf
267267
...
268-
Successfully tagged crypto-perf:devel
268+
Successfully tagged intel/crypto-perf:devel
269269
```
270270

271271
##### Deploy the pod

cmd/vpu_plugin/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ We can test the plugin is working by deploying the provided example OpenVINO ima
144144
#### Build a Docker image with an classification example
145145

146146
```bash
147-
$ cd demo
148-
$ ./build-image.sh ubuntu-demo-openvino
147+
$ cd $(go env GOPATH)/src/github.com/intel/intel-device-plugins-for-kubernetes
148+
$ make ubuntu-demo-openvino
149149
...
150-
Successfully tagged ubuntu-demo-openvino:devel
150+
Successfully tagged intel/ubuntu-demo-openvino:devel
151151
```
152152

153153
#### Create a job running unit tests off the local Docker image

demo/intelvpu-job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
containers:
1515
-
1616
name: intelvpu-demo-job-1
17-
image: ubuntu-demo-openvino:devel
17+
image: intel/ubuntu-demo-openvino:devel
1818
imagePullPolicy: IfNotPresent
1919
command: [ "/do_classification.sh" ]
2020
resources:

0 commit comments

Comments
 (0)