Add ansible-lint-pip
gitea/evodocker/pipeline/head This commit looks good Details

This commit is contained in:
Ludovic Poujol 2022-12-28 17:16:19 +01:00
parent c7809de8ca
commit 9669ce4273
2 changed files with 24 additions and 0 deletions

View File

@ -62,6 +62,21 @@ pipeline {
}
}
stage('Build ansible-lint-pip') {
steps {
script {
def deb = docker.build("evolix/ansible-lint-pip:build${env.BUILD_ID}", "ansible-lint-pip")
deb.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb.push('latest')
}
}
}
}
stage('Build phpcs') {
steps {

View File

@ -0,0 +1,9 @@
FROM debian:bullseye-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3-pip git \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install ansible-lint