mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-14 16:30:47 +01:00
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (mypy, mypy) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (pylint, pylint) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (rest, ) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (shellcheck, shellcheck) (push) Waiting to run
Python tests / test (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / lib-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
testsAndMisc had no '- deploy:' line, so Ship reported 'pushed, not deployed'. scripts/deploy.sh fast-forwards ~/src/testsAndMisc to origin/main, keeps unrelated local edits, and health-checks HEAD = origin/main plus the tracked hooks. bats: 7/7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
1.3 KiB
JSON
31 lines
1.3 KiB
JSON
{
|
|
"intent": "testsAndMisc declares a deploy command, so Ship can deploy a pushed change instead of reporting 'pushed, not deployed'.",
|
|
"scope": [
|
|
"scripts/deploy.sh (new), CLAUDE.md Commands, linux_configuration/tests/test_deploy.bats (new)",
|
|
"Non-goal: refreshing copies the sudo installers put under /usr/local or /etc"
|
|
],
|
|
"changes": [
|
|
"scripts/deploy.sh fast-forwards ~/src/testsAndMisc to origin/main (pull --ff-only), keeps unrelated local edits, refuses on collision",
|
|
"Health check: on main, HEAD = origin/main, core.hooksPath = linux_configuration/.githooks; exits non-zero otherwise",
|
|
"CLAUDE.md Commands gains '- deploy: `scripts/deploy.sh`'"
|
|
],
|
|
"verification": [
|
|
{
|
|
"command": "bats linux_configuration/tests/test_deploy.bats",
|
|
"result": "pass",
|
|
"evidence": "red first (deploy.sh missing, exit 127); then 7/7 ok: ff, idempotent, keeps WIP, refuses collision, hooks unwired fails, off-main fails, CLAUDE.md line"
|
|
},
|
|
{
|
|
"command": "shellcheck scripts/deploy.sh",
|
|
"result": "pass",
|
|
"evidence": "no findings"
|
|
}
|
|
],
|
|
"risks": [
|
|
"Live checkout carries kuhy's uncommitted edits; an incoming commit touching them makes deploy fail rather than overwrite"
|
|
],
|
|
"rollback": [
|
|
"git revert this commit; the live checkout stays where the last deploy left it"
|
|
]
|
|
}
|