Compare commits

..

79 commits
plugin ... main

Author SHA1 Message Date
d3282fbf1a
Update dependency ansible-lint to v24.10.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-11-13 15:01:05 +00:00
0a850ffc8b
Update dependency ansible to v10.6.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-11-05 18:01:37 +00:00
d5c3dc7119
update to work with woodpecker
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
2024-10-10 22:14:51 +02:00
64eab09aec
fix image
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-10-08 22:57:38 +02:00
abc55a8eef
change pipeline to woodpecker
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
2024-10-08 22:52:25 +02:00
a0dc5d2900
Update dependency ansible to v10.5.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-08 19:17:40 +00:00
892659f491
Update python Docker tag to v3.13.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-08 02:18:06 +00:00
d51ce44f0e
Update python Docker tag to v3.12.7
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-02 00:17:57 +00:00
cf82b34897
Update dependency ansible-lint to v24.9.2
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-19 18:18:34 +00:00
8b866719c4
Update dependency ansible-lint to v24.9.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-11 13:18:20 +00:00
d752c99346
Update dependency ansible to v10.4.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-10 17:18:20 +00:00
2bd09c67ca
Update python Docker tag to v3.12.6
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-09 20:18:10 +00:00
9c9d44b560
Update dependency ansible to v10.3.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-13 11:17:40 +00:00
8d3da7632b
Update python Docker tag to v3.12.5
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-07 21:17:52 +00:00
1da73097d5
Update dependency ansible to v10.2.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-16 19:08:49 +00:00
127c1d1620
Update dependency ansible-lint to v24.7.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-10 20:08:49 +00:00
2182b61b34
Update dependency ansible-lint to v24.6.1
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-21 16:17:24 +00:00
c5b3df038b
Update dependency ansible to v10.1.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-18 12:17:21 +00:00
e9914a87e2
Update python Docker tag to v3.12.4
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-07 21:10:56 +00:00
c6a41d2ceb
Update dependency ansible to v10.0.1
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-06 05:10:50 +00:00
9367665d6f
Update dependency ansible-lint to v24.6.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-04 18:11:16 +00:00
04c707ea08
Update dependency ansible to v10
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-04 16:11:00 +00:00
882a8edcad
change build pipeline to kubernetes
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-29 21:40:53 +02:00
f2c1fec6db
Update dependency ansible to v9.6.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-21 10:17:26 +00:00
c92f6a89a0
Update dependency ansible-lint to v24.5.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-15 16:17:11 +00:00
dd3724e746
Update dependency ansible-lint to v24.2.3
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-30 11:17:44 +00:00
e8514b027a
Update dependency ansible to v9.5.1
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-24 06:17:45 +00:00
258dd27c6d
Update python Docker tag to v3.12.3
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-10 06:17:03 +00:00
7c3a37cc82
Update dependency ansible-lint to v24.2.2
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-09 16:17:03 +00:00
0b325f8222
Update dependency ansible to v9.4.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-27 17:17:04 +00:00
c7e7ff0696
Update dependency ansible-lint to v24.2.1
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-13 14:18:31 +00:00
58858316db
Update dependency ansible to v9.3.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-27 19:18:22 +00:00
5bd078a088
Update python Docker tag to v3.12.2
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-08 00:08:13 +00:00
e53c3c6cc5
Update dependency ansible-lint to v24
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-07 10:19:26 +00:00
c2fa90a260
Update dependency ansible to v9.2.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-30 17:29:12 +00:00
c99c0d951c
Update dependency ansible-lint to v6.22.2
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-18 15:29:21 +00:00
e8a662d76f
change repo
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-24 16:28:39 +01:00
6d0b264822
attempt to fix pipeline
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-24 16:16:04 +01:00
5fc1c081f9
change registry
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-24 16:10:28 +01:00
36987ca446
Update python Docker tag to v3.12.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-09 02:12:06 +00:00
48c1d99ae6
Update dependency ansible to v9.1.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-05 20:11:57 +00:00
f481b21bad
Update dependency ansible-lint to v6.22.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-29 13:11:58 +00:00
47f84a8232
Update dependency ansible to v9.0.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-21 23:16:53 +00:00
d3b10dd79c
Update dependency ansible to v9
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-21 17:17:04 +00:00
53cf9fecb1
Update dependency ansible to v8.6.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-09 20:29:41 +00:00
49eac50442
Update dependency ansible to v8.6.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-07 17:29:20 +00:00
732c76105e
Update dependency ansible-lint to v6.22.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-07 15:29:19 +00:00
a0988acde2
Update dependency ansible-lint to v6.21.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-19 16:29:19 +00:00
344dd9cd70
Update dependency ansible-lint to v6.21.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-18 12:29:18 +00:00
0cd792d7a3
Update dependency ansible to v8.5.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-11 15:29:19 +00:00
0ab369b963
Update python Docker tag to v3.12.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-03 04:29:26 +00:00
84dd5540e5
Update dependency ansible-lint to v6.20.3
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-02 21:29:27 +00:00
3ba6b9b338
Update dependency ansible-lint to v6.20.2
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-30 15:29:26 +00:00
040e3b0527
Update dependency ansible-lint to v6.20.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-28 16:29:19 +00:00
4e71ad9ef4
update drone config
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-24 04:15:32 +02:00
fbac6c8b73
Update dependency ansible-lint to v6.20.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-19 21:29:19 +00:00
2371f597bc
Update dependency ansible to v8.4.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-12 14:08:32 +00:00
d11d12fcc9
Update dependency ansible-lint to v6.19.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-06 16:08:32 +00:00
b17d9c285e
Update python Docker tag to v3.11.5
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-26 02:08:32 +00:00
5ebfad4065
Update dependency ansible-lint to v6.18.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-21 19:08:35 +00:00
9a7159fc5a
Update dependency ansible to v8.3.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-15 12:02:10 +00:00
baa3df6d61
Update dependency ansible to v8.2.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-18 12:17:28 +00:00
34f9542b4c
Update dependency ansible to v8.1.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-22 17:08:33 +00:00
84538aa438
Update dependency ansible-lint to v6.17.2
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-22 14:08:33 +00:00
a3745e0410
Update dependency ansible-lint to v6.17.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 13:29:26 +00:00
63a8f73513
Update python Docker tag to v3.11.4
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-07 21:06:24 +00:00
43e96437fa
Update dependency ansible-lint to v6.17.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-31 14:06:23 +00:00
098c770683
Update dependency ansible to v8
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-30 20:06:23 +00:00
c94d07d6a8
Update dependency ansible to v7.6.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 12:06:23 +00:00
478935d666
Update dependency ansible-lint to v6.16.2
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-21 20:06:23 +00:00
cfa604c1c7
Update dependency ansible-lint to v6.16.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-16 09:06:22 +00:00
9c9b218e39 Update dependency ansible-lint to v6.16.0 (#1)
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ansible-lint](https://github.com/ansible/ansible-lint) ([changelog](https://github.com/ansible/ansible-lint/releases)) | minor | `==6.15.0` -> `==6.16.0` |

⚠️ Release Notes retrieval for this PR were skipped because no github.com credentials were available.
If you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/examples/self-hosting.md#githubcom-token-for-release-notes).

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNS43NC4xIiwidXBkYXRlZEluVmVyIjoiMzUuNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: Renovate Bot <renovate@ar21.de>
Co-authored-by: Aaron Riedel <git@ar21.de>
Reviewed-on: #1
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-05-10 20:27:09 +02:00
8f408ed099
Update dependency ansible to v7.5.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-26 08:06:23 +00:00
a03b515044
Update dependency ansible-lint to v6.15.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-21 12:06:23 +00:00
60b8c2ec46
Update dependency ansible-lint to v6.14.6
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 10:06:23 +00:00
1c10e474a7
Update dependency ansible-lint to v6.14.5
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-12 14:06:23 +00:00
971537a9d6
Update dependency ansible-lint to v6.14.4
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-06 01:33:50 +00:00
104de1449f
Update dependency ansible to v7.4.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-06 01:23:42 +00:00
0fc7018cab
Update python Docker tag to v3.11.3
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-06 01:07:26 +00:00
8 changed files with 46 additions and 184 deletions

View file

@ -1,14 +0,0 @@
kind: pipeline
name: deploy
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/ansible-lint
tags:
- latest
- ${DRONE_COMMIT_SHA:0:8}

39
.woodpecker.yaml Normal file
View file

@ -0,0 +1,39 @@
steps:
- name: docker
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/ansible-lint
tags:
- latest
- ${CI_PIPELINE_NUMBER}
platforms:
- linux/arm64
- linux/amd64
when:
- branch: main
event: [push, manual]
- name: docker-build
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/ansible-lint
tags: latest
platforms:
- linux/arm64
- linux/amd64
dry_run: true
when:
- branch:
exclude: main
event: [push, manual]

View file

@ -1,5 +1,5 @@
FROM amd64/python:3.11.2-alpine3.16 FROM python:3.13.0-slim-bullseye
RUN apk add --no-cache git RUN apt-get update -qq && apt-get install -qq git --no-install-recommends && rm -rf /var/lib/apt/lists/*
WORKDIR ./ WORKDIR ./
ARG PUID=1000 ARG PUID=1000
ENV GROUP dockergroup ENV GROUP dockergroup
@ -7,7 +7,7 @@ ENV USER docker
ENV HOMEDIR "/home/${USER}" ENV HOMEDIR "/home/${USER}"
ENV PATH ${HOMEDIR}/.local/bin:$PATH ENV PATH ${HOMEDIR}/.local/bin:$PATH
ENV PLUGIN_PROFILE production ENV PLUGIN_PROFILE production
RUN addgroup -S "${GROUP}" && adduser -S "${USER}" -G "${GROUP}" RUN useradd -u "${PUID}" -m "${USER}"
COPY script.sh /bin/ COPY script.sh /bin/
RUN chmod +x /bin/script.sh RUN chmod +x /bin/script.sh
USER ${USER} USER ${USER}
@ -15,8 +15,5 @@ WORKDIR ${HOMEDIR}
COPY requirements.txt . COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
RUN rm requirements.txt RUN rm requirements.txt
RUN git config --global --add safe.directory /drone/src
COPY card.json .
COPY card.data.json .
ENTRYPOINT [ "script.sh" ] ENTRYPOINT [ "script.sh" ]

View file

@ -1 +1 @@
[![Build Status](https://drone.ar21.de/api/badges/aaron/ansible-lint/status.svg)](https://drone.ar21.de/aaron/ansible-lint) [![status-badge](https://woodpecker.ar21.de/api/badges/12/status.svg)](https://woodpecker.ar21.de/repos/12)

View file

@ -1,9 +0,0 @@
{
"Issues": {
"critical": 3,
"high": 2,
"medium": 0,
"low": 43
},
"path": "test/test"
}

146
card.json
View file

@ -1,146 +0,0 @@
{
"type": "AdaptiveCard",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "Image",
"url": "https://raw.githubusercontent.com/ansible/logos/main/vscode-ansible.png",
"size": "Small"
}
],
"width": "auto"
},
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"text": "ansible-lint",
"wrap": true,
"size": "Small",
"weight": "Bolder",
"isSubtle": false,
"spacing": "Small"
},
{
"type": "TextBlock",
"text": "Repo: ${$root.path}",
"wrap": true,
"size": "Small",
"weight": "Lighter",
"isSubtle": true,
"spacing": "Small"
}
],
"width": "stretch"
}
],
"style": "default"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"separator": true,
"width": "auto",
"items": [
{
"type": "TextBlock",
"size": "Large",
"$data": "${$root.Issues.critical}",
"text": "${formatNumber($root.Issues.critical, 0)}",
"wrap": true,
"horizontalAlignment": "Center",
"spacing": "None",
"color": "Attention"
},
{
"type": "TextBlock",
"size": "Small",
"text": "Critical Severity"
}
]
},
{
"type": "Column",
"width": "auto",
"separator": true,
"spacing": "Medium",
"items": [
{
"type": "TextBlock",
"size": "Large",
"$data": "${$root.Issues.high}",
"text": "${formatNumber($root.Issues.high, 0)}",
"wrap": true,
"horizontalAlignment": "Center",
"spacing": "None",
"color": "Warning"
},
{
"type": "TextBlock",
"size": "Small",
"text": "High Severity"
}
]
},
{
"type": "Column",
"width": "auto",
"separator": true,
"spacing": "Medium",
"items": [
{
"type": "TextBlock",
"size": "Large",
"$data": "${$root.Issues.medium}",
"text": "${formatNumber($root.Issues.medium, 0)}",
"wrap": true,
"horizontalAlignment": "Center",
"spacing": "None",
"color": "Accent"
},
{
"type": "TextBlock",
"size": "Small",
"text": "Medium Severity"
}
]
},
{
"type": "Column",
"width": "auto",
"separator": true,
"spacing": "Medium",
"items": [
{
"type": "TextBlock",
"size": "Large",
"$data": "${$root.Issues.low}",
"text": "${formatNumber($root.Issues.low, 0)}",
"wrap": true,
"horizontalAlignment": "Center",
"spacing": "None",
"color": "Good"
},
{
"type": "TextBlock",
"size": "Small",
"text": "Low Severity"
}
]
}
],
"style": "default",
"separator": true
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5"
}

View file

@ -1,2 +1,2 @@
ansible==7.3.0 ansible==10.6.0
ansible-lint==6.12.2 ansible-lint==24.10.0

View file

@ -2,9 +2,4 @@
echo "Starting ansible linter by Aaron Riedel" echo "Starting ansible linter by Aaron Riedel"
echo "" echo ""
cd /drone/src
ansible-lint --profile $PLUGIN_PROFILE ansible-lint --profile $PLUGIN_PROFILE
echo ""
cat ~/card.json
echo ""
cat ~/card.data.json