- default BACKEND to lorax-composer
- pass BACKEND everywhere we need to
Cherry-picked from 14a3c8d5a7
Related: rhbz#1825190
		
	
			
		
			
				
	
	
		
			16 lines
		
	
	
		
			360 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			360 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh -e
 | |
| # This is the expected entry point for Cockpit CI; will be called without
 | |
| # arguments but with an appropriate $TEST_OS, and optionally $TEST_SCENARIO
 | |
| 
 | |
| export BACKEND="${BACKEND:-lorax-composer}"
 | |
| 
 | |
| make vm
 | |
| 
 | |
| if [ -n "$TEST_SCENARIO" ]; then
 | |
|   if [ "$TEST_SCENARIO" == "ci" ]; then
 | |
| 	test/check-cli TestPylint 
 | |
|   fi
 | |
| else
 | |
|   test/check-cli TestImages
 | |
| fi
 |