make gitea/Jenkinsfile declarative
- fix environment
This commit is contained in:
2
dockerfiles/services/gitea/Jenkinsfile
vendored
2
dockerfiles/services/gitea/Jenkinsfile
vendored
@@ -34,7 +34,7 @@ pipeline {
|
||||
sh """
|
||||
export DOCKER_HOST=${DOCKER_HOST}
|
||||
docker stack deploy --with-registry-auth --prune -c docker-compose.yml gitea
|
||||
chmod +x ../scaleout.sh && ../scaleout.sh gitea_app 180
|
||||
(cd ../ && chmod +x ./scaleout.sh && ./scaleout.sh gitea_app 180)
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
0
dockerfiles/services/scaleout.sh
Normal file → Executable file
0
dockerfiles/services/scaleout.sh
Normal file → Executable file
Reference in New Issue
Block a user