mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-11-04 01:51:04 +01:00 
			
		
		
		
	Murder docker container and network before run
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
		
							parent
							
								
									34107f9a0f
								
							
						
					
					
						commit
						4453728614
					
				@ -22,6 +22,14 @@ jobs:
 | 
				
			|||||||
            integration_test/
 | 
					            integration_test/
 | 
				
			||||||
            config-example.yaml
 | 
					            config-example.yaml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      # We currently only run one job at the time, so make sure
 | 
				
			||||||
 | 
					      # we just wipe all containers and all networks.
 | 
				
			||||||
 | 
					      - name: Clean up Docker
 | 
				
			||||||
 | 
					        if: steps.changed-files.outputs.any_changed == 'true'
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          docker kill $(docker ps -q)
 | 
				
			||||||
 | 
					          docker network prune -f
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Run general integration tests
 | 
					      - name: Run general integration tests
 | 
				
			||||||
        if: steps.changed-files.outputs.any_changed == 'true'
 | 
					        if: steps.changed-files.outputs.any_changed == 'true'
 | 
				
			||||||
        run: nix develop --command -- make test_integration_v2_general
 | 
					        run: nix develop --command -- make test_integration_v2_general
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user