add: drone parallelism
This commit is contained in:
		
							parent
							
								
									176bc44da1
								
							
						
					
					
						commit
						0a1a896cbf
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		
							
								
								
									
										11
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								.drone.yml
									
										
									
									
									
								
							| 
						 | 
					@ -34,7 +34,7 @@ steps:
 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
  - cd webapp/
 | 
					  - cd webapp/
 | 
				
			||||||
  - makepkg -s -f --cleanbuild --noconfirm
 | 
					  - makepkg -s -f --cleanbuild --noconfirm
 | 
				
			||||||
- name: upload_package
 | 
					- name: upload-packages
 | 
				
			||||||
  image: serguzim/drone-webdav
 | 
					  image: serguzim/drone-webdav
 | 
				
			||||||
  settings:
 | 
					  settings:
 | 
				
			||||||
    file: \ls /drone/src/*/emgauwa-*-any.pkg.tar.*
 | 
					    file: \ls /drone/src/*/emgauwa-*-any.pkg.tar.*
 | 
				
			||||||
| 
						 | 
					@ -43,11 +43,20 @@ steps:
 | 
				
			||||||
      from_secret: webdav_username
 | 
					      from_secret: webdav_username
 | 
				
			||||||
    password:
 | 
					    password:
 | 
				
			||||||
      from_secret: webdav_password
 | 
					      from_secret: webdav_password
 | 
				
			||||||
 | 
					  depends_on:
 | 
				
			||||||
 | 
					  - makepkg-core
 | 
				
			||||||
 | 
					  - makepkg-core-testing
 | 
				
			||||||
 | 
					  - makepkg-controller
 | 
				
			||||||
 | 
					  - makepkg-controller-testing
 | 
				
			||||||
 | 
					  - makepkg-webapp
 | 
				
			||||||
- name: send-webhook
 | 
					- name: send-webhook
 | 
				
			||||||
  image: plugins/webhook
 | 
					  image: plugins/webhook
 | 
				
			||||||
  settings:
 | 
					  settings:
 | 
				
			||||||
    urls:
 | 
					    urls:
 | 
				
			||||||
      from_secret: webhook_url
 | 
					      from_secret: webhook_url
 | 
				
			||||||
 | 
					  depends_on:
 | 
				
			||||||
 | 
					  - upload-packages
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#---
 | 
					#---
 | 
				
			||||||
#kind: pipeline
 | 
					#kind: pipeline
 | 
				
			||||||
#name: makepkg-on-amd64
 | 
					#name: makepkg-on-amd64
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue