infect:config:sha1: update selfprivacy-api to 3.0
continuous-integration/drone/push Build is passing Details

api-3.0
Alexander 2024-01-10 03:51:43 +04:00
parent 2dd49d3596
commit 977658fb33
2 changed files with 2 additions and 2 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"'

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/005eb5d47d63d87fedf56b7f16f04fb9349bcbd7.tar.gz"
readonly NIX_VERSION="2.18.1"
readonly NL=$'\n'