feat(ci): unify nf-update command for actions use

This commit is contained in:
arcnmx 2024-03-16 13:09:20 -07:00
parent f5ab8f6672
commit 567022fa5a
10 changed files with 204 additions and 67 deletions

View file

@ -4,3 +4,8 @@ set -eu
for node in reisen; do
nix eval --json "${NF_CONFIG_ROOT}#lib.generate.$node.users" | jq -M . > "$NF_CONFIG_ROOT/systems/$node/users.json"
done
for ciconfig in "${NF_CONFIG_FILES[@]}"; do
echo "processing ${ciconfig}..." >&2
nix run --argstr config "$NF_CONFIG_ROOT/ci/$ciconfig" -f "$NF_INPUT_CI" run.gh-actions-generate
done