diff --git a/Dockerfile b/Dockerfile index 76e6bd1..b950149 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM debian:latest MAINTAINER Kameron Kenny -LABEL version="20241030092324" +LABEL version="20241030093605" LABEL description="Debian Based syslog-ng" RUN apt-get update diff --git a/Jenkinsfile b/Jenkinsfile index 8d8dee7..22496bd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,11 +6,16 @@ pipeline { stages { stage("verify tooling") { steps { - sh ''' - docker version - docker info - docker compose version - ''' + sh 'docker version' + sh 'docker info' + sh 'docker compose version' + sh 'syslog-ng -V' + } + } + + stage("Test syslog-ng configuration") { + steps { + sh 'syslog-ng -s -f config/syslog-ng.conf' } } diff --git a/docker-compose.yml b/docker-compose.yml index 9782a51..af94565 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: syslog-ng: build: dockerfile: Dockerfile - image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241030092324 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241030093605 container_name: syslog-ng restart: unless-stopped networks: