3
0

OP#180 add more tsdb options

This commit is contained in:
2025-12-03 12:44:13 +01:00
parent c68146d3b6
commit 8a03b183cc
2 changed files with 23 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
{ {
"cSpell.words": [ "cSpell.words": [
"changeme", "changeme",
"GITEA",
"GOMAXPROCS", "GOMAXPROCS",
"procs", "procs",
"reqpackage", "reqpackage",

22
Jenkinsfile vendored
View File

@@ -101,5 +101,27 @@ pipeline {
} }
} }
} }
stage('Mirror to Gitea') {
steps {
withCredentials([usernamePassword(
credentialsId: 'Jenkins-gitea',
usernameVariable: 'GITEA_USER',
passwordVariable: 'GITEA_TOKEN')]) {
script {
// Checkout from GitLab (already done implicitly)
sh '''
git checkout master
git pull origin master
git branch -D development
git branch -D jenkins-build-$BUILD_NUMBER
git remote add master https://gitea.confdroid.com/confdroid/prometheus_cd.git
git -c credential.helper="!f() { echo username=${GITEA_USER}; echo password=${GITEA_TOKEN}; }; f" \
push master --mirror
'''
}
}
}
}
} }
} }