diff --git a/content/en/docs/plugins/autodiscovery/bazel.adoc b/content/en/docs/plugins/autodiscovery/bazel.adoc new file mode 100644 index 000000000..b0176401a --- /dev/null +++ b/content/en/docs/plugins/autodiscovery/bazel.adoc @@ -0,0 +1,33 @@ +--- +title: "Bazel" +description: "Discover Bazel update" +lead: "kind: bazel" +draft: false +images: [] +menu: + docs: + parent: "plugin-autodiscovery" +weight: 130 +toc: true +plugins: + - autodiscovery +--- + +== Description + +The `bazel` Autodiscovery plugin allows to automatically search and update content in Bazel configuration file. + +=== Manifests +==== Parameters + +{{< autodiscoveryparameters "bazel" >}} + +==== Example + +[source,yaml] +---- +autodiscovery: + crawlers: + bazel: +---- + diff --git a/content/en/docs/plugins/autodiscovery/woodpecker.adoc b/content/en/docs/plugins/autodiscovery/woodpecker.adoc new file mode 100644 index 000000000..60dbc596c --- /dev/null +++ b/content/en/docs/plugins/autodiscovery/woodpecker.adoc @@ -0,0 +1,33 @@ +--- +title: "Woodpecker" +description: "Woodpecker CI/CD autodiscovery " +lead: "kind: woodpecker" +draft: false +images: [] +menu: + docs: + parent: "plugin-autodiscovery" +weight: 130 +toc: true +plugins: + - autodiscovery +--- + +== Description + +The `woodpecker` Autodiscovery plugin allows to automatically search and update content in Woodpecker CI/CD configuration file. + +=== Manifests +==== Parameters + +{{< autodiscoveryparameters "woodpecker" >}} + +==== Example + +[source,yaml] +---- +autodiscovery: + crawlers: + woodpecker: +---- + diff --git a/content/en/docs/plugins/resource/bazelmod.adoc b/content/en/docs/plugins/resource/bazelmod.adoc new file mode 100644 index 000000000..d6751d5a9 --- /dev/null +++ b/content/en/docs/plugins/resource/bazelmod.adoc @@ -0,0 +1,57 @@ +--- +title: Bazelmod +description: "Manipulate bazelmod information" +lead: "kind: bazelmod" +date: 2026-02-02T12:00:00+02:00 +draft: false +images: [] +menu: + docs: + parent: "plugin-resource" +toc: true +plugins: + - source + - condition + - target +--- +// +:toc: +// Set toclevels to be at least your hugo [markup.tableOfContents.endLevel] config key +:toclevels: 4 + +[cols="1^,1^,1^",options=header] +|=== +| source | condition | target +| ✔ | ✔ | ✔ +|=== + +== Description + +**source** + +The Bazelmod "source" retrieves an information from a bazelmod file. + +**condition** + +The Bazelmod "condition" tests that an information exist in a bazelmod file. + +**target** + +The Bazelmod "target" ensures that a bazelmod file content a specific value at + +== Parameters + +{{< resourceparameters "sources" "bazelmod" >}} + +== Example + +[source,yaml] +---- +targets: + rules_python: + name: Bump Bazel module rules_python + kind: bazelmod + spec: + file: project2/MODULE.bazel + module: rules_python +---- diff --git a/content/en/docs/plugins/resource/bazelregistry.adoc b/content/en/docs/plugins/resource/bazelregistry.adoc new file mode 100644 index 000000000..2509c3f0b --- /dev/null +++ b/content/en/docs/plugins/resource/bazelregistry.adoc @@ -0,0 +1,58 @@ +--- +title: Bazelregistry +description: "Manipulate bazelregistry information" +lead: "kind: bazelregistry" +date: 2026-02-02T12:00:00+02:00 +draft: false +images: [] +menu: + docs: + parent: "plugin-resource" +toc: true +plugins: + - source + - condition +--- +// +:toc: +// Set toclevels to be at least your hugo [markup.tableOfContents.endLevel] config key +:toclevels: 4 + +[cols="1^,1^,1^",options=header] +|=== +| source | condition | target +| ✔ | ✔ | ✗ +|=== + +== Description + +**source** + +The Bazelregistry "source" retrieves an information from a bazelregistry file. + +**condition** + +The Bazelregistry "condition" tests that an information exist in a bazelregistry file. + +**target** + +Not supported. Feel free to open an issue if you want to see this implemented. + +== Parameters + +{{< resourceparameters "sources" "bazelregistry" >}} + +== Example + +[source,yaml] +---- +sources: + rules_python: + name: Get latest version of Bazel module rules_python + kind: bazelregistry + spec: + module: rules_python + versionfilter: + kind: semver + pattern: '>=0.25.0' +----