Merge test build with test steps
This commit is contained in:
		
							parent
							
								
									76f7d9118b
								
							
						
					
					
						commit
						3430a80d0b
					
				
					 1 changed files with 1 additions and 10 deletions
				
			
		
							
								
								
									
										11
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								.drone.yml
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -25,7 +25,7 @@ trigger:
 | 
			
		|||
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: docker
 | 
			
		||||
name: test image building
 | 
			
		||||
name: test image
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
- name: test build
 | 
			
		||||
| 
						 | 
				
			
			@ -39,15 +39,6 @@ steps:
 | 
			
		|||
  commands:
 | 
			
		||||
  - echo "$password" | podman login -u $username --password-stdin $repo
 | 
			
		||||
  - make VERSION=test DOCKER=podman build
 | 
			
		||||
- name: test image
 | 
			
		||||
  image: harbor.hq.rosti.cz/library/builder:35
 | 
			
		||||
  environment:
 | 
			
		||||
    username: robot$rosti+rosti
 | 
			
		||||
    password: 
 | 
			
		||||
      from_secret: repo_password
 | 
			
		||||
    repo: harbor.hq.rosti.cz
 | 
			
		||||
  privileged: true
 | 
			
		||||
  commands:
 | 
			
		||||
  - make DOCKER=podman VERSION=test test
 | 
			
		||||
 | 
			
		||||
trigger:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue