Compare commits

...

7 Commits

Author SHA1 Message Date
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
2 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ steps:
- curl https://letsencrypt.org/certs/staging/letsencrypt-stg-root-x1.pem -sS --fail -o root.pem
- dig api.$DOMAIN
- >
retry $TIMEOUT_1 10 curl https://api.$DOMAIN/services/status -sS --fail-with-body $CERT_VERIFY -H "Authorization: Bearer $USER_PASS"
retry $TIMEOUT_1 10 curl https://api.$DOMAIN/api/version -sS --fail-with-body $CERT_VERIFY -H "Authorization: Bearer $USER_PASS"
- swaks --to ci@$DOMAIN -s selfprivacy.org -tls -au test@selfprivacy.org -ap $TEST_EMAIL_PASS -ahp
- >
curl https://cloud.$DOMAIN/ocs/v2.php/apps/serverinfo/api/v1/info?format=json -sS --fail-with-body $CERT_VERIFY -u "admin:$USER_PASS" | jq -re '.ocs.meta.status == "ok"'
@ -155,7 +155,7 @@ steps:
API_TOKEN:
from_secret: USER_PASS
TESTS_REPO: git+https://git.selfprivacy.org/alexoundos/selfprivacy-tests.git
TIMEOUT_1: 100
TIMEOUT_1: 120
commands:
- source $(nix build $TESTS_REPO#library --print-out-paths)
- retry $TIMEOUT_1 10 query-minimum-services
@ -165,7 +165,7 @@ steps:
- enable-service ocserv
- enable-service pleroma
- nixos-rebuild Rebuild
- sleep 100
- sleep 180
- retry $TIMEOUT_1 10 query-all-services
- nixos-rebuild Rollback
- sleep 30

View File

@ -20,7 +20,7 @@
: "${VOLUME_DEV_PATH:=}"
: "${STAGING_ACME:=false}"
readonly CONFIG_URL="https://git.selfprivacy.org/api/v1/repos/SelfPrivacy/selfprivacy-nixos-template/archive/f5126d2375bf1f9d02aacb0c3850f3ac90e744cb.tar.gz"
readonly CONFIG_URL="https://git.selfprivacy.org/api/v1/repos/SelfPrivacy/selfprivacy-nixos-template/archive/553cfdf89971b67884eea5e4e52cc26d70526686.tar.gz"
readonly NIX_VERSION="2.18.1"
readonly NL=$'\n'