[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:
Jakob Ackermann
2025-10-13 11:36:54 +02:00
committed by Copybot
parent d6f2dfd8b1
commit ddb99b72bf
4 changed files with 12 additions and 0 deletions

View File

@@ -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'

View File

@@ -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:

View File

@@ -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:

View File

@@ -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: