Add Drone-CI integration Co-authored-by: Davide Polonio <poloniodavide@gmail.com> Reviewed-on: #1pull/2/head
parent
230a4fc2b6
commit
55672fdfb9
|
@ -0,0 +1,9 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: Lint Check
|
||||
image: sdesbure/yamllint
|
||||
commands:
|
||||
- yamllint **/*.y?ml
|
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
server:
|
||||
image: drone/drone:1
|
||||
restart: always
|
||||
env_file:
|
||||
- env-droneci-server
|
||||
networks:
|
||||
- internal
|
||||
- proxy
|
||||
volumes:
|
||||
- ci_server_data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
runner:
|
||||
image: drone/drone-runner-docker:1
|
||||
restart: always
|
||||
env_file:
|
||||
- env-droneci-runner
|
||||
networks:
|
||||
- internal
|
||||
volumes:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
volumes:
|
||||
ci_server_data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: "/srv/docker/ci/server_data"
|
||||
|
||||
networks:
|
||||
internal: {}
|
||||
proxy:
|
||||
external: true
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
|
@ -45,4 +46,3 @@ networks:
|
|||
proxy:
|
||||
external: true
|
||||
internal:
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
version: '3.7'
|
||||
services:
|
||||
mail:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
version: '3.7'
|
||||
services:
|
||||
nginx:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
|
|
Loading…
Reference in New Issue