Commit graph

74 commits

Author SHA1 Message Date
zowoq
29fa165297 darwin: sudo activation 2025-03-09 05:28:46 +00:00
zowoq
0cfefb375c tasks.py: use archive for deploy when the flake has file or path inputs 2025-01-19 22:37:12 +00:00
zowoq
dabf0339b9 tasks.py: use copy instead of archive for deploy
this is faster but it assumes that the flake inputs can be substituted on the target
2025-01-05 23:17:28 +00:00
zowoq
2caefe4bcb remove agenix 2024-12-19 01:10:59 +00:00
zowoq
36a9be1663 move hercules CI secrets to sops 2024-12-19 00:00:18 +00:00
zowoq
7478e0268a use nix to generate .sops.yaml 2024-12-19 00:00:18 +00:00
zowoq
8c7230ab7b tasks.py: fix darwin/nixos deploy 2024-10-24 00:17:27 +00:00
zowoq
9e7ba7ded3 tasks.py: simplify deploy, require host(s) input 2024-10-24 00:17:27 +00:00
zowoq
054c2f899d tasks.py: various
- drop build-local, reboot

- mkdocs -> docs

- remove systemctl from cleanup-gcroots
2024-10-24 00:17:27 +00:00
zowoq
5ce9567be2 darwin03: remove 2024-07-16 09:07:47 +00:00
zowoq
1f272cc6de tasks.py: switch to glob for update-sops-files
supported for updatekeys since 3.9.0
2024-07-11 09:19:51 +00:00
zowoq
11ba9e0a46 tasks.py: install: add build-on-remote, drop no-reboot 2024-07-06 01:34:21 +00:00
zowoq
907a7082ad secrets.yaml: move ssh host keys 2024-07-03 06:52:26 +00:00
zowoq
ab99be2fa7 docs: add linkcheck 2024-06-08 00:17:25 +00:00
zowoq
d7a8a6d964 tasks.py, devdoc/onboarding: add agenix 2024-05-22 05:50:01 +00:00
zowoq
1a8c37852b tasks.py: fix deploy 2024-05-16 10:46:40 +00:00
zowoq
4b682d296c darwin01: switch to new hardware 2024-05-16 04:58:33 +00:00
zowoq
5436700dd8 tasks.py: fix deploy username 2024-03-06 23:18:21 +00:00
zowoq
30d1f741c6 tasks.py: fix user for darwin deploy 2024-03-06 12:40:16 +00:00
zowoq
73e1cf8bf9 unpin terraform shell 2023-12-17 11:50:04 +00:00
zowoq
2115c300ba Revert "tasks.py: use upstream nixos-anywhere"
This reverts commit ce35954cc1.
2023-12-04 03:55:50 +00:00
zowoq
ce35954cc1 tasks.py: use upstream nixos-anywhere 2023-12-01 21:35:42 +00:00
zowoq
e18b71ab99 use sotp for TOTP secrets 2023-10-17 01:39:48 +00:00
zowoq
2eca43d7cd tasks.py: use nixos-anywhere from nixpkgs 2023-09-25 00:41:12 +00:00
zowoq
9f3c7b7c80 tasks.py: mypy fixes 2023-09-16 23:14:22 +00:00
zowoq
44f0a96e96 tasks.py: switch to nix flake archive for deploy 2023-09-15 00:36:13 +00:00
zowoq
9c1545b0ab refactor mkdocs
- use devshell instead of package

- build pages with hercules-ci.github-pages

- drop unnecessary packages restriction
2023-08-28 13:37:41 +00:00
zowoq
4e8a299404 darwin03: init 2023-07-17 10:54:55 +00:00
zowoq
9c4b508837 tasks.py: interim support for deploying darwin02 2023-06-06 08:52:37 +00:00
zowoq
5e5678ec15 build0*: move into /hosts 2023-06-01 01:04:53 +00:00
zowoq
098cd362db merge terraform flake 2023-05-22 10:18:26 +00:00
zowoq
df9aa7a9dd tasks.py: get hosts from flake 2023-05-20 23:42:13 +00:00
zowoq
0b4d4f17dc tasks.py: refactor install, print-keys 2023-05-18 01:02:33 +00:00
zowoq
155d604bac tasks.py: various
- add install, print_keys

- drop scan_age_keys
2023-05-10 02:56:38 +00:00
zowoq
3d2ec06ddb services/hound: remove 2023-05-10 01:00:54 +00:00
zowoq
486311ad29 shell: refactor, reduce size
- drop treefmt, accessible via `nix fmt`

- drop mkdocs, accessible via `inv mkdocs`

this halves the size of the devshell
2023-05-04 08:38:23 +10:00
Jörg Thalheim
e5e5fff9c3
tasks/deploy: fix flake path 2023-03-25 10:44:53 +00:00
zowoq
c35f3a85d9 tasks.py: don't use root
also explicitly set hostname for nixos deploy
2023-03-25 14:36:57 +10:00
zowoq
4673b5c485 tasks.py: remove format_disks, nixos_install, setup_secret 2023-03-19 09:44:39 +10:00
Jörg Thalheim
56c57b7cb7 tasks.py: fix rsync ignoring some file changes
in the nix store timestamps are not correct.
2023-03-19 09:35:15 +10:00
bors[bot]
6922403954
Merge #483
483: various r=Mic92 a=zowoq



Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
2023-03-17 17:47:18 +00:00
zowoq
723eaa5e36 tasks.py: format 2023-03-17 13:36:07 +10:00
zowoq
59aa029934 tasks.py: skip empty repos when updating hound 2023-03-17 11:33:19 +10:00
zowoq
f1738b6e64 tasks.py: add update-terraform 2023-03-15 18:20:54 +10:00
zowoq
ecd3b935b2 tasks.py: merge update-hound.py script 2023-03-13 07:21:26 +10:00
zowoq
e4c39c0af3 tasks.py: misc fixes 2023-03-13 07:21:26 +10:00
Jörg Thalheim
447094bb01 change deployment to use flake only 2023-03-08 14:25:58 +10:00
zowoq
16962b3a09 tasks.py: add ssh-to-age to shell and update comments 2023-02-07 12:22:46 +10:00
zowoq
b0fcba7020 tasks: add update_hound_repos 2023-01-17 06:47:47 +10:00
zowoq
1733575efe tasks.py: add .ruff_cache, result* to excludes 2023-01-10 06:47:06 +10:00