This leaves the composer-cli related tests, and switches the default backend to osbuild-composer for the tests.
		
			
				
	
	
		
			18 lines
		
	
	
		
			449 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			449 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
 | |
| 
 | |
| if [ "$TEST_SCENARIO" == "osbuild-composer" ]; then
 | |
|     rm -rf ./test/images/*
 | |
|     export BACKEND="osbuild-composer"
 | |
|     make BACKEND=osbuild-composer vm
 | |
| else
 | |
|     make vm
 | |
| fi
 | |
| 
 | |
| if [ "$TEST_SCENARIO" == "lorax" ]; then
 | |
|     test/check-lorax TestLorax
 | |
| else
 | |
|     test/check-cli TestImages
 | |
| fi
 |