Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update docker-compose-build.yml (#364)
Leendert de Borst0dcc77eb0d89
diff --git a/.github/workflows/docker-compose-build.yml b/.github/workflows/docker-compose-build.ymlindex 85656da2f..c35985177 100644--- a/.github/workflows/docker-compose-build.yml+++ b/.github/workflows/docker-compose-build.yml@@ -32,13 +32,13 @@ jobs:run: |# Wait for a few secondssleep 10- - name: Test if localhost:80 (WASM app) responds+ - name: Test if localhost:443 (WASM app) respondsuses: nick-fields/retry@v3with:timeout_minutes: 2max_attempts: 3command: |- http_code=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:80)+ http_code=$(curl -s -o /dev/null -w "%{http_code}" https://localhost:443)if [ "$http_code" -ne 200 ]; thenecho "Service did not respond with 200 OK. Check if client app is configured correctly."exit 1@@ -46,13 +46,13 @@ jobs:echo "Service responded with 200 OK"fi- - name: Test if localhost:81 (WebApi) responds+ - name: Test if localhost:4430 (WebApi) respondsuses: nick-fields/retry@v3with:timeout_minutes: 2max_attempts: 3command: |- http_code=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:81)+ http_code=$(curl -s -o /dev/null -w "%{http_code}" https://localhost:4430)if [ "$http_code" -ne 200 ]; thenecho "Service did not respond with expected 200 OK. Check if WebApi is configured correctly."exit 1@@ -60,29 +60,40 @@ jobs:echo "Service responded with $http_code"fi- - name: Test if localhost:2525 (SmtpService) responds+ - name: Test if localhost:4431 (Admin) respondsuses: nick-fields/retry@v3with:timeout_minutes: 2max_attempts: 3command: |- if ! nc -zv localhost 2525 2>&1 | grep -q 'succeeded'; then- echo "SmtpService did not respond on port 2525. Check if the SmtpService service is running."+ http_code=$(curl -s -o /dev/null -w "%{http_code}" https://localhost:4431/user/login)+ if [ "$http_code" -ne 200 ]; then+ echo "Service did not respond with expected 200 OK. Check if admin app is configured correctly."exit 1else- echo "SmtpService responded on port 2525"+ echo "Service responded with $http_code"fi- - name: Test if localhost:8080 (Admin) responds+ - name: Test if localhost:2525 (SmtpService) respondsuses: nick-fields/retry@v3with:timeout_minutes: 2max_attempts: 3command: |- http_code=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:8080/user/login)- if [ "$http_code" -ne 200 ]; then- echo "Service did not respond with expected 200 OK. Check if admin app is configured correctly."+ if ! nc -zv localhost 2525 2>&1 | grep -q 'succeeded'; then+ echo "SmtpService did not respond on port 2525. Check if the SmtpService service is running."exit 1else- echo "Service responded with $http_code"+ echo "SmtpService responded on port 2525"fi++ - name: Test install.sh --reset-password output+ run: |+ output=$(./install.sh --reset-password)+ if ! echo "$output" | grep -E '^Password: [a-zA-Z0-9]{8,}$'; then+ echo "Password reset output format is incorrect. Expected format: 'Password: <at least 8 chars>'"+ echo "Actual output: $output"+ exit 1+ else+ echo "Password reset output format is correct"+ fi