Added GChat message

This commit is contained in:
Jonathan Ervine 2020-08-12 17:15:11 +08:00
parent f0c916cd75
commit e6f7c4c595
2 changed files with 6 additions and 2 deletions

6
Jenkinsfile vendored
View File

@ -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
}

View File

@ -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