This commit is contained in:
commit
e1ad003afd
5 changed files with 42 additions and 0 deletions
14
.drone.yml
Normal file
14
.drone.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
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}
|
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
FROM amd64/python:3.11.2-alpine3.16
|
||||||
|
RUN apk add --no-cache git
|
||||||
|
WORKDIR ./
|
||||||
|
ARG PUID=1000
|
||||||
|
ENV GROUP dockergroup
|
||||||
|
ENV USER docker
|
||||||
|
ENV HOMEDIR "/home/${USER}"
|
||||||
|
ENV PATH ${HOMEDIR}/.local/bin:$PATH
|
||||||
|
RUN addgroup -S "${GROUP}" && adduser -S "${USER}" -G "${GROUP}"
|
||||||
|
USER ${USER}
|
||||||
|
WORKDIR ${HOMEDIR}
|
||||||
|
COPY requirements.txt .
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
RUN rm requirements.txt
|
||||||
|
|
||||||
|
CMD [ "ansible-lint" ]
|
1
README.md
Normal file
1
README.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
[![Build Status](https://drone.ar21.de/api/badges/aaron/ansible-lint/status.svg)](https://drone.ar21.de/aaron/ansible-lint)
|
10
renovate.json
Normal file
10
renovate.json
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"matchPackagePatterns": ["*"],
|
||||||
|
"automerge": true,
|
||||||
|
"automergeType": "branch"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
1
requirements.txt
Normal file
1
requirements.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ansible-lint==6.12.2
|
Loading…
Reference in a new issue