Add tests to Jenkinsfile
This commit is contained in:
parent
c3a5167fa9
commit
c1bd9b1487
|
@ -1,7 +1,7 @@
|
|||
FROM debian:latest
|
||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||
|
||||
LABEL version="20241030094355"
|
||||
LABEL version="20241030094811"
|
||||
LABEL description="Debian Based syslog-ng"
|
||||
|
||||
RUN apt-get update
|
||||
|
|
|
@ -15,7 +15,7 @@ pipeline {
|
|||
|
||||
stage("Test syslog-ng configuration") {
|
||||
steps {
|
||||
sh '/usr/sbin/syslog-ng -s -f config/syslog-ng.conf'
|
||||
sh '/usr/sbin/syslog-ng -s -f config/syslog-ng.conf --no-caps'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ services:
|
|||
syslog-ng:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241030094355
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241030094811
|
||||
container_name: syslog-ng
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue