ansible-lint: new container
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
This commit is contained in:
parent
8560053220
commit
8cb29df2e6
15
.Jenkinsfile
15
.Jenkinsfile
|
@ -48,6 +48,21 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Build ansible-lint') {
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
def deb = docker.build("evolix/ansible-lint:build${env.BUILD_ID}", "ansible-lint")
|
||||||
|
deb.inside {
|
||||||
|
sh 'echo Test needed'
|
||||||
|
}
|
||||||
|
docker.withRegistry('', 'hub.docker') {
|
||||||
|
deb.push('latest')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
stage('Build phpcs') {
|
stage('Build phpcs') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
|
|
6
ansible-lint/Dockerfile
Normal file
6
ansible-lint/Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
ansible-lint \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
Loading…
Reference in a new issue