This commit is contained in:
		
							
								
								
									
										16
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| kind: pipeline | ||||
| type: kubernetes | ||||
| name: default | ||||
|  | ||||
| steps: | ||||
| - name: docker | ||||
|   image: plugins/docker | ||||
|   settings: | ||||
|     repo: harbor.k-space.ee/${DRONE_REPO} | ||||
|     registry: harbor.k-space.ee | ||||
|     mtu: 1300 | ||||
|     storage_driver: vfs | ||||
|     username: | ||||
|       from_secret: docker_username | ||||
|     password: | ||||
|       from_secret: docker_password | ||||
							
								
								
									
										6
									
								
								.flake8
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.flake8
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| [flake8] | ||||
| inline-quotes = " | ||||
| multiline-quotes = """ | ||||
| indent-size = 4 | ||||
| max-line-length = 160 | ||||
| ignore = Q003 E128 E704 E731 | ||||
							
								
								
									
										6
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| FROM python:3-alpine | ||||
| RUN pip install flake8 flake8-typing-imports flake8-quotes | ||||
| ADD .flake8 /config/flake8.ini | ||||
| WORKDIR /apps | ||||
| ENTRYPOINT ["flake8", "--config", "/config/flake8.ini"] | ||||
| CMD ["."] | ||||
		Reference in New Issue
	
	Block a user