mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	Merge branch 'disable-flutter-analytics-in-buildserver' into 'master'
buildserver: disable flutter dev/build analytics globally See merge request fdroid/fdroidserver!1109
This commit is contained in:
		
						commit
						764887ea48
					
				
					 2 changed files with 16 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								buildserver/Vagrantfile
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								buildserver/Vagrantfile
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -86,6 +86,7 @@ Vagrant.configure("2") do |config|
 | 
			
		|||
  config.vm.provision "shell", name: "android-ndk", path: "provision-android-ndk",
 | 
			
		||||
    args: ["/opt/android-sdk/ndk", "r21e", "r23b"]
 | 
			
		||||
  config.vm.provision "shell", name: "gradle", path: "provision-gradle"
 | 
			
		||||
  config.vm.provision "shell", name: "disable-analytics", path: "provision-disable-analytics"
 | 
			
		||||
  config.vm.provision "shell", name: "buildserverid", path: "provision-buildserverid",
 | 
			
		||||
    args: [`git rev-parse HEAD`]
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										15
									
								
								buildserver/provision-disable-analytics
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								buildserver/provision-disable-analytics
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
set -ex
 | 
			
		||||
 | 
			
		||||
# Flutter
 | 
			
		||||
# https://github.com/flutter/flutter/issues/73657
 | 
			
		||||
flutter_conf=/home/vagrant/.flutter
 | 
			
		||||
cat <<EOF > $flutter_conf
 | 
			
		||||
{
 | 
			
		||||
  "enabled": false
 | 
			
		||||
}
 | 
			
		||||
EOF
 | 
			
		||||
chown -R vagrant.vagrant $flutter_conf
 | 
			
		||||
chmod -R 0644 $flutter_conf
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue