Commit graph

267 commits

Author SHA1 Message Date
Alexander Tomokhov
cf36eed8f2 infect: fix IPv6 networking configuration 2024-03-12 19:44:11 +04:00
Alexander Tomokhov
62dfb006e4 infect:config:sha1<- nixpkgs and api update 2024-03-08 05:34:56 +04:00
Alexander Tomokhov
861a5dbdf8 infect:config:sha1: modules: parameterize all subdomains 2024-02-29 04:56:51 +04:00
Alexander Tomokhov
83c1e4d590 infect:config:sha1: fix no ssh key build 2024-01-23 18:14:10 +04:00
Alexander Tomokhov
2925c7e41c infect:config:sha1: switch template branch to master 2024-01-19 10:01:24 +04:00
Alexander Tomokhov
5d93c8197e infect:config:sha1: update selfprivacy-api: small fixes 2024-01-19 03:10:51 +04:00
Alexander Tomokhov
77972cd020 infect:config:sha1: update selfprivacy-api 2024-01-18 15:31:08 +04:00
Alexander Tomokhov
4d02caaf7e test: increase timeouts for nixos-rebuild 2024-01-11 07:00:19 +04:00
Alexander Tomokhov
0c8ada1a1b infect:config:sha1: selfprivacy-api branch change to master 2024-01-11 00:17:43 +04:00
Alexander Tomokhov
fd0e2fb105 infect:config:sha1: update nixpkgs 2024-01-10 07:23:20 +04:00
Alexander Tomokhov
977658fb33 infect:config:sha1: update selfprivacy-api to 3.0 2024-01-10 04:17:11 +04:00
Alexander Tomokhov
2dd49d3596 infect:config:sha1: fix nextcloud auth redirection 2024-01-10 03:13:04 +04:00
Alexander Tomokhov
8f00617b3d infect: remove nix profile in the end 2024-01-10 00:25:54 +04:00
Alexander Tomokhov
8ce494c490 nixos-infect: update selfprivacy-nixos-config sha1 2024-01-09 23:34:34 +04:00
Alexander Tomokhov
66f61ce536 fix: no excess slash before disk device name (location) 2023-12-28 21:06:35 +04:00
Alexander Tomokhov
4866762afc selfprivacy-api git branch: userdata => flakes 2023-12-28 20:54:26 +04:00
Alexander Tomokhov
f3696ab0d6 embed CONFIG_URL and NIX_VERSION inside nixos-infect
Now you need to edit nixos-infect to update base configuration URL.
2023-12-28 20:25:07 +04:00
Alexander Tomokhov
774bea292f STAGING_ACME is optional (default is false) 2023-12-28 20:25:07 +04:00
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