mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	Write build/running.json only on build
This should reduce the runtime. Also test if it was written.
This commit is contained in:
		
							parent
							
								
									b3f0f6f77e
								
							
						
					
					
						commit
						dfdd29131f
					
				
					 2 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -400,6 +400,8 @@ fdroid build:
 | 
			
		|||
 | 
			
		||||
    # each `fdroid build --on-server` run expects sudo, then uninstalls it
 | 
			
		||||
    - if dpkg --list sudo; then echo "sudo should not be still there"; exit 1; fi
 | 
			
		||||
    - 'if [ ! -f repo/status/running.json ]; then echo "ERROR: running.json does not exist!"; exit 1; fi'
 | 
			
		||||
    - 'if [ ! -f repo/status/build.json ]; then echo "ERROR: build.json does not exist!"; exit 1; fi'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# test the plugin API and specifically the fetchsrclibs plugin, which
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue