Alexander Tomokhov
|
743129d6cb
|
uppercase PROVIDER variable value
|
2023-12-28 20:24:40 +04:00 |
|
Alexander Tomokhov
|
15f36551ad
|
fix: absent SSH_AUTHORIZED_KEY does not cause failure
|
2023-12-28 20:00:44 +04:00 |
|
Alexander Tomokhov
|
4920434aec
|
ci: sleep 1 before deleting secondary volume
|
2023-12-28 14:05:36 +04:00 |
|
Alexander Tomokhov
|
91c22466b1
|
Merge branch 'tests'
|
2023-12-28 13:47:19 +04:00 |
|
Alexander Tomokhov
|
6ece80adc2
|
update: system.autoUpgrade: no verbosity of nixos-rebuild
|
2023-12-28 13:30:25 +04:00 |
|
Alexander Tomokhov
|
7cf0a1432d
|
update: working system.autoUpgrade
|
2023-12-28 13:23:08 +04:00 |
|
Alexander Tomokhov
|
36eb48ab3c
|
nix flake lock /etc/nixos --override-input sp-modules path:./sp-modules
|
2023-12-28 05:02:04 +04:00 |
|
Alexander Tomokhov
|
374711f324
|
optional variables: NIXOS_CONFIG_ID and VOLUME_DEV_PATH
|
2023-12-28 03:12:43 +04:00 |
|
Alexander Tomokhov
|
91073a50a3
|
additional check for 2nd volume
|
2023-12-28 01:02:49 +04:00 |
|
Alexander Tomokhov
|
18c88f39cf
|
ci: slightly reformat basic test logging
|
2023-12-28 00:45:11 +04:00 |
|
Alexander Tomokhov
|
eaafba6f65
|
fix ERR trap in infect.sh
|
2023-12-28 00:35:36 +04:00 |
|
Alexander Tomokhov
|
0ec4fc7d5b
|
generate volumes and location values (disk device name)
|
2023-12-28 00:28:53 +04:00 |
|
Alexander Tomokhov
|
2f9903599d
|
proper ERR trap
|
2023-12-27 21:01:51 +04:00 |
|
Alexander Tomokhov
|
83fe55b86e
|
nixos-infect: sort variables
|
2023-12-27 20:59:00 +04:00 |
|
Alexander Tomokhov
|
c31521e1ca
|
do not pass DB_PASSWORD, but generate
|
2023-12-27 20:58:59 +04:00 |
|
Alexander Tomokhov
|
967377f171
|
pass ENCODED_PASSWORD to nixos-infect instead of USER_PASS
|
2023-12-27 17:59:09 +04:00 |
|
Alexander Tomokhov
|
659c539f38
|
update
|
2023-12-27 15:17:31 +04:00 |
|
Alexander Tomokhov
|
4df84db453
|
curl --fail
|
2023-12-27 14:13:40 +04:00 |
|
Alexander Tomokhov
|
c95b9d0f62
|
/etc/nixos#sp-nixos => /etc/nixos#default
|
2023-12-27 14:05:09 +04:00 |
|
Alexander Tomokhov
|
05e395d6af
|
nix flake lock /etc/nixos --update-input sp-modules
|
2023-12-27 13:20:50 +04:00 |
|
Alexander Tomokhov
|
a6713df931
|
pin selfprivacy-nixos-template commit
|
2023-12-26 18:53:28 +04:00 |
|
Alexander Tomokhov
|
eec1c639ec
|
reduce sleep after failure time to 1500 seconds
|
2023-12-26 18:53:28 +04:00 |
|
Alexander Tomokhov
|
69dd80d065
|
more readable nixos-infect command; DRONE_COMMIT_SHA
|
2023-12-26 18:43:40 +04:00 |
|
Alexander Tomokhov
|
867396b274
|
use staging ACME with root CA verification
|
2023-12-24 16:23:13 +04:00 |
|
Alexander Tomokhov
|
6171589cc3
|
ci: curl commands in basic test start with >
|
2023-12-24 07:35:39 +04:00 |
|
Alexander Tomokhov
|
a266532d59
|
remove unnecessary sleeps before API queries
|
2023-12-24 07:32:09 +04:00 |
|
Alexander Tomokhov
|
b135e52863
|
replace HTTPie with curl in basic test
|
2023-12-23 21:41:06 +04:00 |
|
Alexander Tomokhov
|
ab35fc20b6
|
ci: SSL certificate verification in basic test based on STAGING_ACME
|
2023-12-23 02:16:33 +04:00 |
|
Alexander Tomokhov
|
1494e06c44
|
ci: fix typo for starting query-all-services
|
2023-12-23 00:17:53 +04:00 |
|
Alexander Tomokhov
|
dcfc5f203e
|
ci: no unnecessary sleep and retry in basic test
|
2023-12-23 00:16:38 +04:00 |
|
Alexander Tomokhov
|
ec40186962
|
ci: enable SSL certificate verification in basic test
|
2023-12-23 00:16:35 +04:00 |
|
Alexander Tomokhov
|
d099b7bd11
|
system.stateVersion = lib.mkDefault "$release"
|
2023-12-23 00:14:33 +04:00 |
|
Alexander Tomokhov
|
9cd6207238
|
add stateVersion to userdata.json
|
2023-12-22 23:13:04 +04:00 |
|
Alexander Tomokhov
|
2d54653924
|
ci: retry first request to nextcloud
|
2023-12-22 21:32:48 +04:00 |
|
Alexander Tomokhov
|
6f96b9afdf
|
add sleep 1 before nixos-rebuild API request
|
2023-12-22 14:43:13 +04:00 |
|
Alexander Tomokhov
|
ec339bb8d1
|
use tests library for enable-service tests
|
2023-12-22 14:19:14 +04:00 |
|
Alexander Tomokhov
|
55cf8bc0a6
|
wait for NixOS boot 460 seconds at maximum
|
2023-12-21 13:21:29 +04:00 |
|
Alexander Tomokhov
|
30f5d85acd
|
fix ip4 value for domain TXT DNS record
|
2023-12-21 12:35:59 +04:00 |
|
Alexander Tomokhov
|
09ee1f5e4c
|
3 times increase sleep after failure timeout
|
2023-12-21 12:18:13 +04:00 |
|
Alexander Tomokhov
|
3b4d75bcdb
|
use new retry function; split test into 2
|
2023-12-20 21:43:51 +04:00 |
|
Alexander Tomokhov
|
4380a733a6
|
wait for 443 port instead of sleep
|
2023-12-20 20:32:53 +04:00 |
|
Alexander Tomokhov
|
a717ad6ca5
|
STAGING_ACME=true
|
2023-12-20 17:39:49 +04:00 |
|
Alexander Tomokhov
|
1344aaa92c
|
nix flake lock --override-input sp-modules instead of --update-input
|
2023-12-20 16:41:42 +04:00 |
|
Alexander Tomokhov
|
0e6d5414f5
|
CF_TOKEN => DNS_PROVIDER_TOKEN
|
2023-12-20 16:36:14 +04:00 |
|
Alexander Tomokhov
|
0857b96001
|
STAGING_ACME=false
|
2023-12-18 23:57:50 +04:00 |
|
Alexander Tomokhov
|
7099e2eada
|
re-enable all services after rollback
|
2023-12-18 17:00:09 +04:00 |
|
Alexander Tomokhov
|
7d15460867
|
slightly increase retry timeout after nixos-rebuild switch
|
2023-12-18 16:31:57 +04:00 |
|
Alexander Tomokhov
|
e3ad189d9a
|
add retries for query-minimum-services
|
2023-12-18 16:00:06 +04:00 |
|
Alexander Tomokhov
|
efad17f194
|
wait minimal services startup for 1000 seconds
|
2023-12-18 15:32:56 +04:00 |
|
Alexander Tomokhov
|
0e44c12bef
|
retries message
|
2023-12-17 16:41:51 +04:00 |
|