mirror of
https://codeberg.org/Codeberg-CI/examples.git
synced 2025-09-09 11:54:55 -04:00

- 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: https://codeberg.org/Codeberg-CI/examples/pulls/39 Co-authored-by: pat-s <patrick.schratz@gmail.com> Co-committed-by: pat-s <patrick.schratz@gmail.com>
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.woodpecker
directory 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.yaml
so it is getting linted over time.
Description
Languages
Dockerfile
52.8%
Shell
47.2%