oqyude 9b702ca171
test-runner / smoke (push) Successful in 2s
feat(ci): add shellcheck and PyYAML to the ci tool set
work/pxe-infra-automation is adding a Gitea Actions pipeline, and its
checks live in ci/check.sh: shellcheck over the build scripts AND over
the guest payload (image/*.sh, which is copied into the image verbatim),
plus a YAML validation of the workflow files.

That script exits 2 when shellcheck is missing, so on this runner —
where the job PATH is frozen into the systemd unit at activation time
and cannot gain a package without a nixos-rebuild — the linter has to
come from the ci devshell instead. shellcheck is now in lib/ci-tools.nix,
which is the single list both consumers use (the runner's hostPackages
and the devshell), so the two cannot drift apart.

The same list's plain python3 has no PyYAML, and ci/check.sh treats
the YAML validation as optional (it warns and skips). Wrapping python3
with PyYAML makes 'import yaml' work, so the validation actually runs
rather than silently skipping.

The nixos repo's own flake.lock pins nixpkgs; the pipeline uses that
revision instead of a floating nixos-unstable, because the nix registry
on sapphira is empty and 'nixpkgs#...' cannot resolve there.
2026-10-20 16:17:27 +03:00
2026-05-04 20:23:20 +03:00
2026-08-11 02:31:00 +03:00
ref
2026-03-29 14:46:01 +03:00
2026-10-13 16:16:20 +03:00
2026-10-13 16:16:20 +03:00
2026-06-10 12:38:23 +03:00

I'm a super newbie who just posted my stuff here. Now maybe about intermediate

S
Description
My NixOS configuration
Readme
4.6 MiB
0 Stars 1 Watchers 0 Forks
Languages
Nix 82.8%
Python 9%
Shell 7.3%
Dockerfile 0.5%
Perl 0.4%