Browse Source

cleanup

pull/12/head
fedy95 4 years ago
parent
commit
b5e28a3d6e
  1. 46
      .drone.yml

46
.drone.yml

@ -3,15 +3,15 @@ kind: pipeline
type: docker
name: pull_request
image_pull_secrets:
- dockerconfigjson
- dockerconfigjson
steps:
- name: lint yaml
image: registry.fedy95.com/baseimage-yamllint:latest
commands:
- yamllint -c /yamllint/relaxed.yaml docker-compose.yml
when:
event: pull_request
- name: lint yaml
image: registry.fedy95.com/baseimage-yamllint:latest
commands:
- yamllint -c /yamllint/relaxed.yaml docker-compose.yml
when:
event: pull_request
---
kind: pipeline
@ -19,26 +19,26 @@ type: ssh
name: master_push
clone:
disable: true
disable: true
server:
host:
from_secret: host
user:
from_secret: user
password:
from_secret: password
host:
from_secret: host
user:
from_secret: user
password:
from_secret: password
steps:
- name: release
commands:
- cd /mnt/md0/infra/plex
- git pull
- make restart
- name: release
commands:
- cd /mnt/md0/infra/plex
- git pull
- make restart
trigger:
branch:
- master
event:
- push
branch:
- master
event:
- push
...