fix: correctly indent and init yaml documents
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
still some lines are over 80 characters, that needs fixing, too
This commit is contained in:
parent
09a8c3fb60
commit
66528553a3
36
.drone.yml
36
.drone.yml
|
@ -11,20 +11,20 @@ trigger:
|
|||
exclude: [push, pull_request]
|
||||
|
||||
steps:
|
||||
- name: fedora-hugo
|
||||
- name: fedora-hugo
|
||||
pull: always
|
||||
image: immawanderer/fedora-hugo:latest
|
||||
commands:
|
||||
- uname -r
|
||||
- cat /etc/fedora-release
|
||||
|
||||
- name: alpine-rsync
|
||||
- name: alpine-rsync
|
||||
pull: always
|
||||
image: immawanderer/alpine-rsync:latest
|
||||
commands:
|
||||
- uname -r
|
||||
|
||||
- name: hadolint
|
||||
- name: hadolint
|
||||
pull: always
|
||||
image: hadolint/hadolint:2.9.1-alpine
|
||||
commands:
|
||||
|
@ -45,10 +45,10 @@ trigger:
|
|||
event: pull_request
|
||||
|
||||
depends_on:
|
||||
- pull
|
||||
- pull
|
||||
|
||||
steps:
|
||||
- name: hugo-extended
|
||||
- name: hugo-extended
|
||||
pull: if-not-exists
|
||||
image: immawanderer/fedora-hugo:latest
|
||||
commands:
|
||||
|
@ -71,16 +71,16 @@ trigger:
|
|||
event: pull_request
|
||||
|
||||
depends_on:
|
||||
- build
|
||||
- build
|
||||
|
||||
steps:
|
||||
- name: hadolint
|
||||
- name: hadolint
|
||||
image: hadolint/hadolint:v2.9.1-alpine
|
||||
commands:
|
||||
- hadolint --version
|
||||
- hadolint Dockerfile
|
||||
|
||||
- name: build
|
||||
- name: build
|
||||
pull: always
|
||||
image: tmaier/docker-compose:latest
|
||||
volumes:
|
||||
|
@ -93,7 +93,7 @@ steps:
|
|||
- docker-compose build --no-cache --pull
|
||||
|
||||
volumes:
|
||||
- name: s
|
||||
- name: s
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
|
@ -114,10 +114,10 @@ trigger:
|
|||
exclude: [pull_request, tag]
|
||||
|
||||
depends_on:
|
||||
- build
|
||||
- build
|
||||
|
||||
steps:
|
||||
- name: hugo-extended
|
||||
- name: hugo-extended
|
||||
pull: if-not-exists
|
||||
image: immawanderer/fedora-hugo:latest
|
||||
commands:
|
||||
|
@ -126,7 +126,7 @@ steps:
|
|||
- hugo version
|
||||
- hugo --gc=true --minify
|
||||
|
||||
- name: deploy
|
||||
- name: deploy
|
||||
pull: if-not-exists
|
||||
image: immawanderer/alpine-rsync:latest
|
||||
when:
|
||||
|
@ -173,10 +173,10 @@ node:
|
|||
r: main
|
||||
|
||||
depends_on:
|
||||
- build
|
||||
- build
|
||||
|
||||
steps:
|
||||
- name: hugo-extended
|
||||
- name: hugo-extended
|
||||
pull: if-not-exists
|
||||
image: immawanderer/fedora-hugo:latest
|
||||
commands:
|
||||
|
@ -185,7 +185,7 @@ steps:
|
|||
- hugo version
|
||||
- hugo --gc=true --minify
|
||||
|
||||
- name: rm-intermediate
|
||||
- name: rm-intermediate
|
||||
pull: if-not-exists
|
||||
image: immawanderer/fedora-hugo:latest
|
||||
depends_on:
|
||||
|
@ -193,7 +193,7 @@ steps:
|
|||
commands:
|
||||
- rm -rf ./public
|
||||
|
||||
- name: build
|
||||
- name: build
|
||||
pull: always
|
||||
image: tmaier/docker-compose:latest
|
||||
depends_on:
|
||||
|
@ -207,7 +207,7 @@ steps:
|
|||
branch: master
|
||||
status: success
|
||||
|
||||
- name: deploy
|
||||
- name: deploy
|
||||
pull: always
|
||||
image: tmaier/docker-compose:latest
|
||||
depends_on:
|
||||
|
@ -222,7 +222,7 @@ steps:
|
|||
status: success
|
||||
|
||||
volumes:
|
||||
- name: s
|
||||
- name: s
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
---
|
||||
ignored:
|
||||
|
|
Loading…
Reference in New Issue