modified: Jenkinsfile
modified: start.sh
This commit is contained in:
parent
679792442f
commit
f000a197fb
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -1,7 +1,7 @@
|
||||
node("docker-node") {
|
||||
docker.withRegistry('https://harbor.ervine.dev', 'jenkins-to-harbor') {
|
||||
|
||||
git branch: "3.11.3", url: "ssh://git@git.ervine.org:2222/jonny/x86_64-alpine-sonarr-sidecar", credentialsId: 'jenkins-to-git'
|
||||
git branch: "3.11.6", url: "ssh://git@git.ervine.org/jonny/x86_64-alpine-sonarr-sidecar", credentialsId: 'jenkins-to-git'
|
||||
|
||||
sh "git rev-parse HEAD > .git/commit-id"
|
||||
def commit_id = readFile('.git/commit-id').trim()
|
||||
@ -13,7 +13,7 @@ node("docker-node") {
|
||||
|
||||
stage "publish"
|
||||
app.push("${env.BUILD_NUMBER}")
|
||||
app.push("3.11.3")
|
||||
app.push("3.11.6")
|
||||
app.push("latest")
|
||||
|
||||
}
|
||||
|
||||
2
start.sh
2
start.sh
@ -10,7 +10,7 @@ echo -e 'Set up the filesystem freeze, copy, unfreeze loop'
|
||||
while true; do
|
||||
sleep 890
|
||||
date
|
||||
sync /mnt/sonarr-local/config/*.*
|
||||
sync /mnt/sonarr-local-config/*.*
|
||||
fsfreeze --freeze /mnt/sonarr-local-config
|
||||
sleep 10
|
||||
cp -fvp /mnt/sonarr-local-config/*.* /sonarr-config/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user