forked from Codeberg-CI/examples
Example Woodpecker pipeline files
|
pat-s
8df9d19ef4
Linters and related fixes ( #39 )
- Add yamllint - Add markdownlint - Add precommit config - Add editorconfig - Rename `.yml` to `.yaml` - Add CI workflow to enforce lint rules Configs are taken from Woodpecker org lint rules. Reviewed-on: Codeberg-CI/examples#39 Co-authored-by: pat-s <patrick.schratz@gmail.com> Co-committed-by: pat-s <patrick.schratz@gmail.com> |
||
|---|---|---|
| C/.woodpecker | Linters and related fixes ( #39 ) | |
| Docker/.woodpecker | Linters and related fixes ( #39 ) | |
| Golang/.woodpecker | Linters and related fixes ( #39 ) | |
| Hugo | Linters and related fixes ( #39 ) | |
| Jekyll/.woodpecker | Linters and related fixes ( #39 ) | |
| KiCad | Linters and related fixes ( #39 ) | |
| Mdbook | Linters and related fixes ( #39 ) | |
| NodeJS | Linters and related fixes ( #39 ) | |
| Python/.woodpecker | Linters and related fixes ( #39 ) | |
| Rust | Linters and related fixes ( #39 ) | |
| StandardML | Linters and related fixes ( #39 ) | |
| Tectonic | Linters and related fixes ( #39 ) | |
| Typst | Linters and related fixes ( #39 ) | |
| .editorconfig | Linters and related fixes ( #39 ) | |
| .gitignore | Linters and related fixes ( #39 ) | |
| .markdownlint.yaml | Linters and related fixes ( #39 ) | |
| .pre-commit-config.yaml | Linters and related fixes ( #39 ) | |
| .woodpecker.yaml | Linters and related fixes ( #39 ) | |
| .yamllint.yaml | Linters and related fixes ( #39 ) | |
| LICENSE | Initial commit | |
| README.md | Linters and related fixes ( #39 ) | |
Woodpecker examples
Example Woodpecker pipelines for various use cases. Pull requests are welcome!
| Link | Language | Build System | Comments |
|---|---|---|---|
| KiCad/kibot.yml | --- | KiBot | Building gerber files, ibom and a pdf schematic as an example for KiBot use |
| C/make.yml | C | Make | Simple ci for building a Make based C project |
| C/meson.yml | C/C++ | meson | CI for meson-based projects. |
| C/meson-android.yml | C/C++ | meson + Android NDK | CI for meson-based projects cross-compiling to Android NDK. |
| Docker/kaniko.yml | Dockerfile | Kaniko | Minimalistic CI pipeline with clear instructions to push a Docker image |
| Docker/buildx.yml | Dockerfile | buildx | Build and publish Docker images for multiple architectures on codeberg |
| golang/build.yml | golang | golang | Simple ci for building and test a Go project |
| golang/build-docker.yml | golang | golang / kaniko | CI to build golang project and build various docker container and publish them on DockerHub |
| NodeJS/11ty.yml | JavaScript | NodeJS | CI to build static websites files and publish them to Codeberg Pages with 11ty |
| tectonic/.woodpecker.yml | LaTeX | Tectonic | Builds a TeX file and pushes the resulting PDF file to a given repository. |
| Jekyll/jekyll.yml | Markdown | Jekyll | CI step to build static website files and publish them to Codeberg Pages using Jekyll |
| Hugo/hugo.yml | Markdown | Hugo | CI step to build static website files and publish them to Codeberg Pages with Hugo |
| Python/mkdocs.yml | Markdown | MkDocs | Static Site Generator mkdocs example |
| mdbook/mdbook.yml | Markdown | mdbook | CI step to build static website files and publish them to Codeberg Pages with mdbook |
| Python/.woodpecker.yml | Python | Python venv | Standard CI pipeline to test Python packages code on multiple Python distributions. For details check serial-sphinx |
| Python/pdoc.yml | Python | Python venv | Build API documentation with pdoc & publish files on a pages branch |
| Rust/.woodpecker.yml | Rust | cargo | Simple CI pipeline to run cargo commands |
| StandardML/sml.yml | Standard ML | sml | Simple CI pipeline to run SML files |
| Typst/.woodpecker.yml | 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
- Create a new subdirectory with a descriptive name. Capitalize the first letter.
- If you only add one file: name it
.woodpecker.yaml. If you want to add multiple files: add a.woodpeckerdirectory and use descriptive names for the individual yaml files. - Add your example to the README table while respecting the alphabetical order.
- Add your new subdirectory to the "woodpecker-cli" step in
.woodpecker.yamlso it is getting linted over time.