mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 12:58:13 -05:00
929ac3bd7c
this is required for test suite to use dns certbot request without talking to live or staging letsencrypt servers or production level dns providers. This is a backwards port from the v3 branch and opens the door for a full certificate cypress test
14 lines
320 B
Bash
Executable File
14 lines
320 B
Bash
Executable File
#!/bin/bash -e
|
||
|
||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||
. "$DIR/.common.sh"
|
||
|
||
# Ensure docker-compose exists
|
||
if hash docker-compose 2>/dev/null; then
|
||
cd "${DIR}/.."
|
||
rm -rf "$DIR/../test/results"
|
||
docker-compose up --build cypress
|
||
else
|
||
echo -e "${RED}❯ docker-compose command is not available${RESET}"
|
||
fi
|