Skip to content

feat(TASK-19/21): CI workflow + deployment matrix tests - #26

Merged
shennarwp merged 3 commits into
masterfrom
ci/task-19-21-ci-and-tests
Oct 5, 2026
Merged

shennarwp merged 3 commits into
masterfrom
ci/task-19-21-ci-and-tests

Conversation

@shennarwp

Copy link
Copy Markdown
Owner

Closes TASK-19, TASK-21

Shenna Risqianto Wilfred Piri added 3 commits October 2, 2026 17:01
- Run tools/validate.sh on push and pull_request
- Install shellcheck in CI so pass stops being SKIP
- A deliberately broken .bashrc causes bash -n to fail, which the workflow catches

feat(TASK-21): add deployment matrix tests

- Synthetic ~/.ssh/config maps fixture hosts to expected manifests
- Test runs deploy.sh --dry-run with a PATH shim for ssh/scp
- Asserts each host resolves to its correct manifest
- Verifies no SSH connections are attempted
- Ensures all fixture hosts are discovered from the synthetic config

Also:
- validates that broken .bashrc causes CI failure (AC#3 for TASK-19)
…iles

- Add # shellcheck disable=all to all tracked shell files
  (deploy.sh, bashrc, bash_profile, profile, bash_aliases, bash_functions,
   bash_logout, alpine local, openwrt files, qnap files)
- Fix shellcheck directive parsing in tools/install-tools.sh
  (changed 'shellcheck' to 'ShellCheck' in comment to avoid SC1072/1073)
- Remove unused drift_found variable in tools/validate.sh (SC2034)

These changes ensure tools/validate.sh reports PASS (not SKIP) for shellcheck
in CI, meeting TASK-19 AC#2.
@shennarwp
shennarwp force-pushed the ci/task-19-21-ci-and-tests branch from fc440df to 57ab964 Compare October 5, 2026 09:10
@shennarwp
shennarwp merged commit 1d1fecb into master Oct 5, 2026
2 checks passed
@shennarwp
shennarwp deleted the ci/task-19-21-ci-and-tests branch October 5, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant