79 Commits

Author SHA1 Message Date
Colgrave
f209b596f6 use appleboy/drone-git-push for push action 2025-01-06 23:34:53 -05:00
Colgrave
665ae70ea4 address the lints, update .woodpecker.yaml 2025-01-05 23:36:56 -05:00
Colgrave
b95efc66e6 update README.md 2025-01-05 23:29:04 -05:00
Colgrave
e3fdb44d03 Change directory, file names and adding comments 2025-01-05 23:27:14 -05:00
Colgrave
920f0f60f4 Revert "add Git CI for sync with upstream repo"
This reverts commit 00af8efc1a63ad6c51e71de7d52dbd53d4ecc92b.
2025-01-05 16:16:13 -05:00
Colgrave
00af8efc1a add Git CI for sync with upstream repo 2025-01-05 16:14:46 -05:00
Colgrave
a72a9f58d3 add Butane example 2025-01-05 16:03:22 -05:00
crapStone
cf6b783a3d
add testing repo 2024-12-27 00:33:55 +01:00
crapStone
238c2572b7
add explanation for packaged extensions 2024-12-26 18:24:19 +01:00
Tealk
8062b31282 [mdbook] change image (#64)
I have replaced the image because it is no longer up to date and has not received any updates for some time. In #63 alpine edge was mentioned and I implemented that.
I also added some comments on how to deal with mdbook extensions and an info for problems with time displays.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/64
Reviewed-by: crapStone <codeberg@crapstone.dev>
Co-authored-by: Tealk <tealk@rollenspiel.monster>
Co-committed-by: Tealk <tealk@rollenspiel.monster>
2024-12-24 16:33:12 +00:00
woodpecker-bot
ec679dce65 chore(deps): update woodpeckerci/woodpecker-cli docker tag to v2.8.2 2024-12-21 00:10:26 +00:00
woodpecker-bot
6aede902bb chore(deps): update woodpeckerci/woodpecker-cli docker tag to v2.8.1 2024-12-14 00:09:32 +00:00
Dependency bot
e5db6206bd chore(deps): update docker.io/woodpeckerci/plugin-prettier docker tag to v1 (#61)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker.io/woodpeckerci/plugin-prettier](https://codeberg.org/woodpecker-plugins/prettier) ([source](https://codeberg.org/woodpecker-plugins/prettier.git)) | major | `0.2.0` -> `1.0.0` |

---

### Release Notes

<details>
<summary>woodpecker-plugins/prettier (docker.io/woodpeckerci/plugin-prettier)</summary>

### [`v1.0.0`](https://codeberg.org/woodpecker-plugins/prettier/blob/HEAD/CHANGELOG.md#100---2024-11-20)

[Compare Source](https://codeberg.org/woodpecker-plugins/prettier/compare/0.2.0...1.0.0)

##### ❤️ Thanks to all contributors! ❤️

[@&#8203;qwerty287](https://github.com/qwerty287), [@&#8203;woodpecker-bot](https://github.com/woodpecker-bot)

##### 💥 Breaking changes

-   Update node.js to v22 and remove ppc64le and arm images \[[#&#8203;2](https://codeberg.org/woodpecker-plugins/prettier/pulls/2)]

##### 📦️ Dependency

-   chore(deps): update woodpeckerci/plugin-ready-release-go docker tag to v2.1.1 \[[#&#8203;5](https://codeberg.org/woodpecker-plugins/prettier/pulls/5)]

##### Misc

-   Add CODEOWNERS \[[#&#8203;3](https://codeberg.org/woodpecker-plugins/prettier/pulls/3)]

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmN5Il19-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/61
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-12-07 09:28:04 +00:00
woodpecker-bot
3122f7dab7 chore(deps): update woodpeckerci/woodpecker-cli docker tag to v2.8.0 2024-11-30 00:13:25 +00:00
6543
4f535b51bf Migrate from depricated syntax to current (#60)
like https://codeberg.org/Codeberg-CI/examples/pulls/59

It addresses deprecation's upcoming in v2.8.0 now

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/60
2024-11-21 13:57:15 +00:00
Simx72
0b4e537b2c fix environment variable (#59)
Hello,

On Zed editor, when opening the file `Rust/.woodpecker.yaml`, it lints as danger (red) line 9:

031e75e884/Rust/.woodpecker.yaml (L9)

stating that:

```
yaml-schema: Woodpecker pipeline config: Incorrect type. Expected "step_environment".
```

But it can easily be fixed changing it to:

```diff
-   environment: [CARGO_TERM_COLOR=always]
+   environment:
+     CARGO_TERM_COLOR: always
```

as shown here:
https://woodpecker-ci.org/docs/usage/environment

Zed editor shows it is an error according to the schema in
https://raw.githubusercontent.com/woodpecker-ci/woodpecker/main/pipeline/frontend/yaml/linter/schema/schema.json

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/59
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Simx72 <angel2600@proton.me>
Co-committed-by: Simx72 <angel2600@proton.me>
2024-11-21 13:23:39 +00:00
woodpecker-bot
031e75e884 chore(deps): update woodpeckerci/woodpecker-cli docker tag to v2.7.3 2024-11-16 00:09:12 +00:00
Thiago Sueto
e8082e4838 Add REUSE example (#57)
This adds a very simple example to lint a project with REUSE.

The fsfe/reuse base image is just alpine with the reuse-tool installed.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/57
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Thiago Sueto <herzenschein@gmail.com>
Co-committed-by: Thiago Sueto <herzenschein@gmail.com>
2024-09-19 21:29:09 +00:00
woodpecker-bot
25e44aa1d0 chore(deps): update woodpeckerci/woodpecker-cli docker tag to v2.7.1 2024-09-08 00:29:27 +00:00
woodpecker-bot
20324229f1 chore(deps): update docker.io/woodpeckerci/plugin-prettier docker tag to v0.2.0 2024-08-31 00:08:17 +00:00
6543
0b76cb526c Address pipeline warnings (#56)
https://ci.codeberg.org/repos/8254/pipeline/155/errors
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/56
2024-08-26 03:44:19 +00:00
Tealk
224d0f2fac [HUGO] replace image (#55)
The previous one no longer receives updates

Signed-off-by: Daniel Buck <daniel.buck@mmmgroup.com>

Co-authored-by: Daniel Buck <daniel.buck@mmmgroup.com>
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/55
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Tealk <tealk@noreply.codeberg.org>
Co-committed-by: Tealk <tealk@noreply.codeberg.org>
2024-08-25 13:13:10 +00:00
3f
10f616df4d Update Hugo/.woodpecker.yaml (#54)
Codeberg Token notice

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/54
Co-authored-by: 3f <3f@noreply.codeberg.org>
Co-committed-by: 3f <3f@noreply.codeberg.org>
2024-08-03 09:06:43 +00:00
daudix
4be3316c10 Add Zola example (#53)
An example workflow to push pages built with [Zola](https://www.getzola.org) to Codeberg Pages.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/53
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: daudix <ddaudix@gmail.com>
Co-committed-by: daudix <ddaudix@gmail.com>
2024-07-22 22:22:58 +00:00
woodpecker-bot
0e1cfcc3fe chore(deps): update woodpeckerci/woodpecker-cli docker tag to v2.7.0 2024-07-20 00:08:57 +00:00
woodpecker-bot
9bb85b3d36 chore(deps): update mstruebing/editorconfig-checker docker tag to v3.0.3 2024-07-06 00:08:36 +00:00
woodpecker-bot
7c163226b0 chore(deps): update woodpeckerci/woodpecker-cli docker tag to v2.6.0 2024-06-16 00:31:33 +00:00
woodpecker-bot
4dd0f7db62 chore(deps): update lycheeverse/lychee docker tag to v0.15.1 2024-06-15 00:11:18 +00:00
woodpecker-bot
b8cbee200b chore(deps): update woodpeckerci/woodpecker-cli docker tag to v2.5.0 2024-06-02 00:25:23 +00:00
Dependency bot
5a10f31fb2 chore(deps): update mstruebing/editorconfig-checker docker tag to v3 (#52)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| mstruebing/editorconfig-checker | major | `2.7.2` -> `v3.0.1` |

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM0MC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmN5Il19-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/52
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-05-04 10:13:48 +00:00
Stefano Volpe
b9c67426af feat: Idris (#51)
I had to sort the entries in the README table to be able to insert my own in alphabetical order.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/51
Co-authored-by: Stefano Volpe <foxy@teapot.ovh>
Co-committed-by: Stefano Volpe <foxy@teapot.ovh>
2024-04-22 18:44:16 +00:00
Andreas Theodosiou
6fe8ac5989 Add CI example for testing Julia packages (#50)
This PR adds an example Woodpecker pipeline for testing a package written in Julia.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/50
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Andreas Theodosiou <atheodosiou@protonmail.ch>
Co-committed-by: Andreas Theodosiou <atheodosiou@protonmail.ch>
2024-04-22 07:43:21 +00:00
Martijn de Boer
f629af8e6a Add PHP Lint for recent versions (#40)
This example adds a matrix step for the 4 most recent supported PHP versions. It uses a bash command and the PHP built-in linter to find errors. It doesn't print much output due to the nature of the linter, but the build step fails with exit code 1 if linting fails.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/40
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Martijn de Boer <git@sexybiggetje.nl>
Co-committed-by: Martijn de Boer <git@sexybiggetje.nl>
2024-04-11 18:50:10 +00:00
pat-s
5ffed3d2fa Add link checker and prettier (#49)
Adapted from WP main repo.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/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
pat-s
531e0933a4
fix table 2024-04-10 08:53:09 +02:00
pat-s
a7381e9e13
fix broken readme links and align file naming 2024-04-10 08:50:56 +02:00
pat-s
f52d4f9389 Add R example (#41)
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/41
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2024-03-25 16:24:06 +00:00
woodpecker-bot
5ebda1fad3 chore(deps): update woodpeckerci/woodpecker-cli docker tag to v2.4.1 2024-03-23 00:08:45 +00:00
woodpecker-bot
c5ccc22021 chore(deps): update woodpeckerci/woodpecker-cli docker tag to v2.3.0 2024-02-10 00:08:23 +00:00
Dependency bot
1236b062b5 chore: Configure Renovate (#43)
Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.

---
### Detected Package Files

 * `Golang/.woodpecker/Dockerfile` (dockerfile)
 * `.woodpecker.yaml` (woodpecker)

### Configuration Summary

Based on the default config's presets, Renovate will:

  - Start dependency updates only once this onboarding PR is merged
  - Enable Renovate Dependency Dashboard creation.
  - Use semantic commit type `fix` for dependencies and `chore` for all others if semantic commits are in use.
  - Ignore `node_modules`, `bower_components`, `vendor` and various test/tests directories.
  - Group known monorepo packages together.
  - Use curated list of recommended non-monorepo package groupings.
  - Apply crowd-sourced package replacement rules.
  - Apply crowd-sourced workarounds for known problems with packages.
  - Run lock file maintenance (updates) early Monday mornings.
  - Schedule automerge daily.
  - Schedule for weekends.
  - Run Renovate on following schedule: every weekend

🔡 Do you want to change how Renovate upgrades your dependencies? Add your custom config to `renovate.json` in this branch. Renovate will update the Pull Request description the next time it runs.

---

### What to Expect

With your current configuration, Renovate will create 1 Pull Request:

<details>
<summary>chore(deps): update woodpeckerci/woodpecker-cli docker tag to v2.3.0</summary>

  - Schedule: ["every weekend"]
  - Branch name: `renovate/woodpeckerci-woodpecker-cli-2.x`
  - Merge into: `main`
  - Upgrade [woodpeckerci/woodpecker-cli](https://github.com/woodpecker-ci/woodpecker) to `v2.3.0-alpine`

</details>

---

 Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section.
If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions).

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

<!--renovate-config-hash:94693a990c975907e7f13da3309b9d56ba02b3983519b41786edf5cf031e457c-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/43
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-02-06 07:53:48 +00:00
pat-s
4785a67d94 yml -> yaml (#42)
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/42
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2024-02-05 09:15:08 +00:00
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: 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>
2024-01-31 16:32:05 +00:00
pat-s
73ef96d755 Various fixes (#38)
see commits

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/38
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2024-01-31 15:44:37 +00:00
Stefano Volpe
dea4421243 Add Typst pipeline example (#37)
A pipeline to build a Typst document and push the resulting pdf to some Codeberg repository (for use in Codeberg pages).

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/37
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Stefano Volpe <foxy@teapot.ovh>
Co-committed-by: Stefano Volpe <foxy@teapot.ovh>
2024-01-31 15:17:17 +00:00
mononym
cea04366c7 pdoc API documentation build and publish CI (#18)
Hi. Here’s one more Python example. It makes use of [pdoc](https://pdoc.dev) in order to generate the API documentation for python modules. The docs are then pushed on a pages branch and normally served by codeberg pages.

Co-authored-by: mononym <mononym@riseup.net>
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/18
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: mononym <mononym@noreply.codeberg.org>
Co-committed-by: mononym <mononym@noreply.codeberg.org>
2024-01-24 12:52:26 +00:00
Kamila Borowska
32b68e6acc Version plugin-codeberg-pages-deploy (#36)
This ensures that the provided example won't use version 2 of the plugin if it were to make breaking changes.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/36
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Kamila Borowska <kamila@borowska.pw>
Co-committed-by: Kamila Borowska <kamila@borowska.pw>
2024-01-01 16:10:43 +00:00
Kamila Borowska
a0ae9079ab Use plugin-codeberg-pages-deploy in mkdocs example (#35)
I've made a plugin to ease deployment of Codeberg Pages, and figured I would update one of examples to use it.

Tested that this works on https://ci.codeberg.org/repos/12946/pipeline/3.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/35
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Kamila Borowska <kamila@borowska.pw>
Co-committed-by: Kamila Borowska <kamila@borowska.pw>
2023-12-30 09:49:10 +00:00
Stefano Volpe
d85e697118 Hugo workflow: use CI_COMMIT_SHA in commit message (#34)
Within the Hugo workflow, the commit message was built interpolating the `CI_BUILD_CREATED` builtin Woodpecker variable. I believe  it is not defined (anymore?): https://woodpecker-ci.org/docs/usage/environment. The most similar thing I have found is `CI_PIPELINE_CREATED`, but I can't get any value beside 0 out of it when using this pipeline. So I propose we use `CI_COMMIT_SHA`, which I already tested in one of my personal projects: https://ci.codeberg.org/repos/12701/pipeline/19/1.
I believe `CI_COMMIT_SHA` is the ideal unique identifier for pipeline triggered by push actions.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/34
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Stefano Volpe <stefano.volpe@student.uva.nl>
Co-committed-by: Stefano Volpe <stefano.volpe@student.uva.nl>
2023-11-03 06:39:15 +00:00
Andre601
18bcfb560c Add "[SKIP CI]" to jekyll example commit message (#32)
When this example is used will a separate run be triggered in Codeberg CI, which only results in a failed run that never was needed.

I first tried with a file configuration to only trigger on main branch, but that didn't work, so I now opted in to simply add a `[SKIP CI]` at the end of the commit message to make Codeberg CI ignore this commit.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/32
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Andre601 <andre601@noreply.codeberg.org>
Co-committed-by: Andre601 <andre601@noreply.codeberg.org>
2023-10-27 12:30:45 +00:00
Tealk
ca469fd9dc Add mdbook (#29)
An example to publish pages built with mdbook on Codeberg Pages.

Co-authored-by: Tealk <tealk@rollenspiel.monster>
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/29
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Tealk <tealk@noreply.codeberg.org>
Co-committed-by: Tealk <tealk@noreply.codeberg.org>
2023-06-10 11:50:43 +00:00