cicd: attempt fix
This commit is contained in:
		
							parent
							
								
									74ef0930d5
								
							
						
					
					
						commit
						4bf1d0e24c
					
				
					 1 changed files with 5 additions and 13 deletions
				
			
		
							
								
								
									
										18
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										18
									
								
								.drone.yml
									
										
									
									
									
								
							| 
						 | 
					@ -10,8 +10,9 @@ workspace:
 | 
				
			||||||
  path: /opt
 | 
					  path: /opt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
volumes:
 | 
					volumes:
 | 
				
			||||||
- name: dockersock
 | 
					  - name: dockersock
 | 
				
			||||||
  temp: {}
 | 
					    host:
 | 
				
			||||||
 | 
					      path: /var/run/docker.sock
 | 
				
			||||||
 | 
					
 | 
				
			||||||
services:
 | 
					services:
 | 
				
			||||||
- name: docker
 | 
					- name: docker
 | 
				
			||||||
| 
						 | 
					@ -23,10 +24,7 @@ services:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
  - name: setup_image
 | 
					  - name: setup_image
 | 
				
			||||||
    image: docker:dind
 | 
					    image: docker:latest
 | 
				
			||||||
    volumes:
 | 
					 | 
				
			||||||
    - name: dockersock
 | 
					 | 
				
			||||||
      path: /var/run
 | 
					 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - until docker info; do echo "Waiting for Docker daemon..."; sleep 1; done
 | 
					      - until docker info; do echo "Waiting for Docker daemon..."; sleep 1; done
 | 
				
			||||||
      - docker build -t ubuntu_amd64 -f ./tools/docker/linux_amd64 .
 | 
					      - docker build -t ubuntu_amd64 -f ./tools/docker/linux_amd64 .
 | 
				
			||||||
| 
						 | 
					@ -37,18 +35,12 @@ steps:
 | 
				
			||||||
      - sleep 5
 | 
					      - sleep 5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: list_images
 | 
					  - name: list_images
 | 
				
			||||||
    volumes:
 | 
					 | 
				
			||||||
    - name: dockersock
 | 
					 | 
				
			||||||
      path: /var/run
 | 
					 | 
				
			||||||
    image: docker:dind
 | 
					    image: docker:dind
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - docker images
 | 
					      - docker images
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: setup_conan
 | 
					  - name: setup_conan
 | 
				
			||||||
    volumes:
 | 
					    image: ubuntu_amd64
 | 
				
			||||||
    - name: dockersock
 | 
					 | 
				
			||||||
      path: /var/run
 | 
					 | 
				
			||||||
    image: ubuntu_amd64 
 | 
					 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      CONAN_REVISIONS_ENABLED: "1"
 | 
					      CONAN_REVISIONS_ENABLED: "1"
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue