WIP: module qois.cloud: add basic test #77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "test-cloud"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
currently fails. Excerpt from the log:
Is
Failed to enable UTF-8 kbdmode on /dev/tty1: Input/output error
or[crit] 928#928: *2 connect() to unix:/run/phpfpm/nextcloud.sock failed (2: No such file or directory) while connecting to upstream, client: ::1, server: cloud.example.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/phpfpm/nextcloud.sock:", host: "cloud.example.com"
the culprit?@das-g wrote in #77 (comment):
In the CI result, I can only spot the second of those. (here)
@ -0,0 +21,4 @@
sops.secrets = mkForce { };
# Disable TLS services
services.nginx.virtualHosts = genAttrs [ "cloud.example.com" ] (const {
genAttrs
is not needed here, since we only have one attr@ -0,0 +1,32 @@
def test(subtest, webserver):
webserver.wait_for_unit("nginx")
You need to wait for the
phpfpm-nextcloud.service
to be up and running (and maybenextcloud-setup.service
, it's a oneshot service tough).Or should we just wait for
multi-user.target
like nixos/tests/nextcloud/default.nix does?a072ba0dd7
toa76519ac01
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.