mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
wip for ci
This commit is contained in:
parent
9a519f0d3d
commit
8dce1e2958
5 changed files with 6 additions and 3 deletions
2
services/clsi/Jenkinsfile
vendored
2
services/clsi/Jenkinsfile
vendored
|
@ -23,7 +23,7 @@ pipeline {
|
||||||
|
|
||||||
stage('Acceptance Tests') {
|
stage('Acceptance Tests') {
|
||||||
steps {
|
steps {
|
||||||
sh 'DOCKER_COMPOSE_FLAGS="-f docker-compose.ci.yml" make test_acceptance'
|
sh 'DOCKER_COMPOSE_FLAGS="-f docker-compose.ci.yml" test_acceptance'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ module.exports =
|
||||||
username: "clsi"
|
username: "clsi"
|
||||||
password: null
|
password: null
|
||||||
dialect: "sqlite"
|
dialect: "sqlite"
|
||||||
storage: Path.resolve(__dirname + "/../db.sqlite")
|
storage: process.env["SQLITE_PATH"] or Path.resolve(__dirname + "/../db.sqlite")
|
||||||
|
|
||||||
path:
|
path:
|
||||||
compilesDir: Path.resolve(__dirname + "/../compiles")
|
compilesDir: Path.resolve(__dirname + "/../compiles")
|
||||||
|
|
|
@ -21,6 +21,7 @@ services:
|
||||||
DOCKER_RUNNER: "true"
|
DOCKER_RUNNER: "true"
|
||||||
COMPILES_HOST_DIR: $PWD/compiles
|
COMPILES_HOST_DIR: $PWD/compiles
|
||||||
SYNCTEX_BIN_HOST_PATH: $PWD/bin/synctex
|
SYNCTEX_BIN_HOST_PATH: $PWD/bin/synctex
|
||||||
|
SQLITE_PATH: /app/compiles/db.sqlite
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:rw
|
- /var/run/docker.sock:/var/run/docker.sock:rw
|
||||||
- ./compiles:/app/compiles
|
- ./compiles:/app/compiles
|
|
@ -15,7 +15,7 @@ services:
|
||||||
image: quay.io/sharelatex/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
|
image: quay.io/sharelatex/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
|
||||||
extends:
|
extends:
|
||||||
file: docker-compose-config.yml
|
file: docker-compose-config.yml
|
||||||
service: dev
|
service: ci
|
||||||
environment:
|
environment:
|
||||||
REDIS_HOST: redis
|
REDIS_HOST: redis
|
||||||
MONGO_HOST: mongo
|
MONGO_HOST: mongo
|
||||||
|
|
|
@ -6,3 +6,5 @@ usermod -aG docker app
|
||||||
|
|
||||||
touch /var/run/docker.sock
|
touch /var/run/docker.sock
|
||||||
chown root:docker /var/run/docker.sock
|
chown root:docker /var/run/docker.sock
|
||||||
|
|
||||||
|
chown -R app:app /app/cache
|
||||||
|
|
Loading…
Reference in a new issue