Compare commits
No commits in common. "014238722e39d68003951273e5779842c936346f" and "4ad02f82f2f33ee0073d0e5dcc4f2494f83a62d3" have entirely different histories.
014238722e
...
4ad02f82f2
3 changed files with 27 additions and 15 deletions
13
.github/README.md
vendored
Normal file
13
.github/README.md
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Yamllint WoodpeckerCI Plugin
|
||||||
|
|
||||||
|
[](https://hub.docker.com/r/kokuwaio/yamllint)
|
||||||
|
[](https://hub.docker.com/r/kokuwaio/yamllint)
|
||||||
|
[](https://git.kokuwa.io/woodpecker/yamllint/src/branch/main/Dockerfile)
|
||||||
|
[](https://git.kokuwa.io/woodpecker/yamllint/src/branch/main/LICENSE)
|
||||||
|
[](https://git.kokuwa.io/woodpecker/yamllint/pulls)
|
||||||
|
[](https://git.kokuwa.io/woodpecker/yamllint/issues)
|
||||||
|
|
||||||
|
A [WoodpeckerCI](https://woodpecker-ci.org) plugin for [yamllint](https://github.com/adrienverge/yamllint) to lint yaml files.
|
||||||
|
Also usable with Gitlab, Github or locally, see examples for usage.
|
||||||
|
|
||||||
|
For more documention see: [git.kokuwa.io/woodpecker/yamllint](https://git.kokuwa.io/woodpecker/yamllint)
|
|
@ -2,7 +2,7 @@
|
||||||
## Debian base layer with python
|
## Debian base layer with python
|
||||||
##
|
##
|
||||||
|
|
||||||
FROM docker.io/library/debian:12.11-slim@sha256:e5865e6858dacc255bead044a7f2d0ad8c362433cfaa5acefb670c1edf54dfef AS debian
|
FROM docker.io/library/debian:12.10-slim@sha256:b1211f6d19afd012477bd34fdcabb6b663d680e0f4b0537da6e6b0fd057a3ec3 AS debian
|
||||||
RUN rm -rf /etc/*- /tmp/* /var/cache/* /var/log/* /var/lib/dpkg/*-old /var/lib/dpkg/status
|
RUN rm -rf /etc/*- /tmp/* /var/cache/* /var/log/* /var/lib/dpkg/*-old /var/lib/dpkg/status
|
||||||
RUN --mount=type=cache,target=/var/lib/apt/lists,sharing=locked \
|
RUN --mount=type=cache,target=/var/lib/apt/lists,sharing=locked \
|
||||||
apt-get -qq update && \
|
apt-get -qq update && \
|
||||||
|
|
25
README.md
25
README.md
|
@ -1,10 +1,11 @@
|
||||||
# Yamllint Plugin
|
# Yamllint WoodpeckerCI Plugin
|
||||||
|
|
||||||
[](https://hub.docker.com/repository/docker/kokuwaio/yamllint)
|
[](https://hub.docker.com/r/kokuwaio/yamllint)
|
||||||
[](https://hub.docker.com/repository/docker/kokuwaio/yamllint)
|
[](https://hub.docker.com/r/kokuwaio/yamllint)
|
||||||
[](https://github.com/kokuwaio/yamllint/blob/main/Dockerfile)
|
[](https://git.kokuwa.io/woodpecker/yamllint/src/branch/main/Dockerfile)
|
||||||
[](https://github.com/kokuwaio/yamllint/blob/main/LICENSE)
|
[](https://git.kokuwa.io/woodpecker/yamllint/src/branch/main/LICENSE)
|
||||||
[](https://github.com/kokuwaio/yamllint/issues)
|
[](https://git.kokuwa.io/woodpecker/yamllint/pulls)
|
||||||
|
[](https://git.kokuwa.io/woodpecker/yamllint/issues)
|
||||||
|
|
||||||
A [WoodpeckerCI](https://woodpecker-ci.org) plugin for [yamllint](https://github.com/adrienverge/yamllint) to lint yaml files.
|
A [WoodpeckerCI](https://woodpecker-ci.org) plugin for [yamllint](https://github.com/adrienverge/yamllint) to lint yaml files.
|
||||||
Also usable with Gitlab, Github or locally, see examples for usage.
|
Also usable with Gitlab, Github or locally, see examples for usage.
|
||||||
|
@ -23,7 +24,6 @@ Woodpecker:
|
||||||
steps:
|
steps:
|
||||||
yamllint:
|
yamllint:
|
||||||
image: kokuwaio/yamllint
|
image: kokuwaio/yamllint
|
||||||
depends_on: []
|
|
||||||
settings:
|
settings:
|
||||||
no-warnings: true
|
no-warnings: true
|
||||||
format: json
|
format: json
|
||||||
|
@ -37,7 +37,6 @@ Gitlab:
|
||||||
```yaml
|
```yaml
|
||||||
yamllint:
|
yamllint:
|
||||||
stage: lint
|
stage: lint
|
||||||
needs: []
|
|
||||||
image: kokuwaio/yamllint
|
image: kokuwaio/yamllint
|
||||||
variables:
|
variables:
|
||||||
PLUGIN_NO_WARNINGS: true
|
PLUGIN_NO_WARNINGS: true
|
||||||
|
@ -66,8 +65,8 @@ docker run --rm --volume=$(pwd):$(pwd):ro --workdir=$(pwd) kokuwaio/yamllint --n
|
||||||
|
|
||||||
| Image | Comment | amd64 | arm64 |
|
| Image | Comment | amd64 | arm64 |
|
||||||
| ----------------------------------------------------------------------------------- | --------------------------------- |:-----:|:-----:|
|
| ----------------------------------------------------------------------------------- | --------------------------------- |:-----:|:-----:|
|
||||||
| [kokuwaio/yamllint](https://hub.docker.com/r/kokuwaio/yamllint) | Woodpecker plugin | [](https://hub.docker.com/repository/docker/kokuwaio/yamllint) | [](https://hub.docker.com/repository/docker/kokuwaio/yamllint) |
|
| [kokuwaio/yamllint](https://hub.docker.com/r/kokuwaio/yamllint) | Woodpecker plugin | [](https://hub.docker.com/r/kokuwaio/yamllint) | [](https://hub.docker.com/r/kokuwaio/yamllint) |
|
||||||
| [pipelinecomponents/yamllint](https://hub.docker.com/r/pipelinecomponents/yamllint) | not a Woodpecker plugin | [](https://hub.docker.com/repository/docker/pipelinecomponents/yamllint) | [](https://hub.docker.com/repository/docker/pipelinecomponents/yamllint) |
|
| [pipelinecomponents/yamllint](https://hub.docker.com/r/pipelinecomponents/yamllint) | not a Woodpecker plugin | [](https://hub.docker.com/r/pipelinecomponents/yamllint) | [](https://hub.docker.com/r/pipelinecomponents/yamllint) |
|
||||||
| [giantswarm/yamllint](https://hub.docker.com/r/giantswarm/yamllint) | not a Woodpecker plugin | [](https://hub.docker.com/repository/docker/giantswarm/yamllint) | [](https://hub.docker.com/repository/docker/giantswarm/yamllint) |
|
| [giantswarm/yamllint](https://hub.docker.com/r/giantswarm/yamllint) | not a Woodpecker plugin | [](https://hub.docker.com/r/giantswarm/yamllint) | [](https://hub.docker.com/r/giantswarm/yamllint) |
|
||||||
| [cytopia/yamllint](https://hub.docker.com/r/sdesbure/yamllint) | not a Woodpecker plugin, outdated | [](https://hub.docker.com/repository/docker/cytopia/yamllint) | [](https://hub.docker.com/repository/docker/cytopia/yamllint) |
|
| [cytopia/yamllint](https://hub.docker.com/r/sdesbure/yamllint) | not a Woodpecker plugin, outdated | [](https://hub.docker.com/r/cytopia/yamllint) | [](https://hub.docker.com/r/cytopia/yamllint) |
|
||||||
| [sdesbure/yamllint](https://hub.docker.com/r/sdesbure/yamllint) | not a Woodpecker plugin, outdated | [](https://hub.docker.com/repository/docker/sdesbure/yamllint) | [](https://hub.docker.com/repository/docker/sdesbure/yamllint) |
|
| [sdesbure/yamllint](https://hub.docker.com/r/sdesbure/yamllint) | not a Woodpecker plugin, outdated | [](https://hub.docker.com/r/sdesbure/yamllint) | [](https://hub.docker.com/r/sdesbure/yamllint) |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue