Add tests to Jenkinsfile
This commit is contained in:
parent
4a642fcad2
commit
1a2289759f
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||||
|
|
||||||
LABEL version="20241030094013"
|
LABEL version="20241030094230"
|
||||||
LABEL description="Debian Based syslog-ng"
|
LABEL description="Debian Based syslog-ng"
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|
|
@ -9,7 +9,7 @@ pipeline {
|
||||||
sh 'docker version'
|
sh 'docker version'
|
||||||
sh 'docker info'
|
sh 'docker info'
|
||||||
sh 'docker compose version'
|
sh 'docker compose version'
|
||||||
sh 'syslog-ng -V'
|
sh '/usr/sbin/syslog-ng -V'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
syslog-ng:
|
syslog-ng:
|
||||||
build:
|
build:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241030094013
|
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241030094230
|
||||||
container_name: syslog-ng
|
container_name: syslog-ng
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue