Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c41d7fb403 |
@@ -207,10 +207,14 @@ jobs:
|
|||||||
[ "$(docker exec "$SMOKE" dsh --version)" = "$V" ]
|
[ "$(docker exec "$SMOKE" dsh --version)" = "$V" ]
|
||||||
[ "$(docker exec "$SMOKE" pnpm --version)" = "$PNPM_VERSION" ]
|
[ "$(docker exec "$SMOKE" pnpm --version)" = "$PNPM_VERSION" ]
|
||||||
[ "$(docker exec "$SMOKE" awk '/^Uid:/{print $2}' /proc/1/status)" = "1000" ]
|
[ "$(docker exec "$SMOKE" awk '/^Uid:/{print $2}' /proc/1/status)" = "1000" ]
|
||||||
# The workspace doctor must be installed, executable and silent on a
|
# The workspace doctor must be installed, executable and able to read
|
||||||
# fresh volume (no registry yet). Its report goes to stdout, so the
|
# a state volume. --help is the strict presence check; --check may
|
||||||
# exit code is the assertion.
|
# legitimately answer 1 (something to report) on a fresh volume, so
|
||||||
docker exec "$SMOKE" dsh-workspace-doctor.mjs --check > /dev/null
|
# only 2 — the tool itself failed — is a build failure.
|
||||||
|
docker exec "$SMOKE" dsh-workspace-doctor.mjs --help > /dev/null
|
||||||
|
DOCTOR_RC=0
|
||||||
|
docker exec "$SMOKE" dsh-workspace-doctor.mjs --check > /dev/null || DOCTOR_RC=$?
|
||||||
|
[ "$DOCTOR_RC" -le 1 ]
|
||||||
OK=""
|
OK=""
|
||||||
for i in $(seq 1 30); do
|
for i in $(seq 1 30); do
|
||||||
if docker exec "$SMOKE" node -e '
|
if docker exec "$SMOKE" node -e '
|
||||||
|
|||||||
Reference in new issue
Block a user