mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	gitlab-ci: try rules:changes: to limit "fdroiddata fdroid build" runs
https://docs.gitlab.com/ee/ci/yaml/#using-onlychanges-with-pipelines-for-merge-requests
This commit is contained in:
		
							parent
							
								
									767573f2ec
								
							
						
					
					
						commit
						a1df5ef86a
					
				
					 1 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -247,9 +247,13 @@ gradle:
 | 
			
		|||
# this tests the basic setup of the 'fdroid build' CI job in fdroiddata
 | 
			
		||||
fdroiddata fdroid build:
 | 
			
		||||
  image: registry.gitlab.com/fdroid/ci-images-client:latest
 | 
			
		||||
  only:
 | 
			
		||||
    changes:
 | 
			
		||||
      - buildserver/provision-apt-get-install
 | 
			
		||||
  rules:
 | 
			
		||||
    - if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH
 | 
			
		||||
      changes:
 | 
			
		||||
        - buildserver/provision-apt-get-install
 | 
			
		||||
    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
 | 
			
		||||
      changes:
 | 
			
		||||
        - buildserver/provision-apt-get-install
 | 
			
		||||
  script:
 | 
			
		||||
    - bash buildserver/provision-apt-get-install http://deb.debian.org/debian
 | 
			
		||||
    - apt-get dist-upgrade
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue