ibizaman
5b40cf3707
tests: wait automatically on authelia and lldap to start
...
I had issues with race conditions happening where authelia didn't start yet
when the test script was already testing the integration.
2025-10-22 03:33:17 +02:00
ibizaman
2cc2ab5195
mod: use more callPackage now that is passes shb lib too
2025-10-15 01:38:35 +02:00
ibizaman
6e64c7f8cf
mod: merge shb functions into lib
2025-10-15 01:20:00 +02:00
ibizaman
283e12d87d
test: merge functions into lib and set backdoor everywhere
2025-10-15 01:20:00 +02:00
ibizaman
9892f55ae2
mod: make imports explicit and remove system
2025-10-12 00:24:52 +02:00
ibizaman
bd0bd713fd
test: remove some tests that are annoying
2025-10-12 00:24:52 +02:00
ibizaman
3de3dad405
tests: assert user with unknown group cannot login with sso or ldap
2025-10-09 02:04:20 +02:00
ibizaman
969630c22b
revert added tests
...
This reverts commit ffa918aec6 .
It was merged incorrectly because I tricked the tests to succeed by accident.
2025-10-05 00:08:32 +02:00
ibizaman
1f38d42f19
open-webui: fix test in ci
2025-10-04 23:52:14 +02:00
ibizaman
ffa918aec6
tests: assert user with unknown group cannot login with sso or ldap
2025-10-04 23:52:14 +02:00
ibizaman
02b73d2dce
open-webui: init
2025-09-27 21:25:40 +02:00
sivert
2f785919d9
#100 Immich service
...
- Declarative SSO setup via json config file
- roleClaim via LDAP groups to automatically set admin privileges
- SSO tested manually, but not yet in playwright test
- Storage quota claim not yet implemented
- Authelia rule prevents access by non-members of
userGroup/adminUserGroup
2025-09-20 14:43:38 +02:00
ibizaman
98b4cc32b6
pinchflat: init
2025-09-17 10:59:12 +02:00
ibizaman
3f74b4ecc4
test: add dns record for authelia service
2025-09-17 10:59:12 +02:00
ibizaman
45c366c14c
wyoming-piper: fix voice test
2025-09-01 22:08:41 +02:00
ibizaman
12721fea39
authelia: add target to wait for
2025-08-25 11:50:06 +02:00
ibizaman
dd2fbf9ea8
test: disable verbose lldap debug output
2025-08-25 11:50:06 +02:00
ibizaman
f17d18f7bc
test: enable authelia debug output
2025-08-25 11:50:06 +02:00
ibizaman
af968c8163
test: add beforeHook option
2025-08-25 11:50:06 +02:00
ibizaman
ebd39bbe73
nextcloud: fix ldap and sso integration and add playwright tests
2025-08-25 11:50:06 +02:00
ibizaman
7717e39671
nextcloud: update username field label in tests
2025-08-25 11:50:06 +02:00
ibizaman
12a9c259d4
nextcloud: split cronjob test in separate test
2025-08-25 11:50:06 +02:00
ibizaman
c857fe8cf1
nextcloud: disable debugging output in tests
2025-08-25 11:50:06 +02:00
ibizaman
0a0c44e477
tests: remove useless test
2025-08-25 10:00:30 +02:00
ibizaman
8221d4fe9a
postgresql: update reference to psql binary
2025-08-25 10:00:30 +02:00
ibizaman
9195f93566
homeassistant: fix playwright test
2025-08-25 10:00:30 +02:00
ibizaman
b2c5637cfc
add debug output to authelia with mitmdump module
2025-08-19 13:36:46 +02:00
ibizaman
3184015d67
add debug output to lldap with mitmdump module
2025-08-19 13:36:46 +02:00
sivert
b4b70b175e
Update SSO setup for Audiobookshelf
...
More or less copied from jellyfin.
2025-08-18 23:22:04 +02:00
ibizaman
c9ee41b1d4
fine grained logging with mitmdump logger addon
2025-08-04 01:22:25 +02:00
ibizaman
67c2705f98
add mitmdump block
2025-07-31 23:21:57 +02:00
ibizaman
91580421be
add playwright test with ldap for forgejo
2025-07-24 23:12:33 +02:00
ibizaman
b50f45e17e
add declarative lldap using secrets contract
2025-07-18 23:51:27 +02:00
ibizaman
13f4064e93
rename ldap block to lldap
2025-07-12 21:47:55 +02:00
ibizaman
7efc153706
gracefully handle cases where no trace is found
2025-07-12 00:01:41 +02:00
ibizaman
82977bd239
declarative jellyfin setup with tests
2025-07-12 00:01:41 +02:00
ibizaman
07940cc408
move imports in a common place for jellyfin tests
2025-07-12 00:01:41 +02:00
ibizaman
b57ea2bda3
specify proto in tests as module option too
2025-07-12 00:01:41 +02:00
ibizaman
8d85cbd1be
allow to test login from server too
2025-07-12 00:01:41 +02:00
ibizaman
2377140b0c
add ssh backdoor to all jellyfin tests
2025-07-12 00:01:41 +02:00
ibizaman
221ea6244d
allow to set field selector in playwright tests
2025-07-12 00:01:41 +02:00
ibizaman
e4d1e3d7c2
use exec to run python playwright commands
2025-07-12 00:01:41 +02:00
ibizaman
afb062666f
allow to choose browser for playwright test
2025-07-12 00:01:41 +02:00
ibizaman
1ec2c11009
allow to choose jellyfin port
2025-07-12 00:01:41 +02:00
ibizaman
b603156930
add debug logging option to jellyfin
2025-07-12 00:01:41 +02:00
ibizaman
c6ef5cd405
make sure jellyfin actually started in tests
2025-07-12 00:01:41 +02:00
ibizaman
46a6c430ef
enable nginx access log for all tests
2025-07-12 00:01:41 +02:00
ibizaman
56d097d96d
change jellyfin subdomain
2025-07-12 00:01:41 +02:00
ibizaman
78f7cc5748
remove noop line
2025-07-12 00:01:41 +02:00
ibizaman
53dde94d98
explicitly disable memories app in nextcloud
...
Until https://github.com/ibizaman/selfhostblocks/issues/476 is fixed
2025-06-25 00:21:27 +02:00
ibizaman
a37c539e02
fix playwright test for nextcloud
2025-06-24 23:03:17 +02:00
ibizaman
574a566b97
fix voice test for home-assistant
2025-06-24 23:03:17 +02:00
ibizaman
5a1e9809bc
fix playwright test for home-assistant
2025-06-24 23:03:17 +02:00
ibizaman
6947475f2c
fix playwright test for forgejo
2025-06-24 23:03:17 +02:00
ibizaman
a0a233c847
fix nextcloud login test
2025-03-19 16:40:11 +01:00
ibizaman
719cf4dad4
create html report for playwright tests
2025-03-19 16:40:11 +01:00
ibizaman
c7a915a9a6
fix home-assistant basic login test
2025-03-19 16:40:11 +01:00
ibizaman
0c64452d07
add playwright test for home-assistant
2025-02-12 00:18:10 +01:00
ibizaman
51cc563fe8
add playwright test for hledger
2025-02-11 00:41:59 +01:00
ibizaman
82426a4f1f
add playwright test for grocy
2025-01-31 22:39:30 +01:00
ibizaman
3473117d12
no need for screenshot if there's a trace
2025-01-31 22:39:30 +01:00
ibizaman
71651bdc0e
add start of playwright test for audiobookshelf
2025-01-31 16:31:33 +01:00
ibizaman
6c9f0e50f7
add playwright test for arr services
2025-01-31 08:37:02 +01:00
ibizaman
c280b57bf5
add playwright test for nextcloud
2025-01-30 22:57:56 +01:00
ibizaman
d5293825e9
add option to create forgejo users declaratively
2025-01-26 22:39:27 +01:00
ibizaman
2c713ae9ad
add playwright test for forgejo
2025-01-26 22:39:27 +01:00
ibizaman
cf3442fb13
add playwright test for deluge
2025-01-26 17:32:41 +01:00
ibizaman
76d6c246e2
move indent function to lib
2025-01-26 17:32:41 +01:00
ibizaman
7bc7cd49cf
refactor extraScript in tests
2025-01-23 21:14:50 +01:00
ibizaman
b776bd07bc
refactor pkgs in tests
2025-01-23 21:14:50 +01:00
ibizaman
072979fce2
refactor domain and subdomain vars in tests
2025-01-23 21:14:50 +01:00
ibizaman
441907b134
refactor base module in tests
2025-01-23 21:14:50 +01:00
ibizaman
16f305b9f4
add alert when certs are close to expiring
2024-12-27 22:54:45 +01:00
ibizaman
9a7bcd374b
add phpfpm prometheus exporter
2024-12-23 01:20:05 +01:00
ibizaman
ab6de8de90
fix nextcloud ldap test
2024-12-17 21:57:20 +01:00
ibizaman
a8b29b243c
add voice option to home-assistant
2024-12-17 21:57:20 +01:00
Pierre Penninckx
30aa5dcc11
fix modules using backup contract ( #386 )
...
Co-authored-by: ibizaman <ibizapeanut@gmail.com>
2024-11-30 01:07:08 +00:00
Pierre Penninckx
34c4b75871
add test for all modules using backup contract ( #383 )
...
Co-authored-by: ibizaman <ibizapeanut@gmail.com>
2024-11-28 21:17:14 +00:00
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