diff --git a/assets/code_example/docs/plugins/autodiscovery/githubaction/updatecli.d/default.yaml b/assets/code_example/docs/plugins/autodiscovery/githubaction/updatecli.d/default.yaml new file mode 100644 index 000000000..752b089a4 --- /dev/null +++ b/assets/code_example/docs/plugins/autodiscovery/githubaction/updatecli.d/default.yaml @@ -0,0 +1,15 @@ +name: "githubaction autodiscovery" +scms: + default: + kind: git + spec: + url: https://github.com/updatecli/updatecli.git + branch: "main" + +autodiscovery: + scmid: default + crawlers: + githubaction: + spec: + digest: true + rootdir: ".github" diff --git a/assets/code_example/docs/plugins/autodiscovery/precommit/updatecli.d/default.yaml b/assets/code_example/docs/plugins/autodiscovery/precommit/updatecli.d/default.yaml new file mode 100644 index 000000000..8e0f838e1 --- /dev/null +++ b/assets/code_example/docs/plugins/autodiscovery/precommit/updatecli.d/default.yaml @@ -0,0 +1,14 @@ +name: "precommit autodiscovery" +scms: + default: + kind: git + spec: + url: https://github.com/updatecli/updatecli.git + branch: "main" + +autodiscovery: + scmid: default + crawlers: + precommit: + spec: + digest: true diff --git a/content/en/docs/plugins/autodiscovery/githubaction.adoc b/content/en/docs/plugins/autodiscovery/githubaction.adoc new file mode 100644 index 000000000..6f3b96219 --- /dev/null +++ b/content/en/docs/plugins/autodiscovery/githubaction.adoc @@ -0,0 +1,43 @@ +--- +title: "Github Action" +description: "Discover github action update" +lead: "kind: githubaction" +draft: false +images: [] +menu: + docs: + parent: "plugin-autodiscovery" +weight: 130 +toc: true +plugins: + - autodiscovery +--- + +== Description + +The Github Action crawler looks recursively for all Github Action workflows. +Then for each of them, it tries to automate its update. + +It currently support the following sources: + +- link:{{< ref "docker_image" >}}[`dockerimage`] + +- link:{{< ref "github_release" >}}[`githubrelease`] + +- link:{{< ref "gittag" >}}[`gittag`] + +- link:{{< ref "gitbranch" >}}[`gitbranch`] + + +== Manifest +=== Parameters + +{{< autodiscoveryparameters "githubaction" >}} + +==== Example + +[source,yaml] +---- +# updatecli.d/default.yaml +{{}} +---- diff --git a/content/en/docs/plugins/autodiscovery/precommit.adoc b/content/en/docs/plugins/autodiscovery/precommit.adoc new file mode 100644 index 000000000..4e7b553e9 --- /dev/null +++ b/content/en/docs/plugins/autodiscovery/precommit.adoc @@ -0,0 +1,36 @@ +--- +title: "Precommit" +description: "Discover precommit update" +lead: "kind: precommit" +draft: false +images: [] +menu: + docs: + parent: "plugin-autodiscovery" +weight: 130 +toc: true +plugins: + - autodiscovery +--- + +== Description + +The Precommit crawler looks recursively for all precommit repository updates. + +It currently support the following sources: + +- link:{{< ref "gittag" >}}[`gittag`] + + +== Manifest +=== Parameters + +{{< autodiscoveryparameters "precommit" >}} + +==== Example + +[source,yaml] +---- +# updatecli.d/default.yaml +{{}} +----