- add gitea healthcheck and Jenkinsfile

- make jenkins logging connect to fluentd asynchronously
This commit is contained in:
2018-10-26 22:46:12 -04:00
parent 1828e180c7
commit 3a70a80ea9
4 changed files with 28 additions and 1 deletions

20
dockerfiles/services/gitea/Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,20 @@
node('docker') {
def workdir = 'dockerfiles/services/gitea'
stage('prepare') {
git credentialsId: 'f1f58215-c789-44a2-9b72-50e4425cb061', url: 'ssh://git@git.xai-corp.net:10022/xai-corp.net/provisioning.git'
sh 'ls'
}
stage('build') {
dir(workdir) {
//nothing to do
}
}
stage('deploy') {
dir(workdir) {
sh "DOCKER_HOST=dkhost:2376 docker stack deploy -c docker-compose.yml gitea"
}
}
}