0
0
mirror of https://github.com/thegeeklab/woodpecker-plugins.git synced 2024-11-21 23:10:40 +00:00

refactor: initial commit after rewrite to woodpecker

This commit is contained in:
Robert Kaussow 2023-08-28 23:57:34 +02:00
parent 020cbf7d15
commit 0ee57fb8fb
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
11 changed files with 138 additions and 229 deletions

View File

@ -1,12 +1,11 @@
https://github.com/thegeeklab/drone-docker-buildx;docs:content/;content/plugins/drone-docker-buildx https://github.com/thegeeklab/wp-docker-buildx;docs:content/;content/plugins/wp-docker-buildx
https://github.com/thegeeklab/drone-docker-buildx;docs:data/;data/properties/drone-docker-buildx https://github.com/thegeeklab/wp-docker-buildx;docs:data/;data/properties/wp-docker-buildx
https://github.com/thegeeklab/drone-github-comment;docs:content/;content/plugins/drone-github-comment https://github.com/thegeeklab/wp-github-comment;docs:content/;content/plugins/wp-github-comment
https://github.com/thegeeklab/drone-github-comment;docs:data/;data/properties/drone-github-comment https://github.com/thegeeklab/wp-github-comment;docs:data/;data/properties/wp-github-comment
https://github.com/thegeeklab/drone-s3-sync;docs:content/;content/plugins/drone-s3-sync https://github.com/thegeeklab/wp-s3-sync;docs:content/;content/plugins/wp-s3-sync
https://github.com/thegeeklab/drone-s3-sync;docs:data/;data/properties/drone-s3-sync https://github.com/thegeeklab/wp-s3-sync;docs:data/;data/properties/wp-s3-sync
https://github.com/thegeeklab/drone-matrix;docs:content/;content/plugins/drone-matrix https://github.com/thegeeklab/wp-matrix;docs:content/;content/plugins/wp-matrix
https://github.com/thegeeklab/drone-matrix;docs:data/;data/properties/drone-matrix https://github.com/thegeeklab/wp-matrix;docs:data/;data/properties/wp-matrix
https://github.com/thegeeklab/drone-git-action;docs:content/;content/plugins/drone-git-action https://github.com/thegeeklab/wp-git-action;docs:content/;content/plugins/wp-git-action
https://github.com/thegeeklab/drone-git-action;docs:data/;data/properties/drone-git-action https://github.com/thegeeklab/wp-git-action;docs:data/;data/properties/wp-git-action
https://github.com/thegeeklab/drone-yaml;docs;content/tools/drone-yaml https://github.com/thegeeklab/wp-plugin-go;docs;content/misc/wp-plugin-go
https://github.com/thegeeklab/drone-admin;docs;content/tools/drone-admin

View File

@ -1,106 +0,0 @@
local PipelineDocs = {
kind: 'pipeline',
name: 'docs',
platform: {
os: 'linux',
arch: 'amd64',
},
concurrency: {
limit: 1,
},
steps: [
{
name: 'assets',
image: 'thegeeklab/alpine-tools',
commands: [
'make doc',
],
},
{
name: 'sync',
image: 'thegeeklab/git-batch',
commands: [
'git-batch',
],
},
{
name: 'markdownlint',
image: 'thegeeklab/markdownlint-cli',
commands: [
"markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md'",
],
},
{
name: 'spellcheck',
image: 'thegeeklab/alpine-tools',
commands: [
"spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions",
],
environment: {
FORCE_COLOR: true,
NPM_CONFIG_LOGLEVEL: 'error',
},
},
{
name: 'testbuild',
image: 'thegeeklab/hugo:0.115.2',
commands: [
'hugo --panicOnWarning -b http://localhost:8000/',
],
},
{
name: 'link-validation',
image: 'thegeeklab/link-validator',
commands: [
'link-validator --color=always --rate-limit 10',
],
environment: {
LINK_VALIDATOR_BASE_DIR: 'public',
LINK_VALIDATOR_RETRIES: '3',
},
},
{
name: 'build',
image: 'thegeeklab/hugo:0.115.2',
commands: [
'hugo --panicOnWarning',
],
},
{
name: 'beautify',
image: 'thegeeklab/alpine-tools',
commands: [
"html-beautify -r -f 'public/**/*.html'",
],
environment: {
FORCE_COLOR: true,
NPM_CONFIG_LOGLEVEL: 'error',
},
},
{
name: 'publish',
image: 'thegeeklab/drone-s3-sync',
settings: {
access_key: { from_secret: 's3_access_key' },
bucket: 'geekdocs',
delete: true,
endpoint: 'https://sp.rknet.org',
path_style: true,
secret_key: { from_secret: 's3_secret_access_key' },
source: 'public/',
strip_prefix: 'public/',
target: '/${DRONE_REPO_NAME}',
},
when: {
ref: ['refs/heads/main', 'refs/tags/**'],
},
},
],
trigger: {
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
[
PipelineDocs,
]

View File

@ -1,91 +0,0 @@
---
kind: pipeline
name: docs
platform:
os: linux
arch: amd64
concurrency:
limit: 1
steps:
- name: assets
image: thegeeklab/alpine-tools
commands:
- make doc
- name: sync
image: thegeeklab/git-batch
commands:
- git-batch
- name: markdownlint
image: thegeeklab/markdownlint-cli
commands:
- markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md'
- name: spellcheck
image: thegeeklab/alpine-tools
commands:
- spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
- name: testbuild
image: thegeeklab/hugo:0.115.2
commands:
- hugo --panicOnWarning -b http://localhost:8000/
- name: link-validation
image: thegeeklab/link-validator
commands:
- link-validator --color=always --rate-limit 10
environment:
LINK_VALIDATOR_BASE_DIR: public
LINK_VALIDATOR_RETRIES: 3
- name: build
image: thegeeklab/hugo:0.115.2
commands:
- hugo --panicOnWarning
- name: beautify
image: thegeeklab/alpine-tools
commands:
- html-beautify -r -f 'public/**/*.html'
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
- name: publish
image: thegeeklab/drone-s3-sync
settings:
access_key:
from_secret: s3_access_key
bucket: geekdocs
delete: true
endpoint: https://sp.rknet.org
path_style: true
secret_key:
from_secret: s3_secret_access_key
source: public/
strip_prefix: public/
target: /${DRONE_REPO_NAME}
when:
ref:
- refs/heads/main
- refs/tags/**
trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**
---
kind: signature
hmac: f811dfa2ea86079a0ddb8a988052e14ceac8d7bb8a10fb59efa355d685c058e9
...

14
.github/settings.yml vendored
View File

@ -1,8 +1,7 @@
repository: repository:
name: drone-plugin-index name: woodpecker-plugins
description: Drone custom plugin index homepage: https://woodpecker-plugins.geekdocs.de
homepage: https://drone-plugin-index.geekdocs.de topics: woodpecker-ci, woodpecker, woodpecker-plugin
topics: drone, drone-plugin
private: false private: false
has_issues: true has_issues: true
@ -51,7 +50,10 @@ branches:
required_status_checks: required_status_checks:
strict: false strict: false
contexts: contexts:
- continuous-integration/drone/pr - ci/woodpecker/pr/test
enforce_admins: true - ci/woodpecker/pr/build-package
- ci/woodpecker/pr/build-container
- ci/woodpecker/pr/docs
enforce_admins: false
required_linear_history: true required_linear_history: true
restrictions: null restrictions: null

View File

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

80
.woodpecker/docs.yml Normal file
View File

@ -0,0 +1,80 @@
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
assets:
image: quay.io/thegeeklab/alpine-tools
commands:
- make doc
sync:
image: quay.io/thegeeklab/git-batch
commands:
- git-batch
markdownlint:
image: quay.io/thegeeklab/markdownlint-cli
commands:
- markdownlint 'exampleSite/content/**/*.md' 'README.md' 'CONTRIBUTING.md'
spellcheck:
image: quay.io/thegeeklab/alpine-tools
commands:
- spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls
environment:
FORCE_COLOR: "true"
NPM_CONFIG_LOGLEVEL: error
testbuild:
image: quay.io/thegeeklab/hugo:0.115.2
commands:
- hugo --panicOnWarning -b http://localhost:8000/
link-validation:
image: quay.io/thegeeklab/link-validator
group: test
commands:
- link-validator --color=always --rate-limit 10 --timeout 60
environment:
LINK_VALIDATOR_BASE_DIR: exampleSite/public
LINK_VALIDATOR_RETRIES: "3"
build:
image: quay.io/thegeeklab/hugo:0.115.2
commands:
- hugo --panicOnWarning
beautify:
image: quay.io/thegeeklab/alpine-tools
commands:
- html-beautify -r -f 'public/**/*.html'
environment:
FORCE_COLOR: "true"
NPM_CONFIG_LOGLEVEL: error
publish:
image: quay.io/thegeeklab/wp-s3-action
settings:
access_key:
from_secret: s3_access_key
bucket: geekdocs
delete: true
endpoint: https://sp.rknet.org
path_style: true
secret_key:
from_secret: s3_secret_access_key
source: public/
strip_prefix: public/
target: /${CI_REPO_NAME}
when:
- event: [tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
depends_on:
- build-package

26
.woodpecker/notify.yml Normal file
View File

@ -0,0 +1,26 @@
---
when:
- event: [tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
runs_on: [success, failure]
steps:
matrix:
image: quay.io/thegeeklab/wp-matrix
settings:
homeserver:
from_secret: matrix_homeserver
password:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
username:
from_secret: matrix_username
when:
- status: [failure]
depends_on:
- docs

View File

@ -1,15 +1,15 @@
# drone-plugin-index # woodpecker-plugins
[![Build Status](https://img.shields.io/drone/build/thegeeklab/drone-plugin-index?logo=drone&server=https%3A%2F%2Fdrone.thegeeklab.de)](https://drone.thegeeklab.de/thegeeklab/drone-plugin-index) [![Build Status](https://ci.thegeeklab.de/api/badges/thegeeklab/woodpecker-plugins/status.svg)](https://ci.thegeeklab.de/repos/thegeeklab/woodpecker-plugins)
[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/drone-plugin-index)](https://github.com/thegeeklab/drone-plugin-index/graphs/contributors) [![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/woodpecker-plugins)](https://github.com/thegeeklab/woodpecker-plugins/graphs/contributors)
[![License: MIT](https://img.shields.io/github/license/thegeeklab/drone-plugin-index)](https://github.com/thegeeklab/drone-plugin-index/blob/main/LICENSE) [![License: MIT](https://img.shields.io/github/license/thegeeklab/woodpecker-plugins)](https://github.com/thegeeklab/woodpecker-plugins/blob/main/LICENSE)
Drone CI custom resource documentation. Woodpecker CI custom resource documentation.
## Contributors ## Contributors
Special thanks to all [contributors](https://github.com/thegeeklab/drone-plugin-index/graphs/contributors). If you would like to contribute, please see the [instructions](https://github.com/thegeeklab/drone-plugin-index/blob/main/CONTRIBUTING.md). Special thanks to all [contributors](https://github.com/thegeeklab/woodpecker-plugins/graphs/contributors). If you would like to contribute, please see the [instructions](https://github.com/thegeeklab/woodpecker-plugins/blob/main/CONTRIBUTING.md).
## License ## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/drone-plugin-index/blob/main/LICENSE) file for details. This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/woodpecker-plugins/blob/main/LICENSE) file for details.

View File

@ -1,6 +1,6 @@
--- ---
baseURL: https://drone-plugin-index.geekdocs.de/ baseURL: https://woodpecker-plugins.geekdocs.de/
title: Drone CI Plugins title: Woodpecker CI Plugins
theme: hugo-geekdoc theme: hugo-geekdoc
# Required to get well formatted code blocks # Required to get well formatted code blocks
@ -21,7 +21,7 @@ markup:
params: params:
description: > description: >
Custom Drone CI Plugin Index that provies an overview and documenation for all Drone CI resources of the Geeklab project. Custom Woodpecker CI Plugins Index that provides an overview and documentation for all Woodpecker resources in the Geeklab project.
images: images:
- "socialmedia2.png" - "socialmedia2.png"

View File

@ -3,7 +3,7 @@ title: Documentation
--- ---
{{< hint type=important >}} {{< hint type=important >}}
You should not trust any container resource on the internet without verification! Use it at your own risk. You should not trust any container source on the Internet without verification! Use them at your own risk.
{{< /hint >}} {{< /hint >}}
This project provides documentations for custom Drone CI plugins maintained by us. As mentioned, all plugins listed here are custom Drone plugins and not officially supported by Drone. Therefor, **don't use the official Drone support channels** and report issues in the corresponding repositories instead. This project provides documentation for custom Woodpecker CI plugins that are maintained by us. As mentioned above, all plugins listed here are custom Woodpecker plugins and are not officially supported. Therefore **don't use the official Woodpecker CI support channels** and report issues in the appropriate repositories instead.

View File

@ -127,7 +127,7 @@
id="tspan21169" id="tspan21169"
x="228.21407" x="228.21407"
y="383.40546" y="383.40546"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:61.3333px;font-family:Metropolis;-inkscape-font-specification:Metropolis;fill:#ffffff;fill-opacity:0.59965">Drone Plugins</tspan></text> style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:61.3333px;font-family:Metropolis;-inkscape-font-specification:Metropolis;fill:#ffffff;fill-opacity:0.59965">Woodpecker Plugins</tspan></text>
<text <text
xml:space="preserve" xml:space="preserve"
style="font-size:72px;line-height:1.25;font-family:sans-serif" style="font-size:72px;line-height:1.25;font-family:sans-serif"

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB