Added test pipeline for automatic license export
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			ref #59
This commit is contained in:
		
							
								
								
									
										27
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -42,7 +42,7 @@ steps: | ||||
|     depends_on: [clone] | ||||
|     commands: | ||||
|       - yarn | ||||
|       - yarn licenses:export | ||||
|       - yarn licenses:full | ||||
|   - name: push new licenses file to repo | ||||
|     image: appleboy/drone-git-push | ||||
|     settings: | ||||
| @@ -117,4 +117,27 @@ steps: | ||||
|         from_secret: BOT_DRONE_KEY | ||||
| trigger: | ||||
|   event: | ||||
|   - tag | ||||
|   - tag | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: export:licenses | ||||
|  | ||||
| steps: | ||||
|   - name: run full license export | ||||
|     image: node:alpine | ||||
|     depends_on: [clone] | ||||
|     commands: | ||||
|       - yarn | ||||
|       - yarn licenses:full | ||||
|   - name: push new licenses file to repo | ||||
|     image: appleboy/drone-git-push | ||||
|     settings: | ||||
|       branch: dev | ||||
|       commit: true | ||||
|       commit_message: new license file version [CI SKIP] | ||||
|       author_email: bot@odit.services | ||||
|       remote: git@git.odit.services:lfk/backend.git | ||||
|       ssh_key: | ||||
|         from_secret: GITLAB_SSHKEY | ||||
|   | ||||
		Reference in New Issue
	
	Block a user