Exemplary Woodpecker pipelines
pat-s 5ffed3d2fa
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add link checker and prettier (#49)
Adapted from WP main repo. Reviewed-on: #49 Co-authored-by: pat-s <patrick.schratz@gmail.com> Co-committed-by: pat-s <patrick.schratz@gmail.com>
2024-04-10 07:16:10 +00:00
C/.woodpecker Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
Docker/.woodpecker Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
Golang/.woodpecker Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
Hugo Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
Jekyll/.woodpecker Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
KiCad Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
Mdbook Linters and related fixes (#39) 2024-01-31 16:32:05 +00:00
NodeJS Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
Python/.woodpecker Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
R Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
Rust Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
StandardML Linters and related fixes (#39) 2024-01-31 16:32:05 +00:00
Tectonic Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
Typst Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
.editorconfig Linters and related fixes (#39) 2024-01-31 16:32:05 +00:00
.gitignore Linters and related fixes (#39) 2024-01-31 16:32:05 +00:00
.markdownlint.yaml Linters and related fixes (#39) 2024-01-31 16:32:05 +00:00
.pre-commit-config.yaml Linters and related fixes (#39) 2024-01-31 16:32:05 +00:00
.prettierrc.json Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
.woodpecker.yaml Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
.yamllint.yaml Linters and related fixes (#39) 2024-01-31 16:32:05 +00:00
LICENSE Initial commit 2022-05-23 23:04:00 +02:00
README.md Add link checker and prettier (#49) 2024-04-10 07:16:10 +00:00
renovate.json chore: Configure Renovate (#43) 2024-02-06 07:53:48 +00:00

Woodpecker examples

Example Woodpecker pipelines for various use cases. Pull requests are welcome!

Link Language Build System Comments
C/.woodpecker/make.yaml C Make Simple ci for building a Make based C project
C/.woodpecker/meson.yaml C/C++ meson CI for meson-based projects.
C/.woodpecker/meson-android.yaml C/C++ meson + Android NDK CI for meson-based projects cross-compiling to Android NDK.
Docker/.woodpecker/kaniko.yaml Dockerfile Kaniko Minimalistic CI pipeline with clear instructions to push a Docker image
Docker/.woodpecker/buildx.yaml Dockerfile buildx Build and publish Docker images for multiple architectures on codeberg
Golang/.woodpecker/build.yaml golang golang Simple ci for building and test a Go project
Golang/.woodpecker/build-docker.yaml golang golang / kaniko CI to build golang project and build various docker container and publish them on DockerHub
KiCad/.woodpecker.yaml --- KiBot Building gerber files, ibom and a pdf schematic as an example for KiBot use
NodeJS/.woodpecker.yaml JavaScript NodeJS CI to build static websites files and publish them to Codeberg Pages with 11ty
Tectonic/.woodpecker.yaml LaTeX Tectonic Builds a TeX file and pushes the resulting PDF file to a given repository.
Jekyll/.woodpecker/jekyll.yaml Markdown Jekyll CI step to build static website files and publish them to Codeberg Pages using Jekyll
Hugo/.woodpecker.yaml Markdown Hugo CI step to build static website files and publish them to Codeberg Pages with Hugo
Python/.woodpecker/mkdocs.yaml Markdown MkDocs Static Site Generator mkdocs example
Mdbook/.woodpecker.yaml Markdown mdbook CI step to build static website files and publish them to Codeberg Pages with mdbook
Python/.woodpecker/code-quality.yaml Python Python venv Standard CI pipeline to test Python packages code on multiple Python distributions. For details check serial-sphinx
Python/.woodpecker/pdoc.yaml Python Python venv Build API documentation with pdoc & publish files on a pages branch
R/.woodpecker.yaml R R Installs R package dependencies and runs R CMD check
Rust/.woodpecker.yaml Rust cargo Simple CI pipeline to run cargo commands
StandardML/.woodpecker.yaml Standard ML sml Simple CI pipeline to run SML files
Typst/.woodpecker.yaml Typst Typst Builds a Typst file and pushes the resulting PDF file to a given repository.

More examples from Codeberg

Codeberg repos with Woodpecker YAML files

How to add a new example

  1. Create a new subdirectory with a descriptive name. Capitalize the first letter.
  2. If you only add one file: name it .woodpecker.yaml. If you want to add multiple files: add a .woodpecker directory and use descriptive names for the individual yaml files.
  3. Add your example to the README table while respecting the alphabetical order.
  4. Add your new subdirectory to the "woodpecker-cli" step in .woodpecker.yaml so it is getting linted over time.