mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-22 03:51:27 +00:00
infect:config:sha1: update selfprivacy-api to 3.0
This commit is contained in:
parent
2dd49d3596
commit
977658fb33
|
@ -138,7 +138,7 @@ steps:
|
||||||
- curl https://letsencrypt.org/certs/staging/letsencrypt-stg-root-x1.pem -sS --fail -o root.pem
|
- curl https://letsencrypt.org/certs/staging/letsencrypt-stg-root-x1.pem -sS --fail -o root.pem
|
||||||
- dig api.$DOMAIN
|
- 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
|
- 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"'
|
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"'
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
: "${VOLUME_DEV_PATH:=}"
|
: "${VOLUME_DEV_PATH:=}"
|
||||||
: "${STAGING_ACME:=false}"
|
: "${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 NIX_VERSION="2.18.1"
|
||||||
|
|
||||||
readonly NL=$'\n'
|
readonly NL=$'\n'
|
||||||
|
|
Loading…
Reference in a new issue