mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
11 lines
360 B
Bash
11 lines
360 B
Bash
#!/usr/bin/env bash
|
|
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
|