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

View File

@ -1,57 +1,67 @@
--- ---
concurrency:
limit: 1
kind: pipeline kind: pipeline
name: docs name: docs
platform: platform:
arch: amd64
os: linux os: linux
arch: amd64
concurrency:
limit: 1
steps: steps:
- commands: - name: assets
- make doc
image: thegeeklab/alpine-tools image: thegeeklab/alpine-tools
name: assets commands:
- commands: - make doc
- git-batch
- name: sync
image: thegeeklab/git-batch image: thegeeklab/git-batch
name: sync commands:
- commands: - git-batch
- markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md'
- name: markdownlint
image: thegeeklab/markdownlint-cli 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 - npm install -g spellchecker-cli
- spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article - spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions
syntax-urls --no-suggestions
environment: environment:
FORCE_COLOR: true FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error NPM_CONFIG_LOGLEVEL: error
image: node:lts-alpine
name: spellcheck - name: testbuild
- commands: image: thegeeklab/hugo:0.91.0
commands:
- hugo -b http://localhost/ - hugo -b http://localhost/
image: thegeeklab/hugo:0.83.1
name: testbuild - name: link-validation
- commands: image: thegeeklab/link-validator
commands:
- link-validator -ro - link-validator -ro
environment: environment:
LINK_VALIDATOR_BASE_DIR: public LINK_VALIDATOR_BASE_DIR: public
image: thegeeklab/link-validator
name: link-validation - name: build
- commands: image: thegeeklab/hugo:0.91.0
commands:
- hugo - hugo
image: thegeeklab/hugo:0.83.1
name: build - name: beautify
- commands: image: node:lts-alpine
commands:
- npm install -g js-beautify - npm install -g js-beautify
- html-beautify -r -f 'public/**/*.html' - html-beautify -r -f 'public/**/*.html'
environment: environment:
FORCE_COLOR: true FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error NPM_CONFIG_LOGLEVEL: error
image: node:lts-alpine
name: beautify - name: publish
- image: plugins/s3-sync image: plugins/s3-sync
name: publish
settings: settings:
access_key: access_key:
from_secret: s3_access_key from_secret: s3_access_key
@ -68,13 +78,15 @@ steps:
ref: ref:
- refs/heads/main - refs/heads/main
- refs/tags/** - refs/tags/**
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
- refs/tags/** - refs/tags/**
- refs/pull/** - refs/pull/**
--- ---
kind: signature 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 Permission is hereby granted, free of charge, to any person obtaining a copy
this software and associated documentation files (the "Software"), to deal in of this software and associated documentation files (the "Software"), to deal
the Software without restriction, including without limitation the rights to in the Software without restriction, including without limitation the rights
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
the Software, and to permit persons to whom the Software is furnished to do so, copies of the Software, and to permit persons to whom the Software is furnished
subject to the following conditions: to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all The above copyright notice and this permission notice (including the next
copies or substantial portions of the Software. 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 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.