@@ -163,7 +163,7 @@ steps:
163
163
platform : x86_64.metal
164
164
plugins :
165
165
- docker#v3.8.0:
166
- image : rustvmm/dev:v16
166
+ image : rustvmm/dev:latest
167
167
always-pull : true
168
168
timeout_in_minutes : 5
169
169
` ` `
@@ -244,14 +244,15 @@ coverage before submitting a PR, run the coverage test:
244
244
245
245
` ` ` bash
246
246
CRATE="kvm-ioctls"
247
- # NOTE: This might not be the latest container version, you can check which one we're using
248
- # by looking into the .buildkite/autogenerate_pipeline.py file.
249
- LATEST=16
247
+ # NOTE: ` latest` should point to the latest version, but you can specify an exact
248
+ # one as we do with CONTAINER_VERSION in .buildkite/autogenerate_pipeline.py file.
249
+ TAG="latest"
250
+ docker pull rustvmm/dev:${TAG}
250
251
docker run --device=/dev/kvm \
251
252
-it \
252
253
--security-opt seccomp=unconfined \
253
254
--volume $(pwd)/${CRATE}:/${CRATE} \
254
- rustvmm/dev:v${LATEST }
255
+ rustvmm/dev:${TAG }
255
256
cd ${crate}
256
257
pytest --profile=devel rust-vmm-ci/integration_tests/test_coverage.py
257
258
```
@@ -292,7 +293,7 @@ steps:
292
293
platform : arm.metal
293
294
plugins :
294
295
- docker#v3.8.0:
295
- image: rustvmm/dev:v16
296
+ image : rustvmm/dev:latest
296
297
always-pull : true
297
298
` ` `
298
299
@@ -330,11 +331,15 @@ pipeline output. In its present form, the test cannot fail.
330
331
To run the test locally :
331
332
332
333
` ` ` bash
334
+ # NOTE: ` latest` should point to the latest version, but you can specify an exact
335
+ # one as we do with CONTAINER_VERSION in .buildkite/autogenerate_pipeline.py file.
336
+ TAG="latest"
337
+ docker pull rustvmm/dev:${TAG}
333
338
docker run --device=/dev/kvm \
334
339
-it \
335
340
--security-opt seccomp=unconfined \
336
341
--volume $(pwd)/${CRATE}:/${CRATE} \
337
- rustvmm/dev:v${LATEST }
342
+ rustvmm/dev:${TAG }
338
343
cd ${CRATE}
339
344
pytest rust-vmm-ci/integration_tests/test_benchmark.py -s
340
345
```
@@ -351,14 +356,15 @@ that autogenerates the pipeline. For example:
351
356
``` bash
352
357
cd ~ /vm-superio
353
358
CRATE=" vm-superio"
354
- # NOTE: This might not be the latest container version, you can check which one we're using
355
- # by looking into the .buildkite/autogenerate_pipeline.py file.
356
- LATEST=16
359
+ # NOTE: `latest` should point to the latest version, but you can specify an exact
360
+ # one as we do with CONTAINER_VERSION in .buildkite/autogenerate_pipeline.py file.
361
+ TAG=" latest"
362
+ docker pull rustvmm/dev:${TAG}
357
363
docker run -it \
358
364
--security-opt seccomp=unconfined \
359
365
--volume $( pwd) :/${CRATE} \
360
366
--volume ~ /.ssh:/root/.ssh \
361
- rustvmm/dev:v${LATEST }
367
+ rustvmm/dev:${TAG }
362
368
cd vm-superio
363
369
./rust-vmm-ci/test_run.py
364
370
```
0 commit comments