chore: end of the year maintenance

This commit is contained in:
Robert Kaussow 2021-12-21 10:29:16 +01:00
parent 7ee8ec20f6
commit c43992d781
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
4 changed files with 100 additions and 84 deletions

View File

@ -44,7 +44,7 @@ local PipelineDocs = {
},
{
name: 'testbuild',
image: 'thegeeklab/hugo:0.83.1',
image: 'thegeeklab/hugo:0.91.0',
commands: [
'hugo -b http://localhost/',
],
@ -61,7 +61,7 @@ local PipelineDocs = {
},
{
name: 'build',
image: 'thegeeklab/hugo:0.83.1',
image: 'thegeeklab/hugo:0.91.0',
commands: [
'hugo',
],

View File

@ -1,57 +1,67 @@
---
concurrency:
limit: 1
kind: pipeline
name: docs
platform:
arch: amd64
os: linux
arch: amd64
concurrency:
limit: 1
steps:
- commands:
- make doc
- name: assets
image: thegeeklab/alpine-tools
name: assets
- commands:
- git-batch
commands:
- make doc
- name: sync
image: thegeeklab/git-batch
name: sync
- commands:
- markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md'
commands:
- git-batch
- name: markdownlint
image: thegeeklab/markdownlint-cli
name: markdownlint
- commands:
commands:
- markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md'
- name: spellcheck
image: node:lts-alpine
commands:
- npm install -g spellchecker-cli
- spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article
syntax-urls --no-suggestions
- spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
image: node:lts-alpine
name: spellcheck
- commands:
- name: testbuild
image: thegeeklab/hugo:0.91.0
commands:
- hugo -b http://localhost/
image: thegeeklab/hugo:0.83.1
name: testbuild
- commands:
- name: link-validation
image: thegeeklab/link-validator
commands:
- link-validator -ro
environment:
LINK_VALIDATOR_BASE_DIR: public
image: thegeeklab/link-validator
name: link-validation
- commands:
- name: build
image: thegeeklab/hugo:0.91.0
commands:
- hugo
image: thegeeklab/hugo:0.83.1
name: build
- commands:
- name: beautify
image: node:lts-alpine
commands:
- npm install -g js-beautify
- html-beautify -r -f 'public/**/*.html'
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
image: node:lts-alpine
name: beautify
- image: plugins/s3-sync
name: publish
- name: publish
image: plugins/s3-sync
settings:
access_key:
from_secret: s3_access_key
@ -68,13 +78,15 @@ steps:
ref:
- refs/heads/main
- refs/tags/**
trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**
---
kind: signature
hmac: 79ea19f08d85bbcc0b69bd8b04a9f9b092acfcca1e4eb530451f5f8055db7217
hmac: 5b5951dd92dad9fd673283f1bb0412856a5bd6e34af58b966d7e008c8ff319b4
...

3
.prettierignore Normal file
View File

@ -0,0 +1,3 @@
.drone.yml
*.tpl.md
LICENSE

29
LICENSE
View File

@ -1,20 +1,21 @@
The MIT License (MIT)
MIT License
Copyright (c) 2021 Robert Kaussow
Copyright (c) 2022 Robert Kaussow <mail@thegeeklab.de>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The above copyright notice and this permission notice (including the next
paragraph) shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.