Compare commits
7 Commits
2dd49d3596
...
2925c7e41c
Author | SHA1 | Date |
---|---|---|
Alexander Tomokhov | 2925c7e41c | |
Alexander Tomokhov | 5d93c8197e | |
Alexander Tomokhov | 77972cd020 | |
Alexander Tomokhov | 4d02caaf7e | |
Alexander Tomokhov | 0c8ada1a1b | |
Alexander Tomokhov | fd0e2fb105 | |
Alexander Tomokhov | 977658fb33 |
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue