Skip to content

Commit 7ccb8d3

Browse files
authored
Add Bazel and Woodpecker documentation (#2727)
* feat: add bazel documentation Signed-off-by: Olblak <me@olblak.com> * feat: add woodpecker autodiscovery documentatio Signed-off-by: Olblak <me@olblak.com> --------- Signed-off-by: Olblak <me@olblak.com>
1 parent b6bd923 commit 7ccb8d3

File tree

4 files changed

+181
-0
lines changed

4 files changed

+181
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: "Bazel"
3+
description: "Discover Bazel update"
4+
lead: "kind: bazel"
5+
draft: false
6+
images: []
7+
menu:
8+
docs:
9+
parent: "plugin-autodiscovery"
10+
weight: 130
11+
toc: true
12+
plugins:
13+
- autodiscovery
14+
---
15+
16+
== Description
17+
18+
The `bazel` Autodiscovery plugin allows to automatically search and update content in Bazel configuration file.
19+
20+
=== Manifests
21+
==== Parameters
22+
23+
{{< autodiscoveryparameters "bazel" >}}
24+
25+
==== Example
26+
27+
[source,yaml]
28+
----
29+
autodiscovery:
30+
crawlers:
31+
bazel:
32+
----
33+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: "Woodpecker"
3+
description: "Woodpecker CI/CD autodiscovery "
4+
lead: "kind: woodpecker"
5+
draft: false
6+
images: []
7+
menu:
8+
docs:
9+
parent: "plugin-autodiscovery"
10+
weight: 130
11+
toc: true
12+
plugins:
13+
- autodiscovery
14+
---
15+
16+
== Description
17+
18+
The `woodpecker` Autodiscovery plugin allows to automatically search and update content in Woodpecker CI/CD configuration file.
19+
20+
=== Manifests
21+
==== Parameters
22+
23+
{{< autodiscoveryparameters "woodpecker" >}}
24+
25+
==== Example
26+
27+
[source,yaml]
28+
----
29+
autodiscovery:
30+
crawlers:
31+
woodpecker:
32+
----
33+
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title: Bazelmod
3+
description: "Manipulate bazelmod information"
4+
lead: "kind: bazelmod"
5+
date: 2026-02-02T12:00:00+02:00
6+
draft: false
7+
images: []
8+
menu:
9+
docs:
10+
parent: "plugin-resource"
11+
toc: true
12+
plugins:
13+
- source
14+
- condition
15+
- target
16+
---
17+
// <!-- Required for asciidoctor -->
18+
:toc:
19+
// Set toclevels to be at least your hugo [markup.tableOfContents.endLevel] config key
20+
:toclevels: 4
21+
22+
[cols="1^,1^,1^",options=header]
23+
|===
24+
| source | condition | target
25+
| &#10004; | &#10004; | &#10004;
26+
|===
27+
28+
== Description
29+
30+
**source**
31+
32+
The Bazelmod "source" retrieves an information from a bazelmod file.
33+
34+
**condition**
35+
36+
The Bazelmod "condition" tests that an information exist in a bazelmod file.
37+
38+
**target**
39+
40+
The Bazelmod "target" ensures that a bazelmod file content a specific value at
41+
42+
== Parameters
43+
44+
{{< resourceparameters "sources" "bazelmod" >}}
45+
46+
== Example
47+
48+
[source,yaml]
49+
----
50+
targets:
51+
rules_python:
52+
name: Bump Bazel module rules_python
53+
kind: bazelmod
54+
spec:
55+
file: project2/MODULE.bazel
56+
module: rules_python
57+
----
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: Bazelregistry
3+
description: "Manipulate bazelregistry information"
4+
lead: "kind: bazelregistry"
5+
date: 2026-02-02T12:00:00+02:00
6+
draft: false
7+
images: []
8+
menu:
9+
docs:
10+
parent: "plugin-resource"
11+
toc: true
12+
plugins:
13+
- source
14+
- condition
15+
---
16+
// <!-- Required for asciidoctor -->
17+
:toc:
18+
// Set toclevels to be at least your hugo [markup.tableOfContents.endLevel] config key
19+
:toclevels: 4
20+
21+
[cols="1^,1^,1^",options=header]
22+
|===
23+
| source | condition | target
24+
| &#10004; | &#10004; | &#10007;
25+
|===
26+
27+
== Description
28+
29+
**source**
30+
31+
The Bazelregistry "source" retrieves an information from a bazelregistry file.
32+
33+
**condition**
34+
35+
The Bazelregistry "condition" tests that an information exist in a bazelregistry file.
36+
37+
**target**
38+
39+
Not supported. Feel free to open an issue if you want to see this implemented.
40+
41+
== Parameters
42+
43+
{{< resourceparameters "sources" "bazelregistry" >}}
44+
45+
== Example
46+
47+
[source,yaml]
48+
----
49+
sources:
50+
rules_python:
51+
name: Get latest version of Bazel module rules_python
52+
kind: bazelregistry
53+
spec:
54+
module: rules_python
55+
versionfilter:
56+
kind: semver
57+
pattern: '>=0.25.0'
58+
----

0 commit comments

Comments
 (0)