#18 Implement much faster nix-instantiate
-based parsing.
Some checks failed
Deploy NixOS System Configurations to Silver-Flame Hosts / deploy (push) Failing after 1m58s
Some checks failed
Deploy NixOS System Configurations to Silver-Flame Hosts / deploy (push) Failing after 1m58s
Trigger workflow.
This commit is contained in:
parent
08ed44657e
commit
1f02be1fd5
@ -35,8 +35,12 @@ jobs:
|
||||
chmod 600 /tmp/key
|
||||
- name: Derive host IPs
|
||||
run: |
|
||||
nix eval --json .#deploy.nodes --apply 'builtins.attrValues' |\
|
||||
jq -r '.[].hostname' | xargs echo > /tmp/hostlist
|
||||
nix-shell -p nixfmt-rfc-style
|
||||
nix-instantiate --parse flake.nix |\
|
||||
nixfmt |\
|
||||
grep 'hostname =' |\
|
||||
cut -d'"' -f2 |\
|
||||
xargs echo > /tmp/hostlist
|
||||
- name: Add host keys to known_hosts
|
||||
run: |
|
||||
mkdir -p ~/.ssh && touch ~/.ssh/known_hosts && chmod 600 ~/.ssh/known_hosts
|
||||
|
@ -33,7 +33,7 @@
|
||||
clusterInit = (hostConf.name == "bard");
|
||||
serverAddr = (if hostConf.name == "bard" then "" else "https://192.168.1.31:6443");
|
||||
# We are going to manage k8s resources separately from the infrastructure config
|
||||
manifests = { };
|
||||
manifests = { };
|
||||
};
|
||||
services.openiscsi = {
|
||||
enable = false;
|
||||
|
Loading…
Reference in New Issue
Block a user