Pierre Penninckx
3e63cb2e12
switch databasebackup contract to new contract style ( #372 )
...
Co-authored-by: ibizaman <ibizapeanut@gmail.com>
2024-11-26 20:07:36 +00:00
Pierre Penninckx
47dffd2a2f
switch backup contract to new contract style ( #367 )
...
Co-authored-by: ibizaman <ibizapeanut@gmail.com>
2024-11-26 19:59:07 +00:00
Pierre Penninckx
ba1e60a45e
rename backup hook attributes ( #371 )
...
Co-authored-by: ibizaman <ibizapeanut@gmail.com>
2024-11-26 19:15:36 +00:00
Pierre Penninckx
9ecbbde35a
Update remaining services to secret contract ( #358 )
2024-11-21 13:45:35 -08:00
Pierre Penninckx
5056d203d9
update secret contract and add sops module ( #356 )
...
I find these `mkProvider` and `mkRequester` functions really nice.
Also fixes doc generation related to https://github.com/NixOS/nixpkgs/pull/353513
2024-11-21 12:51:57 -08:00
Pierre Penninckx
a04dca9973
use secrets contract for restic ( #349 )
2024-11-17 21:12:14 +00:00
Pierre Penninckx
442c948a1a
more contracts usage in Nextcloud and docs enhancement ( #345 )
2024-11-13 21:43:12 +00:00
Pierre Penninckx
431dd058c5
Backup contracts for files and databases ( #344 )
...
This PR continues the work started in
https://github.com/ibizaman/selfhostblocks/pull/314
I had to create my own PR since I couldn't add commits on the fork.
---------
Co-authored-by: sivertism <10866270+sivertism@users.noreply.github.com>
2024-11-12 20:40:52 +00:00
ibizaman
52fc7e29a9
fix tests in lib
2024-10-24 22:27:47 +02:00
ibizaman
a589a9fe00
add contract test for secret contract
2024-10-24 22:27:47 +02:00
ibizaman
9d81a72d51
use hardcodedsecret in restic test
2024-10-24 22:27:47 +02:00
ibizaman
b134abeb6d
switch forgejo to new secrets contract
2024-10-24 22:27:47 +02:00
ibizaman
b85705ab74
switch authelia to new secrets contract
2024-10-24 22:27:47 +02:00
ibizaman
fa87855ee5
switch jellyfin to new secrets contract
...
This rabbit hole of a task lead me to:
- Introduce a hardcoded secret module that is a secret provider
for tests.
- Update LDAP and SSO modules to use the secret contract.
- Refactor the replaceSecrets library function to correctly fail
when a secret file could not be read.
2024-10-24 22:27:47 +02:00
Pierre Penninckx
5a0ae36c85
update secret contract ( #311 )
...
This makes the secret contract better (IMNSHO):
- Improves documentation, explains better the reasoning behind the
contract.
- Makes it easier to create an option implementing the secret contract.
2024-10-01 21:01:00 +00:00
ibizaman
253ec980d9
add forgejo service
2024-09-12 13:10:20 -07:00
Pierre Penninckx
d711e59f91
Wait actively on ldap being ready ( #286 )
...
Looks like this is needed in the end, other we get into some flaky
situations
2024-09-01 06:36:53 +00:00
Pierre Penninckx
eb791b3019
flake.lock: Update ( #244 )
...
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock )
GitHub Action.
```
Flake lock file updates:
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/9ca3f649614213b2aaf5f1e16ec06952fe4c2632?narHash=sha256-7EXDb5WBw%2Bd004Agt%2BJHC/Oyh/KTUglOaQ4MNjBbo5w%3D' (2024-05-27)
→ 'github:nixos/nixpkgs/71e91c409d1e654808b2621f28a327acfdad8dc2?narHash=sha256-GnR7/ibgIH1vhoy8cYdmXE6iyZqKqFxQSVkFgosBh6w%3D' (2024-08-28)
```
### Running GitHub Actions on this PR
GitHub Actions will not run workflows on pull requests which are opened
by a GitHub Action.
To run GitHub Actions workflows on this PR, run:
```sh
git branch -D update_flake_lock_action
git fetch origin
git checkout update_flake_lock_action
git commit --amend --no-edit
git push origin update_flake_lock_action --force
```
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-31 07:57:21 +00:00
Pierre Penninckx
1774b61cfe
Make backup cli tool correctly use secrets ( #284 )
2024-08-29 07:12:45 +00:00
Pierre Penninckx
f8fdf2f704
more fixes to the backup contract ( #281 )
...
This PR irons out the last issues with the backup contract and the
Restic implementation.
I could check it works backing up files to a local folder and to
Backblaze on my server.
2024-08-24 05:37:18 +00:00
Pierre Penninckx
10dea06ec1
Fix backup contract secrets ( #280 )
2024-08-22 19:48:36 +00:00
Pierre Penninckx
0fa4a42be7
switch all modules to backup block ( #279 )
2024-08-20 14:33:13 +00:00
ibizaman
6aed5ee6a5
add backup contract
2024-08-20 00:33:26 -07:00
ibizaman
9d0b56c6b8
add wip vaultwarden test to check auth
2024-08-14 21:03:02 -07:00
ibizaman
b64c1bf982
do not assume any formatting in curl function for tests
2024-08-14 20:21:32 -07:00
ibizaman
4c4b0c2e61
print curl command in tests
2024-08-14 20:21:32 -07:00
ibizaman
b466ca4346
make extraScript appear as its own subtest
2024-08-14 20:21:32 -07:00
ibizaman
8d68b3b411
fix tests after always restarting postgresql service
2024-08-14 20:19:52 -07:00
ibizaman
9cae26d23f
add sso tests to arr suite
2024-07-16 11:41:31 +02:00
ibizaman
9a2e4b7603
split tests between blocks and services
2024-07-16 11:23:21 +02:00
ibizaman
0f2f69f7a1
refactor tests to use common blocks
2024-07-16 10:53:29 +02:00
ibizaman
1b4247233b
refactor common test script
2024-07-12 19:01:41 +02:00
ibizaman
a4c4ee1670
add prometheus deluge exporter
2024-06-09 23:47:31 -07:00
ibizaman
848083dacc
break authFile for deluge into user and password attrset
2024-06-09 23:43:46 -07:00
ibizaman
d0d9010a30
refactor grocy tests
2024-06-09 23:41:24 -07:00
ibizaman
bcd844f7cc
commonalize monitoring tests
2024-06-09 23:28:09 -07:00
ibizaman
f7469cf096
commonalize grocy tests
2024-06-06 23:02:07 -07:00
ibizaman
30be3d1262
commonalize audiobookshelf tests
2024-06-06 22:57:31 -07:00
ibizaman
121371716b
commonalize nextcloud tests
2024-06-06 22:48:04 -07:00
ibizaman
c34a2f4c58
wait for nextcloud-cron to finish in test
2024-05-29 15:26:04 -07:00
ibizaman
cae83153c8
fix arr test
2024-05-27 17:13:05 -07:00
ibizaman
ebbd19c7fd
add vm test for home-assistant
2024-05-27 17:13:05 -07:00
ibizaman
97285e1833
add vm test for vaultwarden
2024-05-27 17:13:05 -07:00
ibizaman
8ebb3af1f0
rename autheliaProtect to vhosts
2024-05-27 17:13:05 -07:00
ibizaman
8ec12338fd
make config with secrets correctly generated
2024-05-27 17:13:05 -07:00
Pierre Penninckx
425e511792
flake.lock: Update ( #226 )
...
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock )
GitHub Action.
```
Flake lock file updates:
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/b06025f1533a1e07b6db3e75151caa155d1c7eb3?narHash=sha256-qrxvLS888pNJFwJdK%2Bhf1wpRCSQcqA6W5%2BOx202NDa0%3D' (2024-03-19)
→ 'github:nixos/nixpkgs/5672bc9dbf9d88246ddab5ac454e82318d094bb8?narHash=sha256-NLznXB5AOnniUtZsyy/aPWOk8ussTuePp2acb9U%2BISA%3D' (2024-04-16)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/83b68a0e8c94b72cdd0a6e547a14ca7eb1c03616?narHash=sha256-RquCuzxfy4Nr8DPbdp3D/AsbYep21JgQzG8aMH9jJ4A%3D' (2024-03-17)
→ 'github:Mic92/sops-nix/cc535d07cbcdd562bcca418e475c7b1959cefa4b?narHash=sha256-APoDs2GtzVrsE%2BZ9w72qpHzEtEDfuinWcNTN7zhwLxg%3D' (2024-04-15)
• Updated input 'sops-nix/nixpkgs':
'github:NixOS/nixpkgs/9af9c1c87ed3e3ed271934cb896e0cdd33dae212?narHash=sha256-huQT4Xs0y4EeFKn2BTBVYgEwJSv8SDlm82uWgMnCMmI%3D' (2024-03-15)
→ 'github:NixOS/nixpkgs/a0c9e3aee1000ac2bfb0e5b98c94c946a5d180a9?narHash=sha256-icE1IJE9fHcbDfJ0%2BqWoDdcBXUoZCcIJxME4lMHwvSM%3D' (2024-04-12)
• Updated input 'sops-nix/nixpkgs-stable':
'github:NixOS/nixpkgs/6dc11d9859d6a18ab0c5e5829a5b8e4810658de3?narHash=sha256-y%2Bl3eH53UlENaYa1lmnCBHusZb1kxBEFd2/c7lDsGpw%3D' (2024-03-16)
→ 'github:NixOS/nixpkgs/c27f3b6d8e29346af16eecc0e9d54b1071eae27e?narHash=sha256-RifMwYuKu5v6x6O65msKDTqKkQ9crGwOB7yr20qMEuE%3D' (2024-04-13)
```
### Running GitHub Actions on this PR
GitHub Actions will not run workflows on pull requests which are opened
by a GitHub Action.
To run GitHub Actions workflows on this PR, run:
```sh
git branch -D update_flake_lock_action
git fetch origin
git checkout update_flake_lock_action
git commit --amend --no-edit
git push origin update_flake_lock_action --force
```
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-17 16:06:29 -07:00
Pierre Penninckx
26f406db5f
fix arr setup ( #224 )
2024-04-10 23:52:24 -07:00
Pierre Penninckx
5179f7fc90
Add external storage app to Nextcloud ( #222 )
2024-04-08 22:41:52 -07:00
Pierre Penninckx
c488bb5bda
Add scripts to update postgresql ( #219 )
2024-04-02 22:17:29 -07:00
Pierre Penninckx
c75daa23c0
move CI to garnix ( #210 )
2024-03-19 22:50:41 -07:00