Simplify our docker execution (#1124)
* Switch docker to no longer build a bundle separate from the kaleidoscope dir. Stop copying over a bunch of tarballs we don't need. * fix shellcheck * Stop copying the core-bundled copies of Kaleidoscope over to docker * Symlink our Kaleidoscope into the versions packaged into the arduino cores when running in docker. We need to do this to satisfy the sketch_header.h/sketch_footer.h system we use to be able to amend arduino sketches on avr and virtual. (This feature is not used by the core and may be removed in the future) * Reimplement docker-clean to do much less work and get the same result * Add a stub at docs for the docker test runnerpull/1127/head
parent
77c8f394df
commit
f5bbd61784
@ -0,0 +1,25 @@
|
||||
# Docker
|
||||
|
||||
It's possible to use Docker to run Kaleidoscope's test suite.
|
||||
|
||||
## Running tests in Docker
|
||||
|
||||
```
|
||||
# make docker-simulator-tests
|
||||
```
|
||||
|
||||
## Cleaning out stale data in the Docker image:
|
||||
|
||||
```
|
||||
# make docker-clean
|
||||
```
|
||||
|
||||
|
||||
## Removing the Kaleidoscope Docker image entirely:
|
||||
|
||||
```
|
||||
# docker volume rm kaleidoscope-persist
|
||||
# docker volume rm kaleidoscope-googletest-build
|
||||
# docker volume rm kaleidoscope-build
|
||||
# docker image rm kaleidoscope/docker
|
||||
```
|
Loading…
Reference in new issue