* fix(ci): disk validation for docker volume mount * Use a symlink for lightwalletd cached state rather than mounting the same volume twice * Avoid "sdb seems to be busy" errors from docker by adding extra sleeps * Add a missing backslash * Remove symlink from workflow * Symlink lightwalletd path in entrypoint.sh * Retry on failure and check Docker logs * End ssh shell lines with explicit terminators * Delete Docker containers if Docker mount fails * Revert symlink changes in entrypoint.sh * Debug using lsof * Use correct lsof commands * Use correct syntax for lsof +D * fix(ci): make multiple validations before mounting Loop and checks for three conditions: The device `/dev/sdb` exists. No process is using the device `/dev/sdb`. No process is using the Docker volume directory. * fix: do not pre-mount docker volume The Docker version available with the newer `cos-stable` OS (https://cloud.google.com/release-notes#cos-109-17800-0-45) allows to mount the image when running it. Mounting it before makes the disk unavailable. * fix: remove extra `;` * fix: just confirm with `lsof` and show it's output * chore: reduce diff --------- Co-authored-by: teor <teor@riseup.net> |
||
---|---|---|
.. | ||
ISSUE_TEMPLATE | ||
PULL_REQUEST_TEMPLATE | ||
workflows | ||
CODEOWNERS | ||
dependabot.yml | ||
mergify.yml | ||
pull_request_template.md | ||
release-drafter.yml | ||
zbot.yml |