The unit tests are simulating a run for entrypoint. It creates some dummy config.sh and runsvc.sh and makes sure the logic behind entrypoint.sh is correct. Unfortunately the entrypoint.sh contains some sections that are not mockable so I had to put some logic in there too. Testing includes for now: - the normal scenario - the normal non-ephemeral scenario - the configuration failure scenario Also tested the entrypoint.sh on a real runner, still works as expected. |
||
|---|---|---|
| .. | ||
| patched | ||
| supervisor | ||
| Dockerfile | ||
| Dockerfile.dindrunner | ||
| Dockerfile.ubuntu.1804 | ||
| Makefile | ||
| entrypoint.sh | ||
| logger.sh | ||
| modprobe | ||
| startup.sh | ||