Debug logging

This commit is contained in:
Jip-Hop 2024-07-09 13:00:34 +02:00
parent 45df5d6b37
commit c7b79c7933
2 changed files with 4 additions and 2 deletions

View File

@ -88,5 +88,5 @@ jobs:
PYTHONUNBUFFERED: 1 PYTHONUNBUFFERED: 1
run: | run: |
sudo chown 0:0 jlmkr.py ./test/test-jlmkr sudo chown 0:0 jlmkr.py ./test/test-jlmkr
sudo bash ./test/test-jlmkr || sudo journalctl sudo bash ./test/test-jlmkr
sudo ./test/test.sh || sudo journalctl sudo ./test/test.sh

View File

@ -9,4 +9,6 @@ set -euo pipefail
# TODO: test jlmkr.py from inside another working directory, with a relative path to a config file to test if it uses the config file (and doesn't look for it relative to the jlmkr.py file itself) # TODO: test jlmkr.py from inside another working directory, with a relative path to a config file to test if it uses the config file (and doesn't look for it relative to the jlmkr.py file itself)
./jlmkr.py create --start --config=./templates/docker/config test ./jlmkr.py create --start --config=./templates/docker/config test
./jlmkr.py exec test journalctl
./jlmkr.py exec test systemctl status dockerd
./jlmkr.py exec test docker run hello-world ./jlmkr.py exec test docker run hello-world