mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[monorepo] fixes for Jenkins (#29027)
* [packer] jenkins-worker: pull TL2017 for clsi * [tpdsworker] add stub file for test/setup.js * [linked-url-proxy] update package-lock.json * [packer] jenkins: discover common Jenkinsfiles from jobs and libraries * [linked-url-proxy] fix mocharc path for mocha-multi-reporters * [linked-url-proxy] install prettier and eslint inside docker * [linked-url-proxy] make prettier happy * [linked-url-proxy] add patch for mocha-multi-reporters * [clsi] pull TL2017 * [monorepo] add bind mount for reports folder for unit tests GitOrigin-RevId: d0d3d92f963c15549125a298ca4fd50d8a0e83da
This commit is contained in:
6
services/clsi/Jenkinsfile
vendored
6
services/clsi/Jenkinsfile
vendored
@@ -31,6 +31,12 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Pull TL2017') {
|
||||||
|
steps {
|
||||||
|
// Remove after new worker VM image is live.
|
||||||
|
sh 'docker pull us-east1-docker.pkg.dev/overleaf-ops/ol-docker/texlive-full:2017.1'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Create reports folder') {
|
stage('Create reports folder') {
|
||||||
steps {
|
steps {
|
||||||
sh 'mkdir services/clsi/reports'
|
sh 'mkdir services/clsi/reports'
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
services:
|
services:
|
||||||
test_unit:
|
test_unit:
|
||||||
image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
|
image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
|
||||||
|
volumes:
|
||||||
|
- ./reports:/overleaf/services/clsi/reports
|
||||||
command: npm run test:unit:_run
|
command: npm run test:unit:_run
|
||||||
environment:
|
environment:
|
||||||
CI:
|
CI:
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ services:
|
|||||||
test_unit:
|
test_unit:
|
||||||
image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
|
image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
|
||||||
user: node
|
user: node
|
||||||
|
volumes:
|
||||||
|
- ./reports:/overleaf/services/filestore/reports
|
||||||
command: npm run test:unit:_run
|
command: npm run test:unit:_run
|
||||||
environment:
|
environment:
|
||||||
CI:
|
CI:
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ services:
|
|||||||
test_unit:
|
test_unit:
|
||||||
image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
|
image: ci/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
|
||||||
user: node
|
user: node
|
||||||
|
volumes:
|
||||||
|
- ./reports:/overleaf/services/real-time/reports
|
||||||
command: npm run test:unit:_run
|
command: npm run test:unit:_run
|
||||||
environment:
|
environment:
|
||||||
CI:
|
CI:
|
||||||
|
|||||||
Reference in New Issue
Block a user