mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	jenkins-test: ensure gpg is starting from a clean and proper place
There have been frequent failures on import, some bugs suggest that it might be because these dirs are missing. They would get wiped by a `git clean -fdx`.
This commit is contained in:
		
							parent
							
								
									5ad661ef7b
								
							
						
					
					
						commit
						ee89468818
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -38,6 +38,10 @@ rm -f config.py keystore.jks
 | 
				
			||||||
../fdroid update
 | 
					../fdroid update
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export GNUPGHOME=$WORKSPACE/tests/gnupghome
 | 
					export GNUPGHOME=$WORKSPACE/tests/gnupghome
 | 
				
			||||||
 | 
					if [ ! -e $GNUPGHOME/private-keys-v1.d ]; then
 | 
				
			||||||
 | 
					    mkdir -p $GNUPGHOME/private-keys-v1.d
 | 
				
			||||||
 | 
					    chmod 0700 $GNUPGHOME/private-keys-v1.d
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
gpg --import $GNUPGHOME/secring.gpg
 | 
					gpg --import $GNUPGHOME/secring.gpg
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "build_server_always = True" >> config.py
 | 
					echo "build_server_always = True" >> config.py
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue