mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-30 23:33:34 +00:00 
			
		
		
		
	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
 |