Commit graph

81 commits

Author SHA1 Message Date
Alexander Tomokhov 977658fb33 infect:config:sha1: update selfprivacy-api to 3.0 2024-01-10 04:17:11 +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 743129d6cb uppercase PROVIDER variable value 2023-12-28 20:24:40 +04:00
Alexander Tomokhov 4920434aec ci: sleep 1 before deleting secondary volume 2023-12-28 14:05:36 +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 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 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 c95b9d0f62 /etc/nixos#sp-nixos => /etc/nixos#default 2023-12-27 14:05:09 +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 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 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
Alexander Tomokhov d4e33a9639 notifications during retries 2023-12-12 20:52:23 +04:00
Alexander Tomokhov 149d6a8dd2 1000 seconds sleep on failure while machine pings 2023-12-12 19:35:37 +04:00
Alexander Tomokhov 94421ee3d5 jitsi => jitsi-meet 2023-12-12 16:31:52 +04:00
Alexander Tomokhov c130acf95a enable services via API, wait until active or timeout 2023-12-12 14:24:42 +04:00
Alexander Tomokhov 1008f2aa51 pass API_TOKEN to query-all-services test 2023-12-12 09:08:04 +04:00
Alexander Tomokhov b49b801baa add test: query-all-services state via GraphQL API 2023-12-12 08:29:06 +04:00
Alexander Tomokhov 8de4c0908f pass SSH_AUTHORIZED_KEY and merge with userdata.json 2023-12-05 05:28:15 +04:00
Alexander Tomokhov 9245d6584d drone: clone disable 2023-12-04 17:09:11 +04:00