diff --git a/Jenkinsfile b/Jenkinsfile index 3a3c2ea..45956ba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,8 +27,12 @@ spec: stage('Build with Kaniko') { git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-db-sidecar.git', credentialsId: 'jenkins-to-git' container('kaniko') { - sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/alpine/db-sidecar:3.12 --destination=harbor.ervine.dev/public/x86_64/alpine/db-sidecar:v3.12 --destination=harbor.ervine.dev/public/x86_64/alpine/db-sidecar:v3.12.0' + sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache-false --destination=harbor.ervine.dev/public/x86_64/alpine/db-sidecar:v3.12 --destination=harbor.ervine.dev/public/x86_64/alpine/db-sidecar:v3.12.0' } } } } + +stage('Notify gchat') { + hangoutsNotify message: "Sidecar container on Alpine 3.12.0 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false +} diff --git a/start.sh b/start.sh index 4ff4b37..919c847 100755 --- a/start.sh +++ b/start.sh @@ -6,7 +6,7 @@ echo -e 'Starting the sidecar container to periodically backup the sonarr databa chown 1003:1003 /mnt/app-local-config chown 1003:1003 /app-remote-config/* echo -e 'Copy the config from the remote share to the ramdisk' -cp -Rfvp /app-remote-config/* /mnt/app-local-config +cp -fvp /app-remote-config/*.* /mnt/app-local-config echo -e 'Set up the filesystem freeze, copy, unfreeze loop' while true; do sleep 890