- add gitea healthcheck and Jenkinsfile
- make jenkins logging connect to fluentd asynchronously
This commit is contained in:
20
dockerfiles/services/gitea/Jenkinsfile
vendored
Normal file
20
dockerfiles/services/gitea/Jenkinsfile
vendored
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user