diff --git a/.drone.yml b/.drone.yml index 70d41bd..114f8be 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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"' diff --git a/nixos-infect b/nixos-infect index 1b8ba00..019102a 100755 --- a/nixos-infect +++ b/nixos-infect @@ -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/005eb5d47d63d87fedf56b7f16f04fb9349bcbd7.tar.gz" readonly NIX_VERSION="2.18.1" readonly NL=$'\n'