You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9cee47e
Browse filesBrowse the repository at this point in the historyBrowse files
Introduce a bats suite for the two shell scripts, run in CI alongside
shellcheck. Neither existed before, so every open shell bug in the
tracker sits in code with no test and no lint covering it.
The runner image is built FROM the action image on purpose: the scripts
need GNU xargs from findutils, and against the busybox xargs in a plain
alpine image the env_file tests fail for reasons unrelated to the code.
Tests drive a fake docker CLI from fixtures, so no Swarm is needed. A
test documenting an open bug calls skip with a link to the issue and
asserts the desired behaviour, so fixing the bug means deleting the skip
line rather than writing a new test. Issues 13, 19 and 21 each have one.
scripts/stack-wait.sh is now maintained as a fork rather than tracking
upstream, and its header says so. All shellcheck findings are resolved;
where word splitting is intentional the line carries an explanatory
disable instead of a change. One behaviour change: an unknown flag is
now rejected instead of being silently ignored.
Also adds a dependabot config covering both the workflows and the
Dockerfile base image, and bumps actions/checkout to v7.
Refs #13, #19, #21
0 commit comments