| 3 Oct 2021 |
nix-community-bot | [nix-community/infra] Mic92 pushed to update/nixops-nixpkgs-f2f8e282: sops-nix: bump - https://github.com/nix-community/infra/commit/d4d6918d706f17e1b7598b538880fea3a1e83983 | 08:53:58 |
nix-community-bot | [nix-community/infra] github-actions[bot] opened pull request #127: niv nixops-nixpkgs: update f2f8e282 -> a7eb89bd [open] - https://github.com/nix-community/infra/pull/127 | 08:53:59 |
nix-community-bot | [nix-community/infra] Mic92 pushed to update/nixpkgs-96606addcedb821d311c701788062b8864346838: sops-nix: bump - https://github.com/nix-community/infra/commit/d4d6918d706f17e1b7598b538880fea3a1e83983 | 08:54:12 |
nix-community-bot | [nix-community/infra] web-flow pushed to update/nixpkgs-96606addcedb821d311c701788062b8864346838: niv nixpkgs: update 96606add -> 6fa4e75f - https://github.com/nix-community/infra/commit/3d463c29ef10cd609fb854fec0c0425ca3eda144 | 08:54:13 |
nix-community-bot | [nix-community/infra] github-actions[bot] opened pull request #128: niv nixpkgs: update 96606add -> 6fa4e75f [open] - https://github.com/nix-community/infra/pull/128 | 08:54:14 |
nix-community-bot | [nix-community/infra] Mic92 pushed to morph: switch from nixops to morph - https://github.com/nix-community/infra/commit/5fbd27e925ee6d2909530aef0a9457925e863fc6 | 12:19:16 |
nix-community-bot | [nix-community/infra] Mic92 opened pull request #129: switch from nixops to morph [open] - https://github.com/nix-community/infra/pull/129 | 12:20:04 |
nix-community-bot | [nix-community/infra] Mic92 pushed to morph: switch from nixops to morph - https://github.com/nix-community/infra/commit/e3d7af5fc704ddfb812553f2525d9ea8fdbd3d20 | 12:22:42 |
nix-community-bot | [nix-community/infra] Mic92 synchronize pull request #129: switch from nixops to morph [open] - https://github.com/nix-community/infra/pull/129 | 12:22:43 |
nix-community-bot | [nix-community/infra] Mic92 closed pull request #127: niv nixops-nixpkgs: update f2f8e282 -> a7eb89bd [closed] - https://github.com/nix-community/infra/pull/127 | 12:23:01 |
nix-community-bot | [nix-community/infra] Mic92 deleted update/nixops-nixpkgs-f2f8e282 | 12:23:05 |
nix-community-bot | [nix-community/infra] Mic92 merged pull request #128: niv nixpkgs: update 96606add -> 6fa4e75f [closed] - https://github.com/nix-community/infra/pull/128 | 12:23:15 |
nix-community-bot | [nix-community/infra] web-flow pushed 2 commits to master: https://github.com/nix-community/infra/commit/b4cd597ac4be5eb34356ccb62d23d07f28dabd32 github-actions[bot]: niv nixpkgs: update 96606add -> 6fa4e75f Mic92: Merge pull request #128 from nix-community/update/nixpkgs-96606addcedb821d311c701788062b8864346838
niv nixpkgs: update 96606add -> 6fa4e75f | 12:23:16 |
nix-community-bot | [nix-community/infra] Mic92 deleted update/nixpkgs-96606addcedb821d311c701788062b8864346838 | 12:23:16 |
nix-community-bot | [nix-community/infra] Mic92 merged pull request #129: switch from nixops to morph [closed] - https://github.com/nix-community/infra/pull/129 | 14:16:29 |
nix-community-bot | [nix-community/infra] web-flow pushed 2 commits to master: https://github.com/nix-community/infra/commit/08c4bd16ca515b32198b7170c40bc0aa480f8506 Mic92: switch from nixops to morph Mic92: Merge pull request #129 from nix-community/morph
switch from nixops to morph | 14:16:30 |
nix-community-bot | [nix-community/infra] Mic92 deleted morph | 14:16:30 |
nix-community-bot | [nix-community/infra] Mic92 pushed to master: morph: substitute on remote hosts - https://github.com/nix-community/infra/commit/cf51a421385e083f0002dc8ea093553796309ea6 | 15:14:03 |
Mic92 | morph is super slow... I can deploy with this script https://github.com/Mic92/doctor-cluster-config/blob/master/fabfile.py all my hosts faster than and in parallel than this tool. | 15:15:24 |
ryantm | Can we just use nixos-rebuild --target-host ? | 20:25:36 |
ryantm | * Can we just use nixos-rebuild --target-host ? | 20:25:54 |
| 4 Oct 2021 |
Jonas Chevalier | since we're not depending on /var/keys anymore, it gives us a lot of freedom | 10:07:55 |
Mic92 | Is it possible to do nixos-rebuild --target-host in parallel somehow? | 12:59:18 |
Mic92 | I also see agenix and sops-nix as the big equalizer between all those deployment tools. | 12:59:49 |
Mic92 | One could almost use make for that I just don't like how it is behaving on errors. | 13:00:34 |
Jonas Chevalier | are you thinking make -J $(nproc) deploy? | 13:52:12 |
Jonas Chevalier | xargs and parallel are also fine | 13:52:56 |
Jonas Chevalier | we just need a small ./deploy.sh <hostname> <action> wrapper script that invokes nixos-rebuild --target-host "$1" "$2" under the hood | 13:54:53 |
Mic92 | How would one prefix the output of each deployment node? Can xargs or parallel do this? | 14:16:51 |
Jonas Chevalier | That could be the responsibility of the ./deploy.sh script? nixos-rebuild ... &| sed "s|^|[$1]: "? | 14:59:22 |